diff --git a/docs/allclasses-frame.html b/docs/allclasses-frame.html new file mode 100644 index 0000000..1cd039e --- /dev/null +++ b/docs/allclasses-frame.html @@ -0,0 +1,53 @@ + + + +
+ + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/deprecated-list.html b/docs/deprecated-list.html new file mode 100644 index 0000000..c577d09 --- /dev/null +++ b/docs/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/help-doc.html b/docs/help-doc.html new file mode 100644 index 0000000..26d3f35 --- /dev/null +++ b/docs/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2019. All rights reserved.
+ + diff --git a/docs/index-all.html b/docs/index-all.html new file mode 100644 index 0000000..05a02ee --- /dev/null +++ b/docs/index-all.html @@ -0,0 +1,1091 @@ + + + + + + +Balance.getPurchaseAverage()
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..ec0e669 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,76 @@ + + + + + + +public class CryptoMarket
+extends org.bukkit.plugin.java.JavaPlugin
+Constructor and Description | +
---|
CryptoMarket() |
+
Modifier and Type | +Method and Description | +
---|---|
static void |
+debug(String message)
+Sends a debug message to the console if debug is enabled
+ |
+
static CryptoMarket |
+getCryptoMarket()
+Returns the instance of CryptoMarket
+ |
+
net.milkbowl.vault.economy.Economy |
+getEconomy()
+Returns Vault's Economy
+ |
+
void |
+onDisable() |
+
void |
+onEnable() |
+
static void |
+warn(String message)
+Sends an warn to the console
+ |
+
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
equals, getName, hashCode
public void onEnable()+
onEnable
in interface org.bukkit.plugin.Plugin
onEnable
in class org.bukkit.plugin.java.JavaPlugin
public void onDisable()+
onDisable
in interface org.bukkit.plugin.Plugin
onDisable
in class org.bukkit.plugin.java.JavaPlugin
public static void debug(String message)+
message
- messagepublic static void warn(String message)+
message
- messagepublic net.milkbowl.vault.economy.Economy getEconomy()+
public static CryptoMarket getCryptoMarket()+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/class-use/CryptoMarket.html b/docs/net/epconsortium/cryptomarket/class-use/CryptoMarket.html new file mode 100644 index 0000000..ba99532 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/class-use/CryptoMarket.html @@ -0,0 +1,386 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket | ++ |
net.epconsortium.cryptomarket.commands | ++ |
net.epconsortium.cryptomarket.conversation | ++ |
net.epconsortium.cryptomarket.database | ++ |
net.epconsortium.cryptomarket.database.dao | ++ |
net.epconsortium.cryptomarket.finances | ++ |
net.epconsortium.cryptomarket.task | ++ |
net.epconsortium.cryptomarket.ui | ++ |
net.epconsortium.cryptomarket.util | ++ |
Modifier and Type | +Method and Description | +
---|---|
static CryptoMarket |
+CryptoMarket.getCryptoMarket()
+Returns the instance of CryptoMarket
+ |
+
Constructor and Description | +
---|
CryptoMarketCommand(CryptoMarket plugin) |
+
Constructor and Description | +
---|
NegotiationConversation(CryptoMarket plugin,
+ Negotiation negotiation,
+ org.bukkit.entity.Player player) |
+
Constructor and Description | +
---|
ConnectionFactory(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
static void |
+InvestorDao.configureDatabase(CryptoMarket plugin,
+ InvestorDao.DatabaseConfigurationCallback callback)
+Creates the table if it does not exist
+ |
+
Constructor and Description | +
---|
InvestorDao(CryptoMarket plugin) |
+
Constructor and Description | +
---|
Economy(CryptoMarket plugin,
+ String coin) |
+
ExchangeRates(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+UpdateExchangeRatesTask.start(CryptoMarket plugin)
+Starts the repetitive task
+ |
+
Constructor and Description | +
---|
SaveInvestorsTask(CryptoMarket plugin) |
+
Constructor and Description | +
---|
Calendar(CryptoMarket plugin,
+ org.bukkit.entity.Player player) |
+
CalendarListener(CryptoMarket plugin) |
+
Menu(CryptoMarket plugin,
+ org.bukkit.entity.Player player) |
+
MenuListener(CryptoMarket plugin) |
+
Ranking(CryptoMarket plugin,
+ org.bukkit.entity.Player player) |
+
RankingListener(CryptoMarket plugin) |
+
Constructor and Description | +
---|
Configuration(CryptoMarket plugin) |
+
Logger(CryptoMarket plugin) |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/commands/CryptoMarketCommand.html b/docs/net/epconsortium/cryptomarket/commands/CryptoMarketCommand.html new file mode 100644 index 0000000..3c086ae --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/commands/CryptoMarketCommand.html @@ -0,0 +1,316 @@ + + + + + + +public class CryptoMarketCommand +extends Object +implements org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter+
Constructor and Description | +
---|
CryptoMarketCommand(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+onCommand(org.bukkit.command.CommandSender commandSender,
+ org.bukkit.command.Command command,
+ String label,
+ String[] args) |
+
List<String> |
+onTabComplete(org.bukkit.command.CommandSender commandSender,
+ org.bukkit.command.Command command,
+ String label,
+ String[] args) |
+
public CryptoMarketCommand(CryptoMarket plugin)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/commands/class-use/CryptoMarketCommand.html b/docs/net/epconsortium/cryptomarket/commands/class-use/CryptoMarketCommand.html new file mode 100644 index 0000000..96f3512 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/commands/class-use/CryptoMarketCommand.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/commands/package-frame.html b/docs/net/epconsortium/cryptomarket/commands/package-frame.html new file mode 100644 index 0000000..4c6a645 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/commands/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +Class | +Description | +
---|---|
CryptoMarketCommand | +
+ Class used to process the commands of the plugin
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/commands/package-tree.html b/docs/net/epconsortium/cryptomarket/commands/package-tree.html new file mode 100644 index 0000000..0c0feae --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/commands/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/commands/package-use.html b/docs/net/epconsortium/cryptomarket/commands/package-use.html new file mode 100644 index 0000000..0dfa7ce --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/commands/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/NegotiationConversation.html b/docs/net/epconsortium/cryptomarket/conversation/NegotiationConversation.html new file mode 100644 index 0000000..bab1f06 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/NegotiationConversation.html @@ -0,0 +1,307 @@ + + + + + + +public class NegotiationConversation +extends Object +implements org.bukkit.conversations.ConversationPrefix+
Constructor and Description | +
---|
NegotiationConversation(CryptoMarket plugin,
+ Negotiation negotiation,
+ org.bukkit.entity.Player player) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getPrefix(org.bukkit.conversations.ConversationContext conversationContext) |
+
void |
+start()
+Starts the Negotiation Conversation with the Player
+ |
+
public NegotiationConversation(CryptoMarket plugin, + Negotiation negotiation, + org.bukkit.entity.Player player)+
public void start()+
public String getPrefix(org.bukkit.conversations.ConversationContext conversationContext)+
getPrefix
in interface org.bukkit.conversations.ConversationPrefix
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/class-use/NegotiationConversation.html b/docs/net/epconsortium/cryptomarket/conversation/class-use/NegotiationConversation.html new file mode 100644 index 0000000..56a52e6 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/class-use/NegotiationConversation.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/package-frame.html b/docs/net/epconsortium/cryptomarket/conversation/package-frame.html new file mode 100644 index 0000000..7c8415c --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +Class | +Description | +
---|---|
NegotiationConversation | +
+ Class used to have a conversation with the player
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/package-tree.html b/docs/net/epconsortium/cryptomarket/conversation/package-tree.html new file mode 100644 index 0000000..bd7ae24 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/package-use.html b/docs/net/epconsortium/cryptomarket/conversation/package-use.html new file mode 100644 index 0000000..368a8c5 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/AmountPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/AmountPrompt.html new file mode 100644 index 0000000..82dfb7e --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/AmountPrompt.html @@ -0,0 +1,378 @@ + + + + + + +public class AmountPrompt
+extends org.bukkit.conversations.NumericPrompt
+END_OF_CONVERSATION
Constructor and Description | +
---|
AmountPrompt() |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.bukkit.conversations.Prompt |
+acceptValidatedInput(org.bukkit.conversations.ConversationContext context,
+ Number number) |
+
protected String |
+getFailedValidationText(org.bukkit.conversations.ConversationContext context,
+ Number number) |
+
String |
+getPromptText(org.bukkit.conversations.ConversationContext context) |
+
protected boolean |
+isNumberValid(org.bukkit.conversations.ConversationContext context,
+ Number input) |
+
acceptValidatedInput, getFailedValidationText, getInputNotNumericText, isInputValid
acceptInput, blocksForInput
protected org.bukkit.conversations.Prompt acceptValidatedInput(org.bukkit.conversations.ConversationContext context, + Number number)+
acceptValidatedInput
in class org.bukkit.conversations.NumericPrompt
protected boolean isNumberValid(org.bukkit.conversations.ConversationContext context, + Number input)+
isNumberValid
in class org.bukkit.conversations.NumericPrompt
protected String getFailedValidationText(org.bukkit.conversations.ConversationContext context, + Number number)+
getFailedValidationText
in class org.bukkit.conversations.NumericPrompt
public String getPromptText(org.bukkit.conversations.ConversationContext context)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/CoinPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/CoinPrompt.html new file mode 100644 index 0000000..c74d3a8 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/CoinPrompt.html @@ -0,0 +1,386 @@ + + + + + + +public class CoinPrompt
+extends org.bukkit.conversations.FixedSetPrompt
+fixedSet
END_OF_CONVERSATION
Constructor and Description | +
---|
CoinPrompt(String... fixedSet) |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.bukkit.conversations.Prompt |
+acceptValidatedInput(org.bukkit.conversations.ConversationContext context,
+ String input) |
+
protected String |
+getFailedValidationText(org.bukkit.conversations.ConversationContext context,
+ String invalidInput) |
+
String |
+getPromptText(org.bukkit.conversations.ConversationContext context) |
+
protected boolean |
+isInputValid(org.bukkit.conversations.ConversationContext context,
+ String input) |
+
formatFixedSet
acceptInput, blocksForInput
protected org.bukkit.conversations.Prompt acceptValidatedInput(org.bukkit.conversations.ConversationContext context, + String input)+
acceptValidatedInput
in class org.bukkit.conversations.ValidatingPrompt
public String getPromptText(org.bukkit.conversations.ConversationContext context)+
protected String getFailedValidationText(org.bukkit.conversations.ConversationContext context, + String invalidInput)+
getFailedValidationText
in class org.bukkit.conversations.ValidatingPrompt
protected boolean isInputValid(org.bukkit.conversations.ConversationContext context, + String input)+
isInputValid
in class org.bukkit.conversations.FixedSetPrompt
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/ConfirmationPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/ConfirmationPrompt.html new file mode 100644 index 0000000..fa2a97a --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/ConfirmationPrompt.html @@ -0,0 +1,349 @@ + + + + + + +public class ConfirmationPrompt
+extends org.bukkit.conversations.FixedSetPrompt
+fixedSet
END_OF_CONVERSATION
Constructor and Description | +
---|
ConfirmationPrompt(String yes,
+ String cancel) |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.bukkit.conversations.Prompt |
+acceptValidatedInput(org.bukkit.conversations.ConversationContext context,
+ String s) |
+
String |
+getPromptText(org.bukkit.conversations.ConversationContext context) |
+
formatFixedSet, isInputValid
acceptInput, blocksForInput, getFailedValidationText
protected org.bukkit.conversations.Prompt acceptValidatedInput(org.bukkit.conversations.ConversationContext context, + String s)+
acceptValidatedInput
in class org.bukkit.conversations.ValidatingPrompt
public String getPromptText(org.bukkit.conversations.ConversationContext context)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/ErrorPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/ErrorPrompt.html new file mode 100644 index 0000000..3dad26b --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/ErrorPrompt.html @@ -0,0 +1,326 @@ + + + + + + +public class ErrorPrompt
+extends org.bukkit.conversations.MessagePrompt
+END_OF_CONVERSATION
Constructor and Description | +
---|
ErrorPrompt() |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.bukkit.conversations.Prompt |
+getNextPrompt(org.bukkit.conversations.ConversationContext context) |
+
String |
+getPromptText(org.bukkit.conversations.ConversationContext context) |
+
acceptInput, blocksForInput
protected org.bukkit.conversations.Prompt getNextPrompt(org.bukkit.conversations.ConversationContext context)+
getNextPrompt
in class org.bukkit.conversations.MessagePrompt
public String getPromptText(org.bukkit.conversations.ConversationContext context)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/ExitWarningPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/ExitWarningPrompt.html new file mode 100644 index 0000000..052d18e --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/ExitWarningPrompt.html @@ -0,0 +1,326 @@ + + + + + + +public class ExitWarningPrompt
+extends org.bukkit.conversations.MessagePrompt
+END_OF_CONVERSATION
Constructor and Description | +
---|
ExitWarningPrompt() |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.bukkit.conversations.Prompt |
+getNextPrompt(org.bukkit.conversations.ConversationContext context) |
+
String |
+getPromptText(org.bukkit.conversations.ConversationContext context) |
+
acceptInput, blocksForInput
protected org.bukkit.conversations.Prompt getNextPrompt(org.bukkit.conversations.ConversationContext context)+
getNextPrompt
in class org.bukkit.conversations.MessagePrompt
public String getPromptText(org.bukkit.conversations.ConversationContext context)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/OutdatedDataPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/OutdatedDataPrompt.html new file mode 100644 index 0000000..74b6a3b --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/OutdatedDataPrompt.html @@ -0,0 +1,326 @@ + + + + + + +public class OutdatedDataPrompt
+extends org.bukkit.conversations.MessagePrompt
+END_OF_CONVERSATION
Constructor and Description | +
---|
OutdatedDataPrompt() |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.bukkit.conversations.Prompt |
+getNextPrompt(org.bukkit.conversations.ConversationContext conversationContext) |
+
String |
+getPromptText(org.bukkit.conversations.ConversationContext context) |
+
acceptInput, blocksForInput
protected org.bukkit.conversations.Prompt getNextPrompt(org.bukkit.conversations.ConversationContext conversationContext)+
getNextPrompt
in class org.bukkit.conversations.MessagePrompt
public String getPromptText(org.bukkit.conversations.ConversationContext context)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/SuccessPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/SuccessPrompt.html new file mode 100644 index 0000000..c585a59 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/SuccessPrompt.html @@ -0,0 +1,326 @@ + + + + + + +public class SuccessPrompt
+extends org.bukkit.conversations.MessagePrompt
+END_OF_CONVERSATION
Constructor and Description | +
---|
SuccessPrompt() |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.bukkit.conversations.Prompt |
+getNextPrompt(org.bukkit.conversations.ConversationContext conversationContext) |
+
String |
+getPromptText(org.bukkit.conversations.ConversationContext context) |
+
acceptInput, blocksForInput
protected org.bukkit.conversations.Prompt getNextPrompt(org.bukkit.conversations.ConversationContext conversationContext)+
getNextPrompt
in class org.bukkit.conversations.MessagePrompt
public String getPromptText(org.bukkit.conversations.ConversationContext context)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/AmountPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/AmountPrompt.html new file mode 100644 index 0000000..745fea8 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/AmountPrompt.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/CoinPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/CoinPrompt.html new file mode 100644 index 0000000..dd0a036 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/CoinPrompt.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/ConfirmationPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/ConfirmationPrompt.html new file mode 100644 index 0000000..d7a0515 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/ConfirmationPrompt.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/ErrorPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/ErrorPrompt.html new file mode 100644 index 0000000..28d11a9 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/ErrorPrompt.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/ExitWarningPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/ExitWarningPrompt.html new file mode 100644 index 0000000..449c5d3 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/ExitWarningPrompt.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/OutdatedDataPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/OutdatedDataPrompt.html new file mode 100644 index 0000000..7bf8462 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/OutdatedDataPrompt.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/SuccessPrompt.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/SuccessPrompt.html new file mode 100644 index 0000000..e3d22b1 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/class-use/SuccessPrompt.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/package-frame.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/package-frame.html new file mode 100644 index 0000000..01a026d --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/package-frame.html @@ -0,0 +1,27 @@ + + + + + + +Class | +Description | +
---|---|
AmountPrompt | +
+ Prompt that asks the amount to be negotiated
+ |
+
CoinPrompt | +
+ Prompt that asks the user to choose the coin used in the negotiation
+ If only one coin is configured, this prompt will not be called
+ |
+
ConfirmationPrompt | +
+ Prompt that asks the player to confirm the negotiation
+ |
+
ErrorPrompt | +
+ Prompt used when the player has not egough balance
+ |
+
ExitWarningPrompt | +
+ Prompt that reminds the player of how to exit the negotiation
+ |
+
OutdatedDataPrompt | +
+ Prompt used when the data is not up-to-date and the negotiation cannot proceed
+ |
+
SuccessPrompt | +
+ Prompt used when the negotiation is over and well succeeded
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/package-tree.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/package-tree.html new file mode 100644 index 0000000..c7e627d --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/package-tree.html @@ -0,0 +1,161 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/conversation/prompt/package-use.html b/docs/net/epconsortium/cryptomarket/conversation/prompt/package-use.html new file mode 100644 index 0000000..794ee5d --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/conversation/prompt/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/ConnectionFactory.html b/docs/net/epconsortium/cryptomarket/database/ConnectionFactory.html new file mode 100644 index 0000000..710d887 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/ConnectionFactory.html @@ -0,0 +1,288 @@ + + + + + + +public class ConnectionFactory +extends Object+
Constructor and Description | +
---|
ConnectionFactory(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
Connection |
+getConnection()
+Connects to the database and returns a connection
+ |
+
public ConnectionFactory(CryptoMarket plugin)+
public Connection getConnection() + throws SQLException+
SQLException
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/class-use/ConnectionFactory.html b/docs/net/epconsortium/cryptomarket/database/class-use/ConnectionFactory.html new file mode 100644 index 0000000..7af3018 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/class-use/ConnectionFactory.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/Balance.html b/docs/net/epconsortium/cryptomarket/database/dao/Balance.html new file mode 100644 index 0000000..08083ca --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/Balance.html @@ -0,0 +1,374 @@ + + + + + + +public class Balance +extends Object+
Modifier and Type | +Method and Description | +
---|---|
void |
+decrease(BigDecimal sold,
+ BigDecimal received)
+Decreases the balance value
+ |
+
BigDecimal |
+getProfitPercentage(BigDecimal exchangeRate)
+Returns the profit percentage if the investor sells his balance at this
+ exchange rate.
+ |
+
BigDecimal |
+getPurchaseAverage()
+Returns the purchase average
+ |
+
BigDecimal |
+getValue()
+Returns the balance value
+ |
+
void |
+increase(BigDecimal purchased,
+ BigDecimal paid)
+Increases the balance value
+ |
+
void |
+setValue(BigDecimal value)
+Sets the value of the balance and maintains the average purchase returned
+ by
+getPurchaseAverage() |
+
public BigDecimal getValue()+
public BigDecimal getPurchaseAverage()+
public void setValue(BigDecimal value) + throws IllegalArgumentException+
getPurchaseAverage()
value
- the new valueIllegalArgumentException
- if value is less than 0NullPointerException
- if value is nullpublic void decrease(BigDecimal sold, + BigDecimal received) + throws IllegalArgumentException+
sold
- cryptocoin sold amountreceived
- amount received in server coinIllegalArgumentException
- if sold is bigger than
+ getValue()
; if sold or received are less or equal to 0public void increase(BigDecimal purchased, + BigDecimal paid) + throws IllegalArgumentException+
purchased
- cryptocoin purchased amountpaid
- amount paid in server coinIllegalArgumentException
- if purchased or paid are not positivepublic BigDecimal getProfitPercentage(BigDecimal exchangeRate)+
exchangeRate
- the exchange rateCopyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/Investor.html b/docs/net/epconsortium/cryptomarket/database/dao/Investor.html new file mode 100644 index 0000000..edc0e53 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/Investor.html @@ -0,0 +1,365 @@ + + + + + + +public class Investor +extends Object+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object o) |
+
Balance |
+getBalance(String coin)
+Returns the balance of the Investor in this coin
+ |
+
Map<String,Balance> |
+getBalances()
+Returns an unmodifiable Map of the Investor's balances
+ |
+
org.bukkit.OfflinePlayer |
+getPlayer()
+Returns the OfflinePlayer linked to the Investor
+ |
+
UUID |
+getUniqueId()
+Returns the UUID of the Investor
+ |
+
int |
+hashCode() |
+
String |
+toString() |
+
public org.bukkit.OfflinePlayer getPlayer()+
public Balance getBalance(String coin)+
coin
- coinpublic Map<String,Balance> getBalances()+
public UUID getUniqueId()+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.DatabaseConfigurationCallback.html b/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.DatabaseConfigurationCallback.html new file mode 100644 index 0000000..72659f7 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.DatabaseConfigurationCallback.html @@ -0,0 +1,234 @@ + + + + + + +public static interface InvestorDao.DatabaseConfigurationCallback
+Modifier and Type | +Method and Description | +
---|---|
void |
+onDatabaseConfigured(boolean success)
+Called when the database configuration is finished
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.InvestorDataCallback.html b/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.InvestorDataCallback.html new file mode 100644 index 0000000..8b9d1b8 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.InvestorDataCallback.html @@ -0,0 +1,234 @@ + + + + + + +public static interface InvestorDao.InvestorDataCallback
+Modifier and Type | +Method and Description | +
---|---|
void |
+onInvestorDataReady(Investor investor)
+Notifies when the Investor object is ready
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.InvestorsDataCallback.html b/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.InvestorsDataCallback.html new file mode 100644 index 0000000..d26fd02 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.InvestorsDataCallback.html @@ -0,0 +1,234 @@ + + + + + + +public static interface InvestorDao.InvestorsDataCallback
+Modifier and Type | +Method and Description | +
---|---|
void |
+onInvestorsDataReady(Set<Investor> investors)
+Notifies when the Investors set is ready
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.html b/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.html new file mode 100644 index 0000000..69adccd --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/InvestorDao.html @@ -0,0 +1,374 @@ + + + + + + +public class InvestorDao +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+InvestorDao.DatabaseConfigurationCallback |
+
static interface |
+InvestorDao.InvestorDataCallback |
+
static interface |
+InvestorDao.InvestorsDataCallback |
+
Constructor and Description | +
---|
InvestorDao(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
static void |
+configureDatabase(CryptoMarket plugin,
+ InvestorDao.DatabaseConfigurationCallback callback)
+Creates the table if it does not exist
+ |
+
void |
+getInvestor(org.bukkit.entity.Player player,
+ InvestorDao.InvestorDataCallback callback)
+Retrieves an Investor from a Player
+ |
+
void |
+getInvestors(InvestorDao.InvestorsDataCallback callback)
+Returns all Investors saved in the database
+ |
+
void |
+saveAll()
+Saves the last modifications to the database
+ |
+
public InvestorDao(CryptoMarket plugin)+
public static void configureDatabase(CryptoMarket plugin, + InvestorDao.DatabaseConfigurationCallback callback)+
plugin
- callback
- public void getInvestor(org.bukkit.entity.Player player, + InvestorDao.InvestorDataCallback callback)+
player
- playercallback
- callbackpublic void getInvestors(InvestorDao.InvestorsDataCallback callback)+
callback
- callbackpublic void saveAll()+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/class-use/Balance.html b/docs/net/epconsortium/cryptomarket/database/dao/class-use/Balance.html new file mode 100644 index 0000000..cfebe41 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/class-use/Balance.html @@ -0,0 +1,183 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.database.dao | ++ |
Modifier and Type | +Method and Description | +
---|---|
Balance |
+Investor.getBalance(String coin)
+Returns the balance of the Investor in this coin
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Map<String,Balance> |
+Investor.getBalances()
+Returns an unmodifiable Map of the Investor's balances
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/class-use/Investor.html b/docs/net/epconsortium/cryptomarket/database/dao/class-use/Investor.html new file mode 100644 index 0000000..ec67200 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/class-use/Investor.html @@ -0,0 +1,306 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.database.dao | ++ |
net.epconsortium.cryptomarket.finances | ++ |
net.epconsortium.cryptomarket.util | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+InvestorDao.InvestorDataCallback.onInvestorDataReady(Investor investor)
+Notifies when the Investor object is ready
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+InvestorDao.InvestorsDataCallback.onInvestorsDataReady(Set<Investor> investors)
+Notifies when the Investors set is ready
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+Economy.buy(Investor investor,
+ BigDecimal amount)
+Processes the purchase of cryptocoins and returns a boolean representing
+ the success of the operation
+ |
+
void |
+Economy.deposit(Investor investor,
+ BigDecimal amount)
+Deposits the specified amount of the chosen cryptocoin in the investor's
+ account
+ |
+
BigDecimal |
+Economy.getConvertedPatrimony(Investor investor)
+Returns the total investments of the Investor converted to the server
+ currency
+ |
+
boolean |
+Economy.has(Investor investor,
+ BigDecimal amount)
+Checks if the investor has the amount passed in the parameter
+ |
+
boolean |
+Economy.sell(Investor investor,
+ BigDecimal amount)
+Processes the sell of cryptocoins and returns a boolean representing the
+ success of the operation
+ |
+
void |
+Economy.set(Investor investor,
+ BigDecimal amount)
+Sets the specified amount as the investor's balance of the chosen
+ cryptocoin
+ |
+
boolean |
+Economy.transfer(Investor debited,
+ Investor favored,
+ BigDecimal amount)
+Transfers the specified amount from the debited to the favored
+ |
+
void |
+Economy.withdraw(Investor investor,
+ BigDecimal amount)
+Withdraws the specified amount of the chosen cryptocoin from the
+ investor's account
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Economy.RichestInvestorsCallback.onRichestInvestorsDataReady(List<Investor> investors)
+Notifies when the ordered list of richest investors is ready
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Logger.log(Investor investor,
+ Negotiation negotiation,
+ BigDecimal cryptoValue,
+ String coin,
+ double vaultValue)
+Logs this data to the log file
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.DatabaseConfigurationCallback.html b/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.DatabaseConfigurationCallback.html new file mode 100644 index 0000000..4b5b4e9 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.DatabaseConfigurationCallback.html @@ -0,0 +1,169 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.database.dao | ++ |
Modifier and Type | +Method and Description | +
---|---|
static void |
+InvestorDao.configureDatabase(CryptoMarket plugin,
+ InvestorDao.DatabaseConfigurationCallback callback)
+Creates the table if it does not exist
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.InvestorDataCallback.html b/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.InvestorDataCallback.html new file mode 100644 index 0000000..8a05111 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.InvestorDataCallback.html @@ -0,0 +1,169 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.database.dao | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+InvestorDao.getInvestor(org.bukkit.entity.Player player,
+ InvestorDao.InvestorDataCallback callback)
+Retrieves an Investor from a Player
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.InvestorsDataCallback.html b/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.InvestorsDataCallback.html new file mode 100644 index 0000000..962cbe5 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.InvestorsDataCallback.html @@ -0,0 +1,168 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.database.dao | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+InvestorDao.getInvestors(InvestorDao.InvestorsDataCallback callback)
+Returns all Investors saved in the database
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.html b/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.html new file mode 100644 index 0000000..ac7db00 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/class-use/InvestorDao.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/package-frame.html b/docs/net/epconsortium/cryptomarket/database/dao/package-frame.html new file mode 100644 index 0000000..834610a --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +Interface | +Description | +
---|---|
InvestorDao.DatabaseConfigurationCallback | ++ |
InvestorDao.InvestorDataCallback | ++ |
InvestorDao.InvestorsDataCallback | ++ |
Class | +Description | +
---|---|
Balance | +
+ Class used to represent the Balance of one coin
+ |
+
Investor | +
+ Class representing an Investor
+ It contains a reference to the OfflinePlayer and to the Balance objects
+ |
+
InvestorDao | +
+ Class used to manage the Investors
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/package-tree.html b/docs/net/epconsortium/cryptomarket/database/dao/package-tree.html new file mode 100644 index 0000000..a0939f0 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/package-tree.html @@ -0,0 +1,147 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/dao/package-use.html b/docs/net/epconsortium/cryptomarket/database/dao/package-use.html new file mode 100644 index 0000000..79204ea --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/dao/package-use.html @@ -0,0 +1,220 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.database.dao | ++ |
net.epconsortium.cryptomarket.finances | ++ |
net.epconsortium.cryptomarket.util | ++ |
Class and Description | +
---|
Balance
+ Class used to represent the Balance of one coin
+ |
+
Investor
+ Class representing an Investor
+ It contains a reference to the OfflinePlayer and to the Balance objects
+ |
+
InvestorDao.DatabaseConfigurationCallback | +
InvestorDao.InvestorDataCallback | +
InvestorDao.InvestorsDataCallback | +
Class and Description | +
---|
Investor
+ Class representing an Investor
+ It contains a reference to the OfflinePlayer and to the Balance objects
+ |
+
Class and Description | +
---|
Investor
+ Class representing an Investor
+ It contains a reference to the OfflinePlayer and to the Balance objects
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/package-frame.html b/docs/net/epconsortium/cryptomarket/database/package-frame.html new file mode 100644 index 0000000..d590d3c --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +Class | +Description | +
---|---|
ConnectionFactory | +
+ Class used to create a Connection object
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/package-tree.html b/docs/net/epconsortium/cryptomarket/database/package-tree.html new file mode 100644 index 0000000..03b5b96 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/database/package-use.html b/docs/net/epconsortium/cryptomarket/database/package-use.html new file mode 100644 index 0000000..9b47c35 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/database/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/Economy.InvestmentsCallback.html b/docs/net/epconsortium/cryptomarket/finances/Economy.InvestmentsCallback.html new file mode 100644 index 0000000..65e1225 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/Economy.InvestmentsCallback.html @@ -0,0 +1,234 @@ + + + + + + +public static interface Economy.InvestmentsCallback
+Modifier and Type | +Method and Description | +
---|---|
void |
+onTotalInvestmentsReady(double total)
+Notifies when the total investments is ready
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/Economy.RicherInvestorsCallback.html b/docs/net/epconsortium/cryptomarket/finances/Economy.RicherInvestorsCallback.html new file mode 100644 index 0000000..9fde2c7 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/Economy.RicherInvestorsCallback.html @@ -0,0 +1,234 @@ + + + + + + +public static interface Economy.RicherInvestorsCallback
+Modifier and Type | +Method and Description | +
---|---|
void |
+onRicherInvestorsDataReady(java.util.List<Investor> investors)
+Notifies when the ordered list of richer investors is ready
+ |
+
Copyright © 2018. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/Economy.RichestInvestorsCallback.html b/docs/net/epconsortium/cryptomarket/finances/Economy.RichestInvestorsCallback.html new file mode 100644 index 0000000..87353b0 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/Economy.RichestInvestorsCallback.html @@ -0,0 +1,234 @@ + + + + + + +public static interface Economy.RichestInvestorsCallback
+Modifier and Type | +Method and Description | +
---|---|
void |
+onRichestInvestorsDataReady(List<Investor> investors)
+Notifies when the ordered list of richest investors is ready
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/Economy.html b/docs/net/epconsortium/cryptomarket/finances/Economy.html new file mode 100644 index 0000000..1356aed --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/Economy.html @@ -0,0 +1,600 @@ + + + + + + +public class Economy +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+Economy.InvestmentsCallback |
+
static interface |
+Economy.RichestInvestorsCallback |
+
Constructor and Description | +
---|
Economy(CryptoMarket plugin,
+ String coin) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+buy(Investor investor,
+ BigDecimal amount)
+Processes the purchase of cryptocoins and returns a boolean representing
+ the success of the operation
+ |
+
BigDecimal |
+convert(BigDecimal amount)
+Converts the amount of the crypto currency to the currency used on the
+ server
+ |
+
void |
+deposit(Investor investor,
+ BigDecimal amount)
+Deposits the specified amount of the chosen cryptocoin in the investor's
+ account
+ |
+
BigDecimal |
+getConvertedPatrimony(Investor investor)
+Returns the total investments of the Investor converted to the server
+ currency
+ |
+
static LocalDateTime |
+getRichersLastUpdate()
+Returns the time of the last update of the Richers list
+ |
+
void |
+getRichestInvestors(int max,
+ Economy.RichestInvestorsCallback callback)
+Returns an ordered list of the richest investors.
+ |
+
void |
+getTotalInvestments(Economy.InvestmentsCallback callback)
+Returns the total balance of cryptocoins on the server converted to the
+ server coin
+ |
+
boolean |
+has(Investor investor,
+ BigDecimal amount)
+Checks if the investor has the amount passed in the parameter
+ |
+
boolean |
+sell(Investor investor,
+ BigDecimal amount)
+Processes the sell of cryptocoins and returns a boolean representing the
+ success of the operation
+ |
+
void |
+set(Investor investor,
+ BigDecimal amount)
+Sets the specified amount as the investor's balance of the chosen
+ cryptocoin
+ |
+
boolean |
+transfer(Investor debited,
+ Investor favored,
+ BigDecimal amount)
+Transfers the specified amount from the debited to the favored
+ |
+
void |
+withdraw(Investor investor,
+ BigDecimal amount)
+Withdraws the specified amount of the chosen cryptocoin from the
+ investor's account
+ |
+
public Economy(CryptoMarket plugin, + String coin)+
public void withdraw(Investor investor, + BigDecimal amount) + throws IllegalArgumentException+
investor
- investoramount
- amount to withdrawIllegalArgumentException
- if amount is equal or less than 0 or
+ investor does not have the amountpublic void set(Investor investor, + BigDecimal amount)+
investor
- investoramount
- new balanceIllegalArgumentException
- if amount is negative or equal to 0public void deposit(Investor investor, + BigDecimal amount) + throws IllegalArgumentException+
investor
- investoramount
- amount to depositIllegalArgumentException
- if amount is negative or equal to 0public boolean buy(Investor investor, + BigDecimal amount)+
investor
- investoramount
- amount to buypublic boolean sell(Investor investor, + BigDecimal amount)+
investor
- investoramount
- amount to sellpublic BigDecimal convert(BigDecimal amount)+
amount
- amount to convertpublic boolean transfer(Investor debited, + Investor favored, + BigDecimal amount)+
debited
- who will payfavored
- who will receiveamount
- amountpublic boolean has(Investor investor, + BigDecimal amount)+
investor
- investoramount
- amountpublic BigDecimal getConvertedPatrimony(Investor investor)+
investor
- investorpublic void getTotalInvestments(Economy.InvestmentsCallback callback)+
callback
- callbackpublic void getRichestInvestors(int max, + Economy.RichestInvestorsCallback callback) + throws IllegalArgumentException+
max
- max number of investorscallback
- callbackIllegalArgumentException
- if max is equal or less than 0public static LocalDateTime getRichersLastUpdate()+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/ExchangeRate.html b/docs/net/epconsortium/cryptomarket/finances/ExchangeRate.html new file mode 100644 index 0000000..f15fd9b --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/ExchangeRate.html @@ -0,0 +1,310 @@ + + + + + + +public class ExchangeRate +extends Object+
Constructor and Description | +
---|
ExchangeRate() |
+
Modifier and Type | +Method and Description | +
---|---|
BigDecimal |
+getCoinValue(String coin)
+Returns the coin value
+ |
+
void |
+update(String coin,
+ BigDecimal value)
+Updates the coin value
+ |
+
public BigDecimal getCoinValue(String coin)+
coin
- coin symbolpublic void update(String coin, + BigDecimal value)+
coin
- coinvalue
- new valueCopyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/ExchangeRates.html b/docs/net/epconsortium/cryptomarket/finances/ExchangeRates.html new file mode 100644 index 0000000..67c8a4b --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/ExchangeRates.html @@ -0,0 +1,380 @@ + + + + + + +public class ExchangeRates +extends Object+
Constructor and Description | +
---|
ExchangeRates(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
static boolean |
+errorOcurred()
+Verifies if an error happened during an update
+ |
+
ExchangeRate |
+getExchangeRate(LocalDate date)
+Returns the Exchange Rate from the date
+ |
+
static Map<LocalDate,ExchangeRate> |
+getExchangeRates()
+Returns an unmodifiable map of the Exchange Rates
+ |
+
int |
+getMinutesToUpdate()
+Returns the amount of minutes the plugin takes to update the Exchange
+ Rates
+ |
+
void |
+updateAll()
+Updates all exchange rates and allocates them on memory
+ |
+
void |
+updateCurrentExchangeRate()
+Updates today's rate
+ |
+
public ExchangeRates(CryptoMarket plugin)+
public void updateAll()+
public void updateCurrentExchangeRate()+
public ExchangeRate getExchangeRate(LocalDate date) + throws IllegalArgumentException+
date
- dateIllegalArgumentException
- if date is after todaypublic static Map<LocalDate,ExchangeRate> getExchangeRates()+
public int getMinutesToUpdate()+
public static boolean errorOcurred()+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/Negotiation.html b/docs/net/epconsortium/cryptomarket/finances/Negotiation.html new file mode 100644 index 0000000..503c821 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/Negotiation.html @@ -0,0 +1,343 @@ + + + + + + +public enum Negotiation +extends Enum<Negotiation>+
Enum Constant and Description | +
---|
PURCHASE |
+
SELL |
+
Modifier and Type | +Method and Description | +
---|---|
static Negotiation |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Negotiation[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final Negotiation PURCHASE+
public static final Negotiation SELL+
public static Negotiation[] values()+
+for (Negotiation c : Negotiation.values()) + System.out.println(c); +
public static Negotiation valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.InvestmentsCallback.html b/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.InvestmentsCallback.html new file mode 100644 index 0000000..a055fb9 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.InvestmentsCallback.html @@ -0,0 +1,169 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.finances | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+Economy.getTotalInvestments(Economy.InvestmentsCallback callback)
+Returns the total balance of cryptocoins on the server converted to the
+ server coin
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.RicherInvestorsCallback.html b/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.RicherInvestorsCallback.html new file mode 100644 index 0000000..e8117f5 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.RicherInvestorsCallback.html @@ -0,0 +1,169 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.finances | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+Economy.getRicherInvestors(int max,
+ Economy.RicherInvestorsCallback callback)
+Returns an ordered list of the richer investors.
+ |
+
Copyright © 2018. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.RichestInvestorsCallback.html b/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.RichestInvestorsCallback.html new file mode 100644 index 0000000..a4790c9 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.RichestInvestorsCallback.html @@ -0,0 +1,169 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.finances | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+Economy.getRichestInvestors(int max,
+ Economy.RichestInvestorsCallback callback)
+Returns an ordered list of the richest investors.
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.html b/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.html new file mode 100644 index 0000000..bc2af67 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/class-use/Economy.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/class-use/ExchangeRate.html b/docs/net/epconsortium/cryptomarket/finances/class-use/ExchangeRate.html new file mode 100644 index 0000000..0e09aa9 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/class-use/ExchangeRate.html @@ -0,0 +1,183 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.finances | ++ |
Modifier and Type | +Method and Description | +
---|---|
ExchangeRate |
+ExchangeRates.getExchangeRate(LocalDate date)
+Returns the Exchange Rate from the date
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static Map<LocalDate,ExchangeRate> |
+ExchangeRates.getExchangeRates()
+Returns an unmodifiable map of the Exchange Rates
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/class-use/ExchangeRates.html b/docs/net/epconsortium/cryptomarket/finances/class-use/ExchangeRates.html new file mode 100644 index 0000000..a7b9338 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/class-use/ExchangeRates.html @@ -0,0 +1,164 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.task | ++ |
Constructor and Description | +
---|
UpdateExchangeRatesTask(ExchangeRates exchangeRates) |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/class-use/Negotiation.html b/docs/net/epconsortium/cryptomarket/finances/class-use/Negotiation.html new file mode 100644 index 0000000..2b57d71 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/class-use/Negotiation.html @@ -0,0 +1,225 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.conversation | ++ |
net.epconsortium.cryptomarket.finances | ++ |
net.epconsortium.cryptomarket.util | ++ |
Constructor and Description | +
---|
NegotiationConversation(CryptoMarket plugin,
+ Negotiation negotiation,
+ org.bukkit.entity.Player player) |
+
Modifier and Type | +Method and Description | +
---|---|
static Negotiation |
+Negotiation.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Negotiation[] |
+Negotiation.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Logger.log(Investor investor,
+ Negotiation negotiation,
+ BigDecimal cryptoValue,
+ String coin,
+ double vaultValue)
+Logs this data to the log file
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/package-frame.html b/docs/net/epconsortium/cryptomarket/finances/package-frame.html new file mode 100644 index 0000000..f92dce0 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +Interface | +Description | +
---|---|
Economy.InvestmentsCallback | ++ |
Economy.RichestInvestorsCallback | ++ |
Class | +Description | +
---|---|
Economy | +
+ Class used to perform operations like purchase, sell, etc.
+ |
+
ExchangeRate | +
+ Class used to store the exchange rates of all coins on a day
+ |
+
ExchangeRates | +
+ Class used to have access to the exchange rates of the cryptocoins
+ |
+
Enum | +Description | +
---|---|
Negotiation | ++ |
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/package-tree.html b/docs/net/epconsortium/cryptomarket/finances/package-tree.html new file mode 100644 index 0000000..73b64f4 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/package-tree.html @@ -0,0 +1,158 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/finances/package-use.html b/docs/net/epconsortium/cryptomarket/finances/package-use.html new file mode 100644 index 0000000..0dc1341 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/finances/package-use.html @@ -0,0 +1,229 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket.conversation | ++ |
net.epconsortium.cryptomarket.finances | ++ |
net.epconsortium.cryptomarket.task | ++ |
net.epconsortium.cryptomarket.util | ++ |
Class and Description | +
---|
Negotiation | +
Class and Description | +
---|
Economy.InvestmentsCallback | +
Economy.RichestInvestorsCallback | +
ExchangeRate
+ Class used to store the exchange rates of all coins on a day
+ |
+
Negotiation | +
Class and Description | +
---|
ExchangeRates
+ Class used to have access to the exchange rates of the cryptocoins
+ |
+
Class and Description | +
---|
Negotiation | +
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/package-frame.html b/docs/net/epconsortium/cryptomarket/package-frame.html new file mode 100644 index 0000000..e1b0a5b --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +Class | +Description | +
---|---|
CryptoMarket | +
+ Main class of the plugin
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/package-tree.html b/docs/net/epconsortium/cryptomarket/package-tree.html new file mode 100644 index 0000000..a661110 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/package-tree.html @@ -0,0 +1,147 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/package-use.html b/docs/net/epconsortium/cryptomarket/package-use.html new file mode 100644 index 0000000..2ef041a --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/package-use.html @@ -0,0 +1,329 @@ + + + + + + +Package | +Description | +
---|---|
net.epconsortium.cryptomarket | ++ |
net.epconsortium.cryptomarket.commands | ++ |
net.epconsortium.cryptomarket.conversation | ++ |
net.epconsortium.cryptomarket.database | ++ |
net.epconsortium.cryptomarket.database.dao | ++ |
net.epconsortium.cryptomarket.finances | ++ |
net.epconsortium.cryptomarket.task | ++ |
net.epconsortium.cryptomarket.ui | ++ |
net.epconsortium.cryptomarket.util | ++ |
Class and Description | +
---|
CryptoMarket
+ Main class of the plugin
+ |
+
Class and Description | +
---|
CryptoMarket
+ Main class of the plugin
+ |
+
Class and Description | +
---|
CryptoMarket
+ Main class of the plugin
+ |
+
Class and Description | +
---|
CryptoMarket
+ Main class of the plugin
+ |
+
Class and Description | +
---|
CryptoMarket
+ Main class of the plugin
+ |
+
Class and Description | +
---|
CryptoMarket
+ Main class of the plugin
+ |
+
Class and Description | +
---|
CryptoMarket
+ Main class of the plugin
+ |
+
Class and Description | +
---|
CryptoMarket
+ Main class of the plugin
+ |
+
Class and Description | +
---|
CryptoMarket
+ Main class of the plugin
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/task/SaveInvestorsTask.html b/docs/net/epconsortium/cryptomarket/task/SaveInvestorsTask.html new file mode 100644 index 0000000..baf0327 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/task/SaveInvestorsTask.html @@ -0,0 +1,313 @@ + + + + + + +public class SaveInvestorsTask
+extends org.bukkit.scheduler.BukkitRunnable
+Constructor and Description | +
---|
SaveInvestorsTask(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+run()
+Used internally!
+ |
+
void |
+start()
+Starts the repetitive task
+ |
+
cancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/task/UpdateExchangeRatesTask.html b/docs/net/epconsortium/cryptomarket/task/UpdateExchangeRatesTask.html new file mode 100644 index 0000000..85f25c3 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/task/UpdateExchangeRatesTask.html @@ -0,0 +1,317 @@ + + + + + + +public class UpdateExchangeRatesTask
+extends org.bukkit.scheduler.BukkitRunnable
+Constructor and Description | +
---|
UpdateExchangeRatesTask(ExchangeRates exchangeRates) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+run()
+Used internally!
+ |
+
void |
+start(CryptoMarket plugin)
+Starts the repetitive task
+ |
+
cancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously
public UpdateExchangeRatesTask(ExchangeRates exchangeRates)+
public void run()+
public void start(CryptoMarket plugin)+
plugin
- pluginCopyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/task/class-use/SaveInvestorsTask.html b/docs/net/epconsortium/cryptomarket/task/class-use/SaveInvestorsTask.html new file mode 100644 index 0000000..8b823ef --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/task/class-use/SaveInvestorsTask.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/task/class-use/UpdateExchangeRatesTask.html b/docs/net/epconsortium/cryptomarket/task/class-use/UpdateExchangeRatesTask.html new file mode 100644 index 0000000..8010c55 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/task/class-use/UpdateExchangeRatesTask.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/task/package-frame.html b/docs/net/epconsortium/cryptomarket/task/package-frame.html new file mode 100644 index 0000000..255ae07 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/task/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +Class | +Description | +
---|---|
SaveInvestorsTask | +
+ Task that save all investors to the database
+ |
+
UpdateExchangeRatesTask | +
+ Task that updates the exchanges rates
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/task/package-tree.html b/docs/net/epconsortium/cryptomarket/task/package-tree.html new file mode 100644 index 0000000..9045506 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/task/package-tree.html @@ -0,0 +1,144 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/task/package-use.html b/docs/net/epconsortium/cryptomarket/task/package-use.html new file mode 100644 index 0000000..5d28861 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/task/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/Calendar.html b/docs/net/epconsortium/cryptomarket/ui/Calendar.html new file mode 100644 index 0000000..951a044 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/Calendar.html @@ -0,0 +1,337 @@ + + + + + + +public class Calendar +extends Object+
Constructor and Description | +
---|
Calendar(CryptoMarket plugin,
+ org.bukkit.entity.Player player) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+nextMonth()
+Goes to the next month
+ |
+
void |
+open()
+Opens the Calendar
+ |
+
void |
+previousMonth()
+Goes to the previous month
+ |
+
static void |
+remove(org.bukkit.entity.Player player)
+Removes the Player from the Calendar data, so that when he reopens the
+ Calendar the period will be the current one
+ |
+
public Calendar(CryptoMarket plugin, + org.bukkit.entity.Player player)+
public static void remove(org.bukkit.entity.Player player)+
player
- playerpublic void nextMonth()+
public void previousMonth()+
public void open()+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/CalendarListener.html b/docs/net/epconsortium/cryptomarket/ui/CalendarListener.html new file mode 100644 index 0000000..88bc85d --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/CalendarListener.html @@ -0,0 +1,296 @@ + + + + + + +public class CalendarListener +extends Object +implements org.bukkit.event.Listener+
Constructor and Description | +
---|
CalendarListener(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+onInventoryClickEvent(org.bukkit.event.inventory.InventoryClickEvent event) |
+
void |
+onInventoryClose(org.bukkit.event.inventory.InventoryCloseEvent event) |
+
public CalendarListener(CryptoMarket plugin)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/Menu.html b/docs/net/epconsortium/cryptomarket/ui/Menu.html new file mode 100644 index 0000000..fc175ad --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/Menu.html @@ -0,0 +1,283 @@ + + + + + + +public class Menu +extends Object+
Constructor and Description | +
---|
Menu(CryptoMarket plugin,
+ org.bukkit.entity.Player player) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+open()
+Opens the Menu
+ |
+
public Menu(CryptoMarket plugin, + org.bukkit.entity.Player player)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/MenuListener.html b/docs/net/epconsortium/cryptomarket/ui/MenuListener.html new file mode 100644 index 0000000..782c033 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/MenuListener.html @@ -0,0 +1,283 @@ + + + + + + +public class MenuListener +extends Object +implements org.bukkit.event.Listener+
Constructor and Description | +
---|
MenuListener(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+onInventoryClick(org.bukkit.event.inventory.InventoryClickEvent event) |
+
public MenuListener(CryptoMarket plugin)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/Ranking.html b/docs/net/epconsortium/cryptomarket/ui/Ranking.html new file mode 100644 index 0000000..af1f7b1 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/Ranking.html @@ -0,0 +1,283 @@ + + + + + + +public class Ranking +extends Object+
Constructor and Description | +
---|
Ranking(CryptoMarket plugin,
+ org.bukkit.entity.Player player) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+open()
+Open the Ranking menu
+ |
+
public Ranking(CryptoMarket plugin, + org.bukkit.entity.Player player)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/RankingListener.html b/docs/net/epconsortium/cryptomarket/ui/RankingListener.html new file mode 100644 index 0000000..2aba53c --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/RankingListener.html @@ -0,0 +1,283 @@ + + + + + + +public class RankingListener +extends Object +implements org.bukkit.event.Listener+
Constructor and Description | +
---|
RankingListener(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+onInventoryClickEvent(org.bukkit.event.inventory.InventoryClickEvent event) |
+
public RankingListener(CryptoMarket plugin)+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/class-use/Calendar.html b/docs/net/epconsortium/cryptomarket/ui/class-use/Calendar.html new file mode 100644 index 0000000..8d0fbed --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/class-use/Calendar.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/class-use/CalendarListener.html b/docs/net/epconsortium/cryptomarket/ui/class-use/CalendarListener.html new file mode 100644 index 0000000..f801599 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/class-use/CalendarListener.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/class-use/Menu.html b/docs/net/epconsortium/cryptomarket/ui/class-use/Menu.html new file mode 100644 index 0000000..0053501 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/class-use/Menu.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/class-use/MenuListener.html b/docs/net/epconsortium/cryptomarket/ui/class-use/MenuListener.html new file mode 100644 index 0000000..73b9c86 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/class-use/MenuListener.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/class-use/Ranking.html b/docs/net/epconsortium/cryptomarket/ui/class-use/Ranking.html new file mode 100644 index 0000000..b8bbb6f --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/class-use/Ranking.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/class-use/RankingListener.html b/docs/net/epconsortium/cryptomarket/ui/class-use/RankingListener.html new file mode 100644 index 0000000..e1dc5f9 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/class-use/RankingListener.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/package-frame.html b/docs/net/epconsortium/cryptomarket/ui/package-frame.html new file mode 100644 index 0000000..f3ec217 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/package-frame.html @@ -0,0 +1,26 @@ + + + + + + +Class | +Description | +
---|---|
Calendar | +
+ Represents the Calendar menu
+ |
+
CalendarListener | +
+ Class used to listen to clicks on the Calendar menu and process them
+ |
+
Menu | +
+ Represents the Main menu
+ |
+
MenuListener | +
+ Class used to listen to clicks on the Menu menu and process them
+ |
+
Ranking | +
+ Represents the Ranking menu
+ |
+
RankingListener | +
+ Class used to listen to clicks on the Ranking menu and process them
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/package-tree.html b/docs/net/epconsortium/cryptomarket/ui/package-tree.html new file mode 100644 index 0000000..d2da78b --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/package-tree.html @@ -0,0 +1,144 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/ui/package-use.html b/docs/net/epconsortium/cryptomarket/ui/package-use.html new file mode 100644 index 0000000..153fe5d --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/ui/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/util/Configuration.html b/docs/net/epconsortium/cryptomarket/util/Configuration.html new file mode 100644 index 0000000..9d0efca --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/util/Configuration.html @@ -0,0 +1,1925 @@ + + + + + + +public class Configuration +extends Object+
Constructor and Description | +
---|
Configuration(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getActionBuy()
+Returns the name of the Buy action
+ |
+
String |
+getActionSell()
+Returns the name of the Sell action
+ |
+
String |
+getApiKey()
+Returns the API KEY
+ |
+
String |
+getButtonCalendarName()
+Returns name of the main menu's Calendar button
+ |
+
String |
+getButtonCoinsCoinLine()
+Returns the main menu's Coins button's coin line
+ |
+
String |
+getButtonCoinsError()
+Returns the no data error message of the main menu's Coins item
+ |
+
List<String> |
+getButtonCoinsLore()
+Returns the lore of the main menu's Coins button
+ |
+
String |
+getButtonCoinsName()
+Returns name of the main menu's Coins button
+ |
+
String |
+getButtonProfitCoinLine()
+Returns the main menu's Profit button's coin line
+ |
+
List<String> |
+getButtonProfitLore()
+Returns the lore of the main menu's Profit button
+ |
+
String |
+getButtonProfitName()
+Returns name of the main menu's Profit button
+ |
+
String |
+getButtonProfitNegativeColor()
+Returns the main menu's Profit button's negative color
+ |
+
String |
+getButtonProfitNeuterColor()
+Returns the main menu's Profit button's neuter color
+ |
+
String |
+getButtonProfitPositiveColor()
+Returns the main menu's Profit button's positive color
+ |
+
String |
+getButtonRankingName()
+Returns the main menu's Ranking button name
+ |
+
String |
+getButtonUpdateName()
+Returns name of the main menu's Update button
+ |
+
String |
+getButtonWalletCoinLine()
+Returns the main menu's Wallet button's coin line
+ |
+
List<String> |
+getButtonWalletLore()
+Returns the lore of the main menu's Wallet button
+ |
+
String |
+getButtonWalletName()
+Returns name of the main menu's Wallet button
+ |
+
String |
+getCalendarMenuBackButtonName()
+Returns the Calendar menu's Back button name
+ |
+
String |
+getCalendarMenuCoinLine()
+Returns the Calendar menu's Day item's coin line
+ |
+
String |
+getCalendarMenuDayItemName()
+Returns the Calendar menu's Day item name
+ |
+
String |
+getCalendarMenuName()
+Returns the Calendar menu name
+ |
+
String |
+getCalendarMenuNextMonthButtonName()
+Returns the Calendar menu's Next Month button name
+ |
+
String |
+getCalendarMenuNoExchangeRate()
+Returns the Calendar menu's Day item's no rates message
+ |
+
String |
+getCalendarMenuPreviousMonthButtonName()
+Returns the Calendar menu's Previous Month button name
+ |
+
List<String> |
+getCoins()
+Returns the coins list.
+ |
+
String |
+getConversationWordOfExit()
+Returns the word the user must type in order to leave the Negotiation
+ Chat
+ |
+
List<String> |
+getHelpCommandMessages()
+Returns the messages of the help command
+ |
+
long |
+getIntervalExchangeRatesUpdateInMillis()
+Returns the interval to update the Exchange Rates in milliseconds
+ |
+
long |
+getIntervalExchangeRatesUpdateInTicks()
+Returns the interval to update the Exchange Rates in server ticks
+ |
+
long |
+getIntervalRichersUpdateInMillis()
+Returns the richers update interval in milliseconds
+ |
+
long |
+getIntervalSavingInvestorsInTicks()
+Returns the interval to save the investors' data in server ticks
+ |
+
String |
+getItemDayError()
+Returns the no data error message of the Calendar menu's Day item
+ |
+
List<String> |
+getLoreOfTheDayItem()
+Returns the lore of the Day item of the Calendar
+ |
+
String |
+getMenuName()
+Returns the name of the main menu
+ |
+
String |
+getMessageBalance()
+Returns the Balance command message
+ |
+
String |
+getMessageBalancePerCoin()
+Returns the per coin message of the Balance command
+ |
+
String |
+getMessageBuyNegotiation()
+Returns the message of buying coins
+ |
+
String |
+getMessageChooseCoin()
+Returns the choose a coin to negotiate message
+ |
+
String |
+getMessageCommandOutdatedData()
+Returns the outdated data message
+ |
+
String |
+getMessageContentAlreadyUptodate()
+Returns the content is already up-to-date message
+ |
+
String |
+getMessageCurrentExchangeRate()
+Returns the current exchange rate of the Today command
+ |
+
String |
+getMessageCurrentExchangeRatePerCoin()
+Return the per coin message of the Today command
+ |
+
String |
+getMessageErrorAccessingRankingData()
+Returns the accessing ranking data error message
+ |
+
String |
+getMessageErrorConnectingToDatabase()
+Returns the connecting to database error message
+ |
+
String |
+getMessageErrorInsufficientBalance()
+Returns the insufficient balance error message
+ |
+
String |
+getMessageErrorInvalidAmount()
+Returns the invalid amount error message
+ |
+
String |
+getMessageErrorInvalidCoin()
+Returns the invalid coin error message
+ |
+
String |
+getMessageErrorInvalidValue()
+Returns the invalid value error message
+ |
+
String |
+getMessageErrorNoPermission()
+Returns the no permission error message
+ |
+
String |
+getMessageErrorNotEnoughBalance()
+Returns the insufficient balance error message
+ |
+
String |
+getMessageErrorPlayerNotFound()
+Returns the player not found error message
+ |
+
String |
+getMessageExitWarning()
+Returns the how to leave the chat warning message
+ |
+
String |
+getMessageNegotiationConfirmation()
+Returns the confirmation prompt message
+ |
+
String |
+getMessageNewBalance()
+Returns the new balance message
+ |
+
String |
+getMessageOutdatedData()
+Returns the outdated data error message
+ |
+
String |
+getMessagePlayerBalanceUpdated()
+Returns the player's balance updated message
+ |
+
String |
+getMessageSavingData()
+Returns the saving data message of the Save command
+ |
+
String |
+getMessageSellNegotiation()
+Returns the message of selling coins
+ |
+
String |
+getMessageSuccessfulNegotiation()
+Returns the successful negotiation message
+ |
+
String |
+getMessageUpdatingContent()
+Returns the updating content message
+ |
+
String |
+getMessageValidCoins()
+Returns the valid coins list message
+ |
+
String |
+getMySQLDatabaseName()
+Returns the database name
+ |
+
String |
+getMySQLHostname()
+Returns MySQL hostname
+ |
+
String |
+getMySQLPassword()
+Returns MySQL password
+ |
+
int |
+getMySQLPort()
+Returns MySQL port
+ |
+
String |
+getMySQLUser()
+Returns MySQL user
+ |
+
String |
+getNegotiationChatPrefix()
+Returns the chat prefix of the negotiation chat
+ |
+
String |
+getNegotiationNoWord()
+Returns the cancellation word of the negotiation
+ |
+
String |
+getNegotiationYesWord()
+Returns the confirmation word of the negotiation
+ |
+
String |
+getPhysicalCurrency()
+Returns the physical currency to compare against the cryptocoins
+ |
+
String |
+getRankingMenuBackButton()
+Returns the Ranking menu's Back button name
+ |
+
List<String> |
+getRankingMenuLastUpdatedItemLore()
+Returns the lore of the Total Investments item of the Ranking menu
+ |
+
String |
+getRankingMenuLastUpdatedItemName()
+Returns the Ranking menu's Richer item name
+ |
+
String |
+getRankingMenuName()
+Returns the Ranking menu name
+ |
+
String |
+getRankingMenuNoRicherLore()
+Returns the no investor message of the Richer item of the Ranking menu
+ |
+
List<String> |
+getRankingMenuRicherItemLore()
+Returns the lore of the Richer item of the Ranking menu
+ |
+
String |
+getRankingMenuRicherItemName()
+Returns the Ranking menu's Richer item name
+ |
+
List<String> |
+getRankingMenuTotalInvestmentsItemLore()
+Returns the lore of the Total Investments item of the Ranking menu
+ |
+
String |
+getRankingMenuTotalInvestmentsItemName()
+Returns the Ranking menu's Total Investments item name
+ |
+
boolean |
+isMySQLEnabled()
+Checks if MySQL is enabled
+ |
+
boolean |
+isValid(String coin)
+Checks if the argument is a valid cryptocoin
+ |
+
public Configuration(CryptoMarket plugin)+
public String getApiKey()+
public boolean isMySQLEnabled()+
public String getMySQLHostname()+
public int getMySQLPort()+
public String getMySQLDatabaseName()+
public String getMySQLUser()+
public String getMySQLPassword()+
public long getIntervalExchangeRatesUpdateInTicks()+
public long getIntervalSavingInvestorsInTicks()+
public long getIntervalExchangeRatesUpdateInMillis()+
public long getIntervalRichersUpdateInMillis()+
public String getPhysicalCurrency()+
public List<String> getCoins()+
public boolean isValid(String coin)+
coin
- coinpublic String getConversationWordOfExit()+
public String getNegotiationChatPrefix()+
public String getMessageSellNegotiation()+
public String getMessageBuyNegotiation()+
public String getMessageErrorConnectingToDatabase()+
public String getMessageErrorInsufficientBalance()+
public String getMessageErrorInvalidValue()+
public String getMessageErrorInvalidCoin()+
public String getMessagePlayerBalanceUpdated()+
public String getMessageErrorNotEnoughBalance()+
public String getMessageErrorNoPermission()+
public String getMessageValidCoins()+
public String getMessageChooseCoin()+
public String getMessageNewBalance()+
public String getMessageErrorPlayerNotFound()+
public String getMessageErrorInvalidAmount()+
public String getMenuName()+
public String getButtonCoinsName()+
public List<String> getButtonCoinsLore()+
public String getButtonCoinsCoinLine()+
public String getButtonWalletCoinLine()+
public String getButtonProfitCoinLine()+
public String getButtonProfitNegativeColor()+
public String getButtonProfitNeuterColor()+
public String getButtonProfitPositiveColor()+
public List<String> getButtonProfitLore()+
public List<String> getButtonWalletLore()+
public String getButtonWalletName()+
public String getButtonProfitName()+
public String getButtonCalendarName()+
public String getButtonUpdateName()+
public String getMessageContentAlreadyUptodate()+
public String getMessageUpdatingContent()+
public String getActionBuy()+
public String getActionSell()+
public String getMessageNegotiationConfirmation()+
public String getNegotiationYesWord()+
public String getNegotiationNoWord()+
public String getMessageSuccessfulNegotiation()+
public String getMessageExitWarning()+
public String getMessageOutdatedData()+
public String getCalendarMenuName()+
public String getCalendarMenuBackButtonName()+
public String getCalendarMenuPreviousMonthButtonName()+
public String getCalendarMenuNextMonthButtonName()+
public String getButtonRankingName()+
public String getRankingMenuBackButton()+
public String getRankingMenuName()+
public List<String> getHelpCommandMessages()+
public String getMessageBalance()+
public String getMessageBalancePerCoin()+
public String getMessageSavingData()+
public String getMessageCurrentExchangeRatePerCoin()+
public String getMessageCurrentExchangeRate()+
public List<String> getLoreOfTheDayItem()+
public String getCalendarMenuCoinLine()+
public String getCalendarMenuNoExchangeRate()+
public String getMessageCommandOutdatedData()+
public String getCalendarMenuDayItemName()+
public String getRankingMenuTotalInvestmentsItemName()+
public String getRankingMenuRicherItemName()+
public String getRankingMenuLastUpdatedItemName()+
public List<String> getRankingMenuLastUpdatedItemLore()+
public List<String> getRankingMenuTotalInvestmentsItemLore()+
public List<String> getRankingMenuRicherItemLore()+
public String getRankingMenuNoRicherLore()+
public String getMessageErrorAccessingRankingData()+
public String getItemDayError()+
public String getButtonCoinsError()+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/util/Formatter.html b/docs/net/epconsortium/cryptomarket/util/Formatter.html new file mode 100644 index 0000000..827bca7 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/util/Formatter.html @@ -0,0 +1,335 @@ + + + + + + +public class Formatter +extends Object+
Modifier and Type | +Method and Description | +
---|---|
static String |
+formatCryptocoin(Object number)
+Formats and returns a number in the local format with eight numbers after
+ the decimal separator
+ |
+
static String |
+formatPercentage(Object number)
+Formats and returns a number in the local format without fraction digits
+ |
+
static String |
+formatServerCurrency(Object number)
+Formats and returns a number in the local format with two numbers after
+ the decimal separator
+ |
+
public static String formatCryptocoin(Object number)+
number
- number to formatpublic static String formatServerCurrency(Object number)+
number
- number to formatCopyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/util/Logger.html b/docs/net/epconsortium/cryptomarket/util/Logger.html new file mode 100644 index 0000000..d1f2058 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/util/Logger.html @@ -0,0 +1,297 @@ + + + + + + +public class Logger +extends Object+
Constructor and Description | +
---|
Logger(CryptoMarket plugin) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+log(Investor investor,
+ Negotiation negotiation,
+ BigDecimal cryptoValue,
+ String coin,
+ double vaultValue)
+Logs this data to the log file
+ |
+
public Logger(CryptoMarket plugin)+
public void log(Investor investor, + Negotiation negotiation, + BigDecimal cryptoValue, + String coin, + double vaultValue)+
investor
- negotiation
- cryptoValue
- coin
- vaultValue
- Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/util/class-use/Configuration.html b/docs/net/epconsortium/cryptomarket/util/class-use/Configuration.html new file mode 100644 index 0000000..90b32c5 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/util/class-use/Configuration.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/util/class-use/Formatter.html b/docs/net/epconsortium/cryptomarket/util/class-use/Formatter.html new file mode 100644 index 0000000..9f6f941 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/util/class-use/Formatter.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/util/class-use/Logger.html b/docs/net/epconsortium/cryptomarket/util/class-use/Logger.html new file mode 100644 index 0000000..811ec01 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/util/class-use/Logger.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/util/package-frame.html b/docs/net/epconsortium/cryptomarket/util/package-frame.html new file mode 100644 index 0000000..52e9629 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/util/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +Class | +Description | +
---|---|
Configuration | ++ |
Formatter | +
+ Utility class to format numbers
+ |
+
Logger | +
+ This class logs the negociations to a file
+ |
+
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/util/package-tree.html b/docs/net/epconsortium/cryptomarket/util/package-tree.html new file mode 100644 index 0000000..4d48af2 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/util/package-tree.html @@ -0,0 +1,141 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/net/epconsortium/cryptomarket/util/package-use.html b/docs/net/epconsortium/cryptomarket/util/package-use.html new file mode 100644 index 0000000..a6c4bc0 --- /dev/null +++ b/docs/net/epconsortium/cryptomarket/util/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/overview-frame.html b/docs/overview-frame.html new file mode 100644 index 0000000..29365f4 --- /dev/null +++ b/docs/overview-frame.html @@ -0,0 +1,31 @@ + + + + + + ++ + diff --git a/docs/overview-summary.html b/docs/overview-summary.html new file mode 100644 index 0000000..cfb6bab --- /dev/null +++ b/docs/overview-summary.html @@ -0,0 +1,176 @@ + + + + + + +
Package | +Description | +
---|---|
net.epconsortium.cryptomarket | ++ |
net.epconsortium.cryptomarket.commands | ++ |
net.epconsortium.cryptomarket.conversation | ++ |
net.epconsortium.cryptomarket.conversation.prompt | ++ |
net.epconsortium.cryptomarket.database | ++ |
net.epconsortium.cryptomarket.database.dao | ++ |
net.epconsortium.cryptomarket.finances | ++ |
net.epconsortium.cryptomarket.task | ++ |
net.epconsortium.cryptomarket.ui | ++ |
net.epconsortium.cryptomarket.util | ++ |
Copyright © 2019. All rights reserved.
+ + diff --git a/docs/overview-tree.html b/docs/overview-tree.html new file mode 100644 index 0000000..2fe3738 --- /dev/null +++ b/docs/overview-tree.html @@ -0,0 +1,223 @@ + + + + + + +Copyright © 2019. All rights reserved.
+ + diff --git a/docs/package-list b/docs/package-list new file mode 100644 index 0000000..e2fd57b --- /dev/null +++ b/docs/package-list @@ -0,0 +1,10 @@ +net.epconsortium.cryptomarket +net.epconsortium.cryptomarket.commands +net.epconsortium.cryptomarket.conversation +net.epconsortium.cryptomarket.conversation.prompt +net.epconsortium.cryptomarket.database +net.epconsortium.cryptomarket.database.dao +net.epconsortium.cryptomarket.finances +net.epconsortium.cryptomarket.task +net.epconsortium.cryptomarket.ui +net.epconsortium.cryptomarket.util diff --git a/docs/script.js b/docs/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/docs/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/stylesheet.css b/docs/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/docs/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +}