diff --git a/docs/1.0.0/API-LICENSE.txt b/docs/1.0.0/API-LICENSE.txt new file mode 100644 index 0000000..e3aa08e --- /dev/null +++ b/docs/1.0.0/API-LICENSE.txt @@ -0,0 +1,148 @@ +CapitalEngine API Licence +Version 1.0 + +Copyright (c) 2026 Heet Patel. All rights reserved. + +This licence applies to the CapitalEngine API ("the API"). The API is the +artifact published as com.patelheet:capitalengine-api, which includes its +compiled classes and its Javadoc. It does not apply to CapitalEngine itself +or to any CapitalEngine add-on plugin. Those are proprietary and are covered +by separate terms. + +"Licensor" means Heet Patel (patelheet.com). "You" means the person or +organisation using the API. "Your Plugin" means software you create that +uses the API to work with CapitalEngine. + + +1. WHAT YOU MAY DO + + The Licensor grants you a free, worldwide, non-exclusive, + non-transferable licence to: + + a) Download the API and its Javadoc, and use them to develop, compile and + test Your Plugin. + + b) Declare the API as a compile-time dependency of Your Plugin (for + example, Gradle "compileOnly" or Maven "provided"). + + c) Distribute Your Plugin, for free or for payment, under any licence you + choose, including open source and closed source, as long as you follow + section 2. + + d) Implement the interfaces that the API documents as intended for plugins + to implement (currently MonetaryPolicy and IndicatorProvider), and + listen to the API's events. + + e) Create mock or stub implementations of any API interface. These may + only be used in your own automated tests, and must not be shipped as + part of Your Plugin. + + f) Keep copies of the API in your build tools, caches, private + repositories and CI systems, so that you can do the above. + + g) Quote short parts of the Javadoc in Your Plugin's documentation where + it helps explain how Your Plugin works with CapitalEngine. + + +2. WHAT YOU MAY NOT DO + + a) You may not include, shade or bundle the API's classes inside Your + Plugin or any other distributed software. At runtime, CapitalEngine + provides the API. + + b) You may not publish or share the API jar or its Javadoc yourself, for + example by uploading them to a public repository, website or file + share. Section 1(f) covers private copies. + + c) You may not modify the API, or distribute modified versions of it. + + d) You may not implement the CapitalApi interface, or otherwise create + software that replaces, imitates or substitutes for CapitalEngine or + any of its add-ons, except for test-only mocks under section 1(e). + + e) You may not decompile, disassemble or reverse engineer the API, except + where applicable law allows it despite this restriction. + + f) You may not remove or change any copyright or licence notices in the + API. + + +3. NAMES + + This licence does not give you any rights to the names "CapitalEngine", + "CapitalMarket", "CapitalBank", "CapitalDashboard", "CapitalTrade" or + "patelheet". You may say factually that Your Plugin is "for + CapitalEngine" or "compatible with CapitalEngine". You may not suggest + that the Licensor made, endorses or supports Your Plugin unless the + Licensor has agreed to this in writing. + + +4. YOUR PLUGIN + + You own Your Plugin. The Licensor claims no rights to it. You are solely + responsible for Your Plugin and for how it uses the API, including any + money it creates or moves on a server. + + +5. VERSIONS + + Each released version of the API is covered by the licence included + inside that version's jar. The Licensor may offer future versions of the + API under different terms. Any change does not affect a version you have + already received. + + +6. TERMINATION + + a) This licence ends automatically if you break any of its terms. + + b) If you fix the breach within 30 days of becoming aware of it, your + licence is restored as if it had never ended. + + c) If your licence ends and is not restored, then from that point you + must: + - stop using the API; and + - stop distributing Your Plugin, because it depends on the API. + + d) Copies of Your Plugin that other people received before your licence + ended are not affected. They may keep using those copies. + + e) Sections 4, 7, 8, 9 and 10 still apply after this licence ends. + + +7. NO WARRANTY + + THE API IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED. THIS INCLUDES, WITHOUT LIMITATION, WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + + +8. LIMITATION OF LIABILITY + + TO THE FULLEST EXTENT ALLOWED BY LAW, THE LICENSOR IS NOT LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM THE API OR ITS USE. THIS + INCLUDES LOSS OF DATA, LOSS OF IN-GAME BALANCES AND LOSS OF PROFITS, + WHETHER IN CONTRACT, TORT OR OTHERWISE. + + Nothing in this licence limits or excludes any liability that cannot be + limited or excluded by law. This includes liability for death or + personal injury caused by negligence, and liability for fraud. + + +9. GOVERNING LAW + + This licence, and any dispute or claim arising out of or in connection + with it or its subject matter, is governed by the law of England and + Wales. This includes non-contractual disputes or claims. The courts of + England and Wales have exclusive jurisdiction over any such dispute or + claim. + + +10. EVERYTHING ELSE + + All rights not expressly granted by this licence are reserved by the + Licensor. If any part of this licence cannot be enforced, the rest still + applies. + + For permissions beyond this licence, contact the Licensor through + patelheet.com. diff --git a/docs/1.0.0/allclasses-index.html b/docs/1.0.0/allclasses-index.html new file mode 100644 index 0000000..e9c868c --- /dev/null +++ b/docs/1.0.0/allclasses-index.html @@ -0,0 +1,166 @@ + + + + +All Classes and Interfaces (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+
+

All Classes and Interfaces

+
+
+
+
+
+
Class
+
Description
+ +
+
A read-only view of one account.
+
+ +
+
What an Account is, which decides who may take money out of it.
+
+ +
+
Account lookup and creation.
+
+ +
+
An alert for owners, raised with CapitalApi.alert.
+
+ +
+
Entry point of the CapitalEngine API.
+
+ +
+
Fired asynchronously after the nightly ledger self-check.
+
+ +
+
Economic day boundary, on the main/global thread.
+
+ +
+
A call hit an owner-set cap or was denied.
+
+ +
+
Which limit was hit.
+
+ +
+
Fired asynchronously after each transaction is safely in the database.
+
+ +
+
Economic week boundary, fired after the CapitalDayEvent that starts the new week.
+
+ +
+
The server's single currency.
+
+ +
+
Why a mutation failed.
+
+ +
+
A named number an add-on publishes for dashboards.
+
+ +
+
Implemented by add-ons and registered with Bukkit's ServicesManager.
+
+ +
+
Shared economic settings, implemented by an add-on (for example CapitalMarket) and registered with Bukkit's + ServicesManager.
+
+ +
+
One plugin's money flows for the current economic day.
+
+ +
+
A plugin's remaining owner-set limits today.
+
+ +
+
One signed leg of a transaction.
+
+ +
+
How serious an alert is.
+
+ +
+
Instant economy-wide snapshot, read from memory.
+
+ +
+
Builds a multi-leg transaction that applies completely or not at all.
+
+ +
+
A committed transaction, as returned by history lookups and carried by events.
+
+ +
+
Outcome of a mutation.
+
+ +
+
The unit of an Indicator.
+
+
+
+
+
+
+
+ + diff --git a/docs/1.0.0/allpackages-index.html b/docs/1.0.0/allpackages-index.html new file mode 100644 index 0000000..fc53231 --- /dev/null +++ b/docs/1.0.0/allpackages-index.html @@ -0,0 +1,67 @@ + + + + +All Packages (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+
+

All Packages

+
+
Package Summary
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/Account.html b/docs/1.0.0/com/patelheet/capitalengine/api/Account.html new file mode 100644 index 0000000..4e80d50 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/Account.html @@ -0,0 +1,201 @@ + + + + +Account (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Interface Account

+
+
+
+
public interface Account
+
A read-only view of one account. All getters are instant and thread-safe.
+
+
+ +
+
+
    + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      id

      +
      UUID id()
      +
      Stable unique id of the account.
      +
      +
    • +
    • +
      +

      kind

      +
      AccountKind kind()
      +
      What kind of account this is.
      +
      +
    • +
    • +
      +

      name

      +
      String name()
      +
      Display name (player name, or the namespaced key for plugin accounts).
      +
      +
    • +
    • +
      +

      balance

      +
      long balance()
      +
      Current balance in the smallest currency unit, read from memory.
      +
      +
    • +
    • +
      +

      ownerPlayer

      +
      Optional<UUID> ownerPlayer()
      +
      The player who owns this account, for AccountKind.PLAYER.
      +
      +
    • +
    • +
      +

      ownerPlugin

      +
      Optional<String> ownerPlugin()
      +
      The plugin that owns this account, for AccountKind.PLUGIN and AccountKind.EXTERNAL.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/AccountKind.html b/docs/1.0.0/com/patelheet/capitalengine/api/AccountKind.html new file mode 100644 index 0000000..8b99798 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/AccountKind.html @@ -0,0 +1,270 @@ + + + + +AccountKind (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Enum Class AccountKind

+
+
java.lang.Object +
java.lang.Enum<AccountKind> +
com.patelheet.capitalengine.api.AccountKind
+
+
+
+
+
All Implemented Interfaces:
+
Serializable, Comparable<AccountKind>, Constable
+
+
+
public enum AccountKind +extends Enum<AccountKind>
+
What an Account is, which decides who may take money out of it.
+
+
+ +
+
+
    + +
  • +
    +

    Enum Constant Details

    +
      +
    • +
      +

      PLAYER

      +
      public static final AccountKind PLAYER
      +
      One per player. Any plugin may move money out (same trust as Vault).
      +
      +
    • +
    • +
      +

      PLUGIN

      +
      public static final AccountKind PLUGIN
      +
      An add-on's own account (escrow, savings, ...). Only the owning plugin may take money out.
      +
      +
    • +
    • +
      +

      EXTERNAL

      +
      public static final AccountKind EXTERNAL
      +
      A non-player account made by a Vault plugin (for example a Towny town).
      +
      +
    • +
    • +
      +

      TREASURY

      +
      public static final AccountKind TREASURY
      +
      The server's wallet. Only serverPay may spend from it; anyone may pay into it.
      +
      +
    • +
    • +
      +

      MINT

      +
      public static final AccountKind MINT
      +
      Creates and destroys money. Never exposed as an Account; listed for completeness.
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      values

      +
      public static AccountKind[] values()
      +
      Returns an array containing the constants of this enum class, in +the order they are declared.
      +
      +
      Returns:
      +
      an array containing the constants of this enum class, in the order they are declared
      +
      +
      +
    • +
    • +
      +

      valueOf

      +
      public static AccountKind valueOf(String name)
      +
      Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
      +
      +
      Parameters:
      +
      name - the name of the enum constant to be returned.
      +
      Returns:
      +
      the enum constant with the specified name
      +
      Throws:
      +
      IllegalArgumentException - if this enum class has no constant with the specified name
      +
      NullPointerException - if the argument is null
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/Accounts.html b/docs/1.0.0/com/patelheet/capitalengine/api/Accounts.html new file mode 100644 index 0000000..4024471 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/Accounts.html @@ -0,0 +1,179 @@ + + + + +Accounts (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Interface Accounts

+
+
+
+
public interface Accounts
+
Account lookup and creation.
+
+
+
    + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    byId(UUID accountId)
    +
    +
    Finds an account by id.
    +
    + +
    find(String namespacedKey)
    +
    +
    Finds an account by its namespaced key, for example "capitalbank:savings:<uuid>".
    +
    + +
    player(UUID playerId)
    +
    +
    The player's account, created on first use.
    +
    + +
    plugin(org.bukkit.plugin.Plugin owner, + String key)
    +
    +
    The calling plugin's own account "<plugin>:<key>" (lower-case), created on first use.
    +
    +
    +
    +
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      player

      +
      Account player(UUID playerId)
      +
      The player's account, created on first use.
      +
      +
    • +
    • +
      +

      plugin

      +
      Account plugin(org.bukkit.plugin.Plugin owner, + String key)
      +
      The calling plugin's own account "<plugin>:<key>" (lower-case), created on first use.
      +
      +
    • +
    • +
      +

      find

      +
      Optional<Account> find(String namespacedKey)
      +
      Finds an account by its namespaced key, for example "capitalbank:savings:<uuid>".
      +
      +
    • +
    • +
      +

      byId

      +
      Optional<Account> byId(UUID accountId)
      +
      Finds an account by id.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/CapitalApi.html b/docs/1.0.0/com/patelheet/capitalengine/api/CapitalApi.html new file mode 100644 index 0000000..9f05d79 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/CapitalApi.html @@ -0,0 +1,398 @@ + + + + +CapitalApi (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Interface CapitalApi

+
+
+
+
public interface CapitalApi
+
Entry point of the CapitalEngine API. Obtain it from Bukkit's ServicesManager: +
CapitalApi api = Bukkit.getServicesManager().load(CapitalApi.class);
+ +

Amounts are long counts of the smallest unit and must be greater than 0. Every mutation is atomic, + attributed to the calling plugin and checked against the owner's limits. Balance changes are visible to every + reader as soon as the call returns; the future completes once the transaction is in the database, on a core + thread (switch to the main/region thread before touching Bukkit objects, and never block on it). + Failures are values (TxResult), not exceptions.

+
+
+ +
+
+
    + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      apiVersion

      +
      String apiVersion()
      +
      The running API version, for example "1.0.0".
      +
      +
    • +
    • +
      +

      isCompatible

      +
      boolean isCompatible(String minVersion)
      +
      Whether the running API is at least minVersion (semantic versioning).
      +
      +
    • +
    • +
      +

      accounts

      +
      Accounts accounts()
      +
      Account lookup and creation.
      +
      +
    • +
    • +
      +

      treasury

      +
      Account treasury()
      +
      The server's wallet.
      +
      +
    • +
    • +
      +

      currency

      +
      Currency currency()
      +
      The currency.
      +
      +
    • +
    • +
      +

      transfer

      +
      CompletableFuture<TxResult> transfer(org.bukkit.plugin.Plugin caller, + Account from, + Account to, + long amount, + String type, + String memo)
      +
      Moves coins between two accounts. memo is up to 128 characters and shown to players.
      +
      +
    • +
    • +
      +

      serverPay

      +
      CompletableFuture<TxResult> serverPay(org.bukkit.plugin.Plugin caller, + Account to, + long amount, + String type, + String memo)
      +
      Pays from the server: Treasury first, newly created coins for any shortfall, within the caller's limits.
      +
      +
    • +
    • +
      +

      collect

      +
      CompletableFuture<TxResult> collect(org.bukkit.plugin.Plugin caller, + Account from, + long amount, + String type, + String memo)
      +
      Player (or other account) → Treasury.
      +
      +
    • +
    • +
      +

      issue

      +
      CompletableFuture<TxResult> issue(org.bukkit.plugin.Plugin caller, + Account to, + long amount, + String type, + String memo)
      +
      Creates coins: Mint → to.
      +
      +
    • +
    • +
      +

      destroy

      +
      CompletableFuture<TxResult> destroy(org.bukkit.plugin.Plugin caller, + Account from, + long amount, + String type, + String memo)
      +
      Destroys coins: from → Mint.
      +
      +
    • +
    • +
      +

      transaction

      +
      TransactionBuilder transaction(org.bukkit.plugin.Plugin caller, + String type, + String memo)
      +
      Starts a multi-leg transaction. Use this whenever you need a reference.
      +
      +
    • +
    • +
      +

      findByReference

      +
      CompletableFuture<Optional<TxRecord>> findByReference(org.bukkit.plugin.Plugin caller, + String reference)
      +
      Finds this plugin's transaction by its reference, for crash recovery.
      +
      +
    • +
    • +
      +

      history

      +
      CompletableFuture<List<TxRecord>> history(Account account, + int limit, + long beforeTxId)
      +
      An account's transactions, newest first. Pass Long.MAX_VALUE as beforeTxId for the first page.
      +
      +
    • +
    • +
      +

      stats

      +
      Stats stats()
      +
      Instant economy-wide snapshot.
      +
      +
    • +
    • +
      +

      policy

      +
      PolicyStatus policy(org.bukkit.plugin.Plugin caller)
      +
      The caller's remaining limits today.
      +
      +
    • +
    • +
      +

      monetaryPolicy

      +
      Optional<MonetaryPolicy> monetaryPolicy()
      +
      The registered MonetaryPolicy service with the highest priority, if any.
      +
      +
    • +
    • +
      +

      alert

      +
      void alert(org.bukkit.plugin.Plugin source, + Severity severity, + String code, + String message)
      +
      Raises an alert for owners. Fires CapitalAlertEvent safely from any thread.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/Currency.html b/docs/1.0.0/com/patelheet/capitalengine/api/Currency.html new file mode 100644 index 0000000..8ac2973 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/Currency.html @@ -0,0 +1,207 @@ + + + + +Currency (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Interface Currency

+
+
+
+
public interface Currency
+
The server's single currency. Amounts are long counts of the smallest unit.
+
+
+
    + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    int
    + +
    +
    Decimal places (2 means 12345 is 123.45).
    +
    + +
    format(long amount)
    +
    +
    Formats using the owner's configured format, for example "123.45 coins".
    +
    +
    long
    +
    parse(String text)
    +
    +
    Parses player input such as "12", "1.5", "1.5k" or "2m".
    +
    + + +
    +
    Plural name, for example "coins".
    +
    + + +
    +
    Singular name, for example "coin".
    +
    + + +
    +
    Symbol, for example "⛁".
    +
    +
    +
    +
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      singular

      +
      String singular()
      +
      Singular name, for example "coin".
      +
      +
    • +
    • +
      +

      plural

      +
      String plural()
      +
      Plural name, for example "coins".
      +
      +
    • +
    • +
      +

      symbol

      +
      String symbol()
      +
      Symbol, for example "⛁".
      +
      +
    • +
    • +
      +

      decimals

      +
      int decimals()
      +
      Decimal places (2 means 12345 is 123.45).
      +
      +
    • +
    • +
      +

      format

      +
      String format(long amount)
      +
      Formats using the owner's configured format, for example "123.45 coins".
      +
      +
    • +
    • +
      +

      parse

      +
      long parse(String text)
      +
      Parses player input such as "12", "1.5", "1.5k" or "2m".
      +
      +
      Returns:
      +
      the amount in the smallest unit
      +
      Throws:
      +
      IllegalArgumentException - if the text isn't a valid amount for this currency
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/Failure.html b/docs/1.0.0/com/patelheet/capitalengine/api/Failure.html new file mode 100644 index 0000000..df5a59e --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/Failure.html @@ -0,0 +1,325 @@ + + + + +Failure (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Enum Class Failure

+
+
java.lang.Object +
java.lang.Enum<Failure> +
com.patelheet.capitalengine.api.Failure
+
+
+
+
+
All Implemented Interfaces:
+
Serializable, Comparable<Failure>, Constable
+
+
+
public enum Failure +extends Enum<Failure>
+
Why a mutation failed. New values are only ever added at the end.
+
+
+ +
+
+
    + +
  • +
    +

    Enum Constant Details

    +
      +
    • +
      +

      NONE

      +
      public static final Failure NONE
      +
      Not a failure.
      +
      +
    • +
    • +
      +

      INSUFFICIENT_FUNDS

      +
      public static final Failure INSUFFICIENT_FUNDS
      +
      An account would go below zero.
      +
      +
    • +
    • +
      +

      POLICY_LIMIT

      +
      public static final Failure POLICY_LIMIT
      +
      The caller's owner-set daily limit would be exceeded.
      +
      +
    • +
    • +
      +

      DENIED

      +
      public static final Failure DENIED
      +
      The owner denied this plugin from moving money this way.
      +
      +
    • +
    • +
      +

      INVALID_AMOUNT

      +
      public static final Failure INVALID_AMOUNT
      +
      Zero, negative or overflowing amount, or a bad type/memo.
      +
      +
    • +
    • +
      +

      NO_ACCOUNT

      +
      public static final Failure NO_ACCOUNT
      +
      An account doesn't exist.
      +
      +
    • +
    • +
      +

      NOT_ACCOUNT_OWNER

      +
      public static final Failure NOT_ACCOUNT_OWNER
      +
      Tried to take money out of another plugin's account, or out of the Treasury directly.
      +
      +
    • +
    • +
      +

      DUPLICATE_REFERENCE

      +
      public static final Failure DUPLICATE_REFERENCE
      +
      The reference was already used by this plugin; TxResult.txId() is the existing transaction. Treat as success.
      +
      +
    • +
    • +
      +

      ECONOMY_PAUSED

      +
      public static final Failure ECONOMY_PAUSED
      +
      Core can't reach its database right now.
      +
      +
    • +
    • +
      +

      INTERNAL

      +
      public static final Failure INTERNAL
      +
      Unexpected error inside core.
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      values

      +
      public static Failure[] values()
      +
      Returns an array containing the constants of this enum class, in +the order they are declared.
      +
      +
      Returns:
      +
      an array containing the constants of this enum class, in the order they are declared
      +
      +
      +
    • +
    • +
      +

      valueOf

      +
      public static Failure valueOf(String name)
      +
      Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
      +
      +
      Parameters:
      +
      name - the name of the enum constant to be returned.
      +
      Returns:
      +
      the enum constant with the specified name
      +
      Throws:
      +
      IllegalArgumentException - if this enum class has no constant with the specified name
      +
      NullPointerException - if the argument is null
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/PluginFlow.html b/docs/1.0.0/com/patelheet/capitalengine/api/PluginFlow.html new file mode 100644 index 0000000..05f1af0 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/PluginFlow.html @@ -0,0 +1,328 @@ + + + + +PluginFlow (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Record Class PluginFlow

+
+
java.lang.Object +
java.lang.Record +
com.patelheet.capitalengine.api.PluginFlow
+
+
+
+
+
Record Components:
+
issued - newly created coins
+
destroyed - destroyed coins
+
treasuryIn - coins paid into the Treasury
+
treasuryOut - coins paid out of the Treasury
+
transferred - coins moved between ordinary accounts
+
+
+
public record PluginFlow(long issued, long destroyed, long treasuryIn, long treasuryOut, long transferred) +extends Record
+
One plugin's money flows for the current economic day.
+
+
+
    + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    PluginFlow(long issued, + long destroyed, + long treasuryIn, + long treasuryOut, + long transferred)
    +
    +
    Creates an instance of a PluginFlow record class.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    long
    + +
    +
    Returns the value of the destroyed record component.
    +
    +
    final boolean
    + +
    +
    Indicates whether some other object is "equal to" this one.
    +
    +
    final int
    + +
    +
    Returns a hash code value for this object.
    +
    +
    long
    + +
    +
    Returns the value of the issued record component.
    +
    +
    final String
    + +
    +
    Returns a string representation of this record class.
    +
    +
    long
    + +
    +
    Returns the value of the transferred record component.
    +
    +
    long
    + +
    +
    Returns the value of the treasuryIn record component.
    +
    +
    long
    + +
    +
    Returns the value of the treasuryOut record component.
    +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      PluginFlow

      +
      public PluginFlow(long issued, + long destroyed, + long treasuryIn, + long treasuryOut, + long transferred)
      +
      Creates an instance of a PluginFlow record class.
      +
      +
      Parameters:
      +
      issued - the value for the issued record component
      +
      destroyed - the value for the destroyed record component
      +
      treasuryIn - the value for the treasuryIn record component
      +
      treasuryOut - the value for the treasuryOut record component
      +
      transferred - the value for the transferred record component
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      toString

      +
      public final String toString()
      +
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      +
      +
      Specified by:
      +
      toString in class Record
      +
      Returns:
      +
      a string representation of this object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public final int hashCode()
      +
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      +
      +
      Specified by:
      +
      hashCode in class Record
      +
      Returns:
      +
      a hash code value for this object
      +
      +
      +
    • +
    • +
      +

      equals

      +
      public final boolean equals(Object o)
      +
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
      +
      +
      Specified by:
      +
      equals in class Record
      +
      Parameters:
      +
      o - the object with which to compare
      +
      Returns:
      +
      true if this object is the same as the o argument; false otherwise.
      +
      +
      +
    • +
    • +
      +

      issued

      +
      public long issued()
      +
      Returns the value of the issued record component.
      +
      +
      Returns:
      +
      the value of the issued record component
      +
      +
      +
    • +
    • +
      +

      destroyed

      +
      public long destroyed()
      +
      Returns the value of the destroyed record component.
      +
      +
      Returns:
      +
      the value of the destroyed record component
      +
      +
      +
    • +
    • +
      +

      treasuryIn

      +
      public long treasuryIn()
      +
      Returns the value of the treasuryIn record component.
      +
      +
      Returns:
      +
      the value of the treasuryIn record component
      +
      +
      +
    • +
    • +
      +

      treasuryOut

      +
      public long treasuryOut()
      +
      Returns the value of the treasuryOut record component.
      +
      +
      Returns:
      +
      the value of the treasuryOut record component
      +
      +
      +
    • +
    • +
      +

      transferred

      +
      public long transferred()
      +
      Returns the value of the transferred record component.
      +
      +
      Returns:
      +
      the value of the transferred record component
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/PolicyStatus.html b/docs/1.0.0/com/patelheet/capitalengine/api/PolicyStatus.html new file mode 100644 index 0000000..b83fa6d --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/PolicyStatus.html @@ -0,0 +1,288 @@ + + + + +PolicyStatus (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Record Class PolicyStatus

+
+
java.lang.Object +
java.lang.Record +
com.patelheet.capitalengine.api.PolicyStatus
+
+
+
+
+
Record Components:
+
issueRemainingToday - coins it may still create today
+
treasuryRemainingToday - coins it may still take from the Treasury today
+
denied - the owner has denied this plugin from moving money without a counterparty
+
+
+
public record PolicyStatus(long issueRemainingToday, long treasuryRemainingToday, boolean denied) +extends Record
+
A plugin's remaining owner-set limits today. Long.MAX_VALUE means unlimited.
+
+
+
    + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    PolicyStatus(long issueRemainingToday, + long treasuryRemainingToday, + boolean denied)
    +
    +
    Creates an instance of a PolicyStatus record class.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    boolean
    + +
    +
    Returns the value of the denied record component.
    +
    +
    final boolean
    + +
    +
    Indicates whether some other object is "equal to" this one.
    +
    +
    final int
    + +
    +
    Returns a hash code value for this object.
    +
    +
    long
    + +
    +
    Returns the value of the issueRemainingToday record component.
    +
    +
    final String
    + +
    +
    Returns a string representation of this record class.
    +
    +
    long
    + +
    +
    Returns the value of the treasuryRemainingToday record component.
    +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      PolicyStatus

      +
      public PolicyStatus(long issueRemainingToday, + long treasuryRemainingToday, + boolean denied)
      +
      Creates an instance of a PolicyStatus record class.
      +
      +
      Parameters:
      +
      issueRemainingToday - the value for the issueRemainingToday record component
      +
      treasuryRemainingToday - the value for the treasuryRemainingToday record component
      +
      denied - the value for the denied record component
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      toString

      +
      public final String toString()
      +
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      +
      +
      Specified by:
      +
      toString in class Record
      +
      Returns:
      +
      a string representation of this object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public final int hashCode()
      +
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      +
      +
      Specified by:
      +
      hashCode in class Record
      +
      Returns:
      +
      a hash code value for this object
      +
      +
      +
    • +
    • +
      +

      equals

      +
      public final boolean equals(Object o)
      +
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
      +
      +
      Specified by:
      +
      equals in class Record
      +
      Parameters:
      +
      o - the object with which to compare
      +
      Returns:
      +
      true if this object is the same as the o argument; false otherwise.
      +
      +
      +
    • +
    • +
      +

      issueRemainingToday

      +
      public long issueRemainingToday()
      +
      Returns the value of the issueRemainingToday record component.
      +
      +
      Returns:
      +
      the value of the issueRemainingToday record component
      +
      +
      +
    • +
    • +
      +

      treasuryRemainingToday

      +
      public long treasuryRemainingToday()
      +
      Returns the value of the treasuryRemainingToday record component.
      +
      +
      Returns:
      +
      the value of the treasuryRemainingToday record component
      +
      +
      +
    • +
    • +
      +

      denied

      +
      public boolean denied()
      +
      Returns the value of the denied record component.
      +
      +
      Returns:
      +
      the value of the denied record component
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/Posting.html b/docs/1.0.0/com/patelheet/capitalengine/api/Posting.html new file mode 100644 index 0000000..ffb2bce --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/Posting.html @@ -0,0 +1,268 @@ + + + + +Posting (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Record Class Posting

+
+
java.lang.Object +
java.lang.Record +
com.patelheet.capitalengine.api.Posting
+
+
+
+
+
Record Components:
+
accountId - the account (the Mint's fixed id for created/destroyed money)
+
amount - positive = money in, negative = money out
+
+
+
public record Posting(UUID accountId, long amount) +extends Record
+
One signed leg of a transaction. The postings of a transaction always sum to zero.
+
+
+
    + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    Posting(UUID accountId, + long amount)
    +
    +
    Creates an instance of a Posting record class.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + + +
    +
    Returns the value of the accountId record component.
    +
    +
    long
    + +
    +
    Returns the value of the amount record component.
    +
    +
    final boolean
    + +
    +
    Indicates whether some other object is "equal to" this one.
    +
    +
    final int
    + +
    +
    Returns a hash code value for this object.
    +
    +
    final String
    + +
    +
    Returns a string representation of this record class.
    +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      Posting

      +
      public Posting(UUID accountId, + long amount)
      +
      Creates an instance of a Posting record class.
      +
      +
      Parameters:
      +
      accountId - the value for the accountId record component
      +
      amount - the value for the amount record component
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      toString

      +
      public final String toString()
      +
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      +
      +
      Specified by:
      +
      toString in class Record
      +
      Returns:
      +
      a string representation of this object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public final int hashCode()
      +
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      +
      +
      Specified by:
      +
      hashCode in class Record
      +
      Returns:
      +
      a hash code value for this object
      +
      +
      +
    • +
    • +
      +

      equals

      +
      public final boolean equals(Object o)
      +
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      +
      +
      Specified by:
      +
      equals in class Record
      +
      Parameters:
      +
      o - the object with which to compare
      +
      Returns:
      +
      true if this object is the same as the o argument; false otherwise.
      +
      +
      +
    • +
    • +
      +

      accountId

      +
      public UUID accountId()
      +
      Returns the value of the accountId record component.
      +
      +
      Returns:
      +
      the value of the accountId record component
      +
      +
      +
    • +
    • +
      +

      amount

      +
      public long amount()
      +
      Returns the value of the amount record component.
      +
      +
      Returns:
      +
      the value of the amount record component
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/Severity.html b/docs/1.0.0/com/patelheet/capitalengine/api/Severity.html new file mode 100644 index 0000000..5942e28 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/Severity.html @@ -0,0 +1,239 @@ + + + + +Severity (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Enum Class Severity

+
+
java.lang.Object +
java.lang.Enum<Severity> +
com.patelheet.capitalengine.api.Severity
+
+
+
+
+
All Implemented Interfaces:
+
Serializable, Comparable<Severity>, Constable
+
+
+
public enum Severity +extends Enum<Severity>
+
How serious an alert is.
+
+
+ +
+
+
    + +
  • +
    +

    Enum Constant Details

    +
      +
    • +
      +

      INFO

      +
      public static final Severity INFO
      +
      +
    • +
    • +
      +

      WARN

      +
      public static final Severity WARN
      +
      +
    • +
    • +
      +

      CRITICAL

      +
      public static final Severity CRITICAL
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      values

      +
      public static Severity[] values()
      +
      Returns an array containing the constants of this enum class, in +the order they are declared.
      +
      +
      Returns:
      +
      an array containing the constants of this enum class, in the order they are declared
      +
      +
      +
    • +
    • +
      +

      valueOf

      +
      public static Severity valueOf(String name)
      +
      Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
      +
      +
      Parameters:
      +
      name - the name of the enum constant to be returned.
      +
      Returns:
      +
      the enum constant with the specified name
      +
      Throws:
      +
      IllegalArgumentException - if this enum class has no constant with the specified name
      +
      NullPointerException - if the argument is null
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/Stats.html b/docs/1.0.0/com/patelheet/capitalengine/api/Stats.html new file mode 100644 index 0000000..5f8204c --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/Stats.html @@ -0,0 +1,488 @@ + + + + +Stats (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Record Class Stats

+
+
java.lang.Object +
java.lang.Record +
com.patelheet.capitalengine.api.Stats
+
+
+
+
+
Record Components:
+
moneySupply - every coin that exists (the Mint's balance, negated)
+
activeMoneySupply - moneySupply minus balances of players inactive for the dormant period
+
treasuryBalance - the Treasury's balance
+
issuedToday - coins created today
+
destroyedToday - coins destroyed today
+
treasuryInToday - coins paid into the Treasury today
+
treasuryOutToday - coins paid out of the Treasury today
+
flowsToday - today's flows by source plugin
+
activePlayersToday - players with at least 5 active (non-AFK) minutes today
+
activeMinutesToday - total active minutes today
+
avgActivePlayers7d - average of activePlayersToday over the last 7 days
+
dayIndex - current economic day
+
weekIndex - current economic week
+
+
+
public record Stats(long moneySupply, long activeMoneySupply, long treasuryBalance, long issuedToday, long destroyedToday, long treasuryInToday, long treasuryOutToday, Map<String,PluginFlow> flowsToday, int activePlayersToday, long activeMinutesToday, double avgActivePlayers7d, long dayIndex, long weekIndex) +extends Record
+
Instant economy-wide snapshot, read from memory.
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      Stats

      +
      public Stats(long moneySupply, + long activeMoneySupply, + long treasuryBalance, + long issuedToday, + long destroyedToday, + long treasuryInToday, + long treasuryOutToday, + Map<String,PluginFlow> flowsToday, + int activePlayersToday, + long activeMinutesToday, + double avgActivePlayers7d, + long dayIndex, + long weekIndex)
      +
      Creates an instance of a Stats record class.
      +
      +
      Parameters:
      +
      moneySupply - the value for the moneySupply record component
      +
      activeMoneySupply - the value for the activeMoneySupply record component
      +
      treasuryBalance - the value for the treasuryBalance record component
      +
      issuedToday - the value for the issuedToday record component
      +
      destroyedToday - the value for the destroyedToday record component
      +
      treasuryInToday - the value for the treasuryInToday record component
      +
      treasuryOutToday - the value for the treasuryOutToday record component
      +
      flowsToday - the value for the flowsToday record component
      +
      activePlayersToday - the value for the activePlayersToday record component
      +
      activeMinutesToday - the value for the activeMinutesToday record component
      +
      avgActivePlayers7d - the value for the avgActivePlayers7d record component
      +
      dayIndex - the value for the dayIndex record component
      +
      weekIndex - the value for the weekIndex record component
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      toString

      +
      public final String toString()
      +
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      +
      +
      Specified by:
      +
      toString in class Record
      +
      Returns:
      +
      a string representation of this object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public final int hashCode()
      +
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      +
      +
      Specified by:
      +
      hashCode in class Record
      +
      Returns:
      +
      a hash code value for this object
      +
      +
      +
    • +
    • +
      +

      equals

      +
      public final boolean equals(Object o)
      +
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      +
      +
      Specified by:
      +
      equals in class Record
      +
      Parameters:
      +
      o - the object with which to compare
      +
      Returns:
      +
      true if this object is the same as the o argument; false otherwise.
      +
      +
      +
    • +
    • +
      +

      moneySupply

      +
      public long moneySupply()
      +
      Returns the value of the moneySupply record component.
      +
      +
      Returns:
      +
      the value of the moneySupply record component
      +
      +
      +
    • +
    • +
      +

      activeMoneySupply

      +
      public long activeMoneySupply()
      +
      Returns the value of the activeMoneySupply record component.
      +
      +
      Returns:
      +
      the value of the activeMoneySupply record component
      +
      +
      +
    • +
    • +
      +

      treasuryBalance

      +
      public long treasuryBalance()
      +
      Returns the value of the treasuryBalance record component.
      +
      +
      Returns:
      +
      the value of the treasuryBalance record component
      +
      +
      +
    • +
    • +
      +

      issuedToday

      +
      public long issuedToday()
      +
      Returns the value of the issuedToday record component.
      +
      +
      Returns:
      +
      the value of the issuedToday record component
      +
      +
      +
    • +
    • +
      +

      destroyedToday

      +
      public long destroyedToday()
      +
      Returns the value of the destroyedToday record component.
      +
      +
      Returns:
      +
      the value of the destroyedToday record component
      +
      +
      +
    • +
    • +
      +

      treasuryInToday

      +
      public long treasuryInToday()
      +
      Returns the value of the treasuryInToday record component.
      +
      +
      Returns:
      +
      the value of the treasuryInToday record component
      +
      +
      +
    • +
    • +
      +

      treasuryOutToday

      +
      public long treasuryOutToday()
      +
      Returns the value of the treasuryOutToday record component.
      +
      +
      Returns:
      +
      the value of the treasuryOutToday record component
      +
      +
      +
    • +
    • +
      +

      flowsToday

      +
      public Map<String,PluginFlow> flowsToday()
      +
      Returns the value of the flowsToday record component.
      +
      +
      Returns:
      +
      the value of the flowsToday record component
      +
      +
      +
    • +
    • +
      +

      activePlayersToday

      +
      public int activePlayersToday()
      +
      Returns the value of the activePlayersToday record component.
      +
      +
      Returns:
      +
      the value of the activePlayersToday record component
      +
      +
      +
    • +
    • +
      +

      activeMinutesToday

      +
      public long activeMinutesToday()
      +
      Returns the value of the activeMinutesToday record component.
      +
      +
      Returns:
      +
      the value of the activeMinutesToday record component
      +
      +
      +
    • +
    • +
      +

      avgActivePlayers7d

      +
      public double avgActivePlayers7d()
      +
      Returns the value of the avgActivePlayers7d record component.
      +
      +
      Returns:
      +
      the value of the avgActivePlayers7d record component
      +
      +
      +
    • +
    • +
      +

      dayIndex

      +
      public long dayIndex()
      +
      Returns the value of the dayIndex record component.
      +
      +
      Returns:
      +
      the value of the dayIndex record component
      +
      +
      +
    • +
    • +
      +

      weekIndex

      +
      public long weekIndex()
      +
      Returns the value of the weekIndex record component.
      +
      +
      Returns:
      +
      the value of the weekIndex record component
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/TransactionBuilder.html b/docs/1.0.0/com/patelheet/capitalengine/api/TransactionBuilder.html new file mode 100644 index 0000000..506e8d8 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/TransactionBuilder.html @@ -0,0 +1,223 @@ + + + + +TransactionBuilder (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Interface TransactionBuilder

+
+
+
+
public interface TransactionBuilder
+
Builds a multi-leg transaction that applies completely or not at all.
+
+
+ +
+
+ +
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/TxRecord.html b/docs/1.0.0/com/patelheet/capitalengine/api/TxRecord.html new file mode 100644 index 0000000..e585368 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/TxRecord.html @@ -0,0 +1,414 @@ + + + + +TxRecord (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Record Class TxRecord

+
+
java.lang.Object +
java.lang.Record +
com.patelheet.capitalengine.api.TxRecord
+
+
+
+
+
Record Components:
+
txId - ledger sequence number
+
time - commit time
+
type - dotted type, for example market.trade
+
memo - plain-language description players see
+
sourcePlugin - the plugin that caused it
+
actor - the player who caused it, if known
+
reference - idempotency key, if any
+
reversesTxId - the transaction this one reverses, if any
+
postings - the legs; they sum to zero
+
+
+
public record TxRecord(long txId, Instant time, String type, String memo, String sourcePlugin, @Nullable UUID actor, @Nullable String reference, @Nullable Long reversesTxId, List<Posting> postings) +extends Record
+
A committed transaction, as returned by history lookups and carried by events.
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      TxRecord

      +
      public TxRecord(long txId, + Instant time, + String type, + String memo, + String sourcePlugin, + @Nullable + @Nullable UUID actor, + @Nullable + @Nullable String reference, + @Nullable + @Nullable Long reversesTxId, + List<Posting> postings)
      +
      Creates an instance of a TxRecord record class.
      +
      +
      Parameters:
      +
      txId - the value for the txId record component
      +
      time - the value for the time record component
      +
      type - the value for the type record component
      +
      memo - the value for the memo record component
      +
      sourcePlugin - the value for the sourcePlugin record component
      +
      actor - the value for the actor record component
      +
      reference - the value for the reference record component
      +
      reversesTxId - the value for the reversesTxId record component
      +
      postings - the value for the postings record component
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      toString

      +
      public final String toString()
      +
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      +
      +
      Specified by:
      +
      toString in class Record
      +
      Returns:
      +
      a string representation of this object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public final int hashCode()
      +
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      +
      +
      Specified by:
      +
      hashCode in class Record
      +
      Returns:
      +
      a hash code value for this object
      +
      +
      +
    • +
    • +
      +

      equals

      +
      public final boolean equals(Object o)
      +
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      +
      +
      Specified by:
      +
      equals in class Record
      +
      Parameters:
      +
      o - the object with which to compare
      +
      Returns:
      +
      true if this object is the same as the o argument; false otherwise.
      +
      +
      +
    • +
    • +
      +

      txId

      +
      public long txId()
      +
      Returns the value of the txId record component.
      +
      +
      Returns:
      +
      the value of the txId record component
      +
      +
      +
    • +
    • +
      +

      time

      +
      public Instant time()
      +
      Returns the value of the time record component.
      +
      +
      Returns:
      +
      the value of the time record component
      +
      +
      +
    • +
    • +
      +

      type

      +
      public String type()
      +
      Returns the value of the type record component.
      +
      +
      Returns:
      +
      the value of the type record component
      +
      +
      +
    • +
    • +
      +

      memo

      +
      public String memo()
      +
      Returns the value of the memo record component.
      +
      +
      Returns:
      +
      the value of the memo record component
      +
      +
      +
    • +
    • +
      +

      sourcePlugin

      +
      public String sourcePlugin()
      +
      Returns the value of the sourcePlugin record component.
      +
      +
      Returns:
      +
      the value of the sourcePlugin record component
      +
      +
      +
    • +
    • +
      +

      actor

      +
      @Nullable +public @Nullable UUID actor()
      +
      Returns the value of the actor record component.
      +
      +
      Returns:
      +
      the value of the actor record component
      +
      +
      +
    • +
    • +
      +

      reference

      +
      @Nullable +public @Nullable String reference()
      +
      Returns the value of the reference record component.
      +
      +
      Returns:
      +
      the value of the reference record component
      +
      +
      +
    • +
    • +
      +

      reversesTxId

      +
      @Nullable +public @Nullable Long reversesTxId()
      +
      Returns the value of the reversesTxId record component.
      +
      +
      Returns:
      +
      the value of the reversesTxId record component
      +
      +
      +
    • +
    • +
      +

      postings

      +
      public List<Posting> postings()
      +
      Returns the value of the postings record component.
      +
      +
      Returns:
      +
      the value of the postings record component
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/TxResult.html b/docs/1.0.0/com/patelheet/capitalengine/api/TxResult.html new file mode 100644 index 0000000..7f201f4 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/TxResult.html @@ -0,0 +1,348 @@ + + + + +TxResult (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Record Class TxResult

+
+
java.lang.Object +
java.lang.Record +
com.patelheet.capitalengine.api.TxResult
+
+
+
+
+
Record Components:
+
success - whether the transaction was applied
+
txId - the transaction id (the existing one for Failure.DUPLICATE_REFERENCE), or 0
+
failure - Failure.NONE on success
+
message - short plain-language reason, safe to show players
+
fromTreasury - part of a serverPay paid from the Treasury
+
issued - part of a serverPay or issue that was newly created
+
+
+
public record TxResult(boolean success, long txId, Failure failure, String message, long fromTreasury, long issued) +extends Record
+
Outcome of a mutation.
+
+
+
    + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    TxResult(boolean success, + long txId, + Failure failure, + String message, + long fromTreasury, + long issued)
    +
    +
    Creates an instance of a TxResult record class.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    final boolean
    + +
    +
    Indicates whether some other object is "equal to" this one.
    +
    + + +
    +
    Returns the value of the failure record component.
    +
    +
    long
    + +
    +
    Returns the value of the fromTreasury record component.
    +
    +
    final int
    + +
    +
    Returns a hash code value for this object.
    +
    +
    long
    + +
    +
    Returns the value of the issued record component.
    +
    + + +
    +
    Returns the value of the message record component.
    +
    +
    boolean
    + +
    +
    Returns the value of the success record component.
    +
    +
    final String
    + +
    +
    Returns a string representation of this record class.
    +
    +
    long
    + +
    +
    Returns the value of the txId record component.
    +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      TxResult

      +
      public TxResult(boolean success, + long txId, + Failure failure, + String message, + long fromTreasury, + long issued)
      +
      Creates an instance of a TxResult record class.
      +
      +
      Parameters:
      +
      success - the value for the success record component
      +
      txId - the value for the txId record component
      +
      failure - the value for the failure record component
      +
      message - the value for the message record component
      +
      fromTreasury - the value for the fromTreasury record component
      +
      issued - the value for the issued record component
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      toString

      +
      public final String toString()
      +
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      +
      +
      Specified by:
      +
      toString in class Record
      +
      Returns:
      +
      a string representation of this object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public final int hashCode()
      +
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      +
      +
      Specified by:
      +
      hashCode in class Record
      +
      Returns:
      +
      a hash code value for this object
      +
      +
      +
    • +
    • +
      +

      equals

      +
      public final boolean equals(Object o)
      +
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      +
      +
      Specified by:
      +
      equals in class Record
      +
      Parameters:
      +
      o - the object with which to compare
      +
      Returns:
      +
      true if this object is the same as the o argument; false otherwise.
      +
      +
      +
    • +
    • +
      +

      success

      +
      public boolean success()
      +
      Returns the value of the success record component.
      +
      +
      Returns:
      +
      the value of the success record component
      +
      +
      +
    • +
    • +
      +

      txId

      +
      public long txId()
      +
      Returns the value of the txId record component.
      +
      +
      Returns:
      +
      the value of the txId record component
      +
      +
      +
    • +
    • +
      +

      failure

      +
      public Failure failure()
      +
      Returns the value of the failure record component.
      +
      +
      Returns:
      +
      the value of the failure record component
      +
      +
      +
    • +
    • +
      +

      message

      +
      public String message()
      +
      Returns the value of the message record component.
      +
      +
      Returns:
      +
      the value of the message record component
      +
      +
      +
    • +
    • +
      +

      fromTreasury

      +
      public long fromTreasury()
      +
      Returns the value of the fromTreasury record component.
      +
      +
      Returns:
      +
      the value of the fromTreasury record component
      +
      +
      +
    • +
    • +
      +

      issued

      +
      public long issued()
      +
      Returns the value of the issued record component.
      +
      +
      Returns:
      +
      the value of the issued record component
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalAlertEvent.html b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalAlertEvent.html new file mode 100644 index 0000000..1b4b6bb --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalAlertEvent.html @@ -0,0 +1,262 @@ + + + + +CapitalAlertEvent (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class CapitalAlertEvent

+
+
java.lang.Object +
org.bukkit.event.Event +
com.patelheet.capitalengine.api.event.CapitalAlertEvent
+
+
+
+
+
public class CapitalAlertEvent +extends org.bukkit.event.Event
+
An alert for owners, raised with CapitalApi.alert. Dashboards listen. May fire on any thread.
+
+
+
    + +
  • +
    +

    Nested Class Summary

    +
    +

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    +org.bukkit.event.Event.Result
    +
    +
  • + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    CapitalAlertEvent(boolean async, + String source, + Severity severity, + String code, + String message)
    +
    +
    Creates the event.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + + +
    +
    Short machine code, for example ledger.audit.
    +
    +
    static org.bukkit.event.HandlerList
    + +
    +
    Bukkit handler list.
    +
    +
    @NotNull org.bukkit.event.HandlerList
    + +
     
    + + +
    +
    Plain-language message.
    +
    + + +
    +
    Severity.
    +
    + + +
    +
    Name of the plugin that raised it.
    +
    +
    +
    +
    +
    +

    Methods inherited from class org.bukkit.event.Event

    +callEvent, getEventName, isAsynchronous
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      CapitalAlertEvent

      +
      public CapitalAlertEvent(boolean async, + String source, + Severity severity, + String code, + String message)
      +
      Creates the event.
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      source

      +
      public String source()
      +
      Name of the plugin that raised it.
      +
      +
    • +
    • +
      +

      severity

      +
      public Severity severity()
      +
      Severity.
      +
      +
    • +
    • +
      +

      code

      +
      public String code()
      +
      Short machine code, for example ledger.audit.
      +
      +
    • +
    • +
      +

      message

      +
      public String message()
      +
      Plain-language message.
      +
      +
    • +
    • +
      +

      getHandlers

      +
      @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
      +
      +
      Specified by:
      +
      getHandlers in class org.bukkit.event.Event
      +
      +
      +
    • +
    • +
      +

      getHandlerList

      +
      public static org.bukkit.event.HandlerList getHandlerList()
      +
      Bukkit handler list.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalAuditEvent.html b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalAuditEvent.html new file mode 100644 index 0000000..b71992a --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalAuditEvent.html @@ -0,0 +1,232 @@ + + + + +CapitalAuditEvent (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class CapitalAuditEvent

+
+
java.lang.Object +
org.bukkit.event.Event +
com.patelheet.capitalengine.api.event.CapitalAuditEvent
+
+
+
+
+
public class CapitalAuditEvent +extends org.bukkit.event.Event
+
Fired asynchronously after the nightly ledger self-check.
+
+
+
    + +
  • +
    +

    Nested Class Summary

    +
    +

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    +org.bukkit.event.Event.Result
    +
    +
  • + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    CapitalAuditEvent(boolean ok, + List<String> problems)
    +
    +
    Creates the event (async).
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    static org.bukkit.event.HandlerList
    + +
    +
    Bukkit handler list.
    +
    +
    @NotNull org.bukkit.event.HandlerList
    + +
     
    +
    boolean
    +
    ok()
    +
    +
    Whether the books balanced.
    +
    + + +
    +
    What was wrong; empty when ok().
    +
    +
    +
    +
    +
    +

    Methods inherited from class org.bukkit.event.Event

    +callEvent, getEventName, isAsynchronous
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      CapitalAuditEvent

      +
      public CapitalAuditEvent(boolean ok, + List<String> problems)
      +
      Creates the event (async).
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      ok

      +
      public boolean ok()
      +
      Whether the books balanced.
      +
      +
    • +
    • +
      +

      problems

      +
      public List<String> problems()
      +
      What was wrong; empty when ok().
      +
      +
    • +
    • +
      +

      getHandlers

      +
      @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
      +
      +
      Specified by:
      +
      getHandlers in class org.bukkit.event.Event
      +
      +
      +
    • +
    • +
      +

      getHandlerList

      +
      public static org.bukkit.event.HandlerList getHandlerList()
      +
      Bukkit handler list.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalDayEvent.html b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalDayEvent.html new file mode 100644 index 0000000..40c10b6 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalDayEvent.html @@ -0,0 +1,261 @@ + + + + +CapitalDayEvent (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class CapitalDayEvent

+
+
java.lang.Object +
org.bukkit.event.Event +
com.patelheet.capitalengine.api.event.CapitalDayEvent
+
+
+
+
+
public class CapitalDayEvent +extends org.bukkit.event.Event
+
Economic day boundary, on the main/global thread. Fires in order and exactly once per index. + catchUp means the boundary happened while the server was offline; skip payouts such as interest.
+
+
+
    + +
  • +
    +

    Nested Class Summary

    +
    +

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    +org.bukkit.event.Event.Result
    +
    +
  • + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    CapitalDayEvent(long dayIndex, + LocalDate date, + boolean catchUp, + Stats endedDay)
    +
    +
    Creates the event.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    boolean
    + +
    +
    Whether this boundary is being fired late after downtime.
    +
    + + +
    +
    Calendar date of the day that is starting.
    +
    +
    long
    + +
    +
    The day that is starting.
    +
    + + +
    +
    Final stats of the day that just ended, captured before the counters reset.
    +
    +
    static org.bukkit.event.HandlerList
    + +
    +
    Bukkit handler list.
    +
    +
    @NotNull org.bukkit.event.HandlerList
    + +
     
    +
    +
    +
    +
    +

    Methods inherited from class org.bukkit.event.Event

    +callEvent, getEventName, isAsynchronous
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      CapitalDayEvent

      +
      public CapitalDayEvent(long dayIndex, + LocalDate date, + boolean catchUp, + Stats endedDay)
      +
      Creates the event.
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      dayIndex

      +
      public long dayIndex()
      +
      The day that is starting.
      +
      +
    • +
    • +
      +

      date

      +
      public LocalDate date()
      +
      Calendar date of the day that is starting.
      +
      +
    • +
    • +
      +

      catchUp

      +
      public boolean catchUp()
      +
      Whether this boundary is being fired late after downtime.
      +
      +
    • +
    • +
      +

      endedDay

      +
      public Stats endedDay()
      +
      Final stats of the day that just ended, captured before the counters reset.
      +
      +
    • +
    • +
      +

      getHandlers

      +
      @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
      +
      +
      Specified by:
      +
      getHandlers in class org.bukkit.event.Event
      +
      +
      +
    • +
    • +
      +

      getHandlerList

      +
      public static org.bukkit.event.HandlerList getHandlerList()
      +
      Bukkit handler list.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.LimitKind.html b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.LimitKind.html new file mode 100644 index 0000000..9a40e25 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.LimitKind.html @@ -0,0 +1,243 @@ + + + + +CapitalPolicyLimitEvent.LimitKind (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Enum Class CapitalPolicyLimitEvent.LimitKind

+
+
java.lang.Object +
java.lang.Enum<CapitalPolicyLimitEvent.LimitKind> +
com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
+
+
+
+
+
All Implemented Interfaces:
+
Serializable, Comparable<CapitalPolicyLimitEvent.LimitKind>, Constable
+
+
+
Enclosing class:
+
CapitalPolicyLimitEvent
+
+
+
public static enum CapitalPolicyLimitEvent.LimitKind +extends Enum<CapitalPolicyLimitEvent.LimitKind>
+
Which limit was hit.
+
+
+ +
+
+
    + +
  • +
    +

    Enum Constant Details

    + +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      values

      +
      public static CapitalPolicyLimitEvent.LimitKind[] values()
      +
      Returns an array containing the constants of this enum class, in +the order they are declared.
      +
      +
      Returns:
      +
      an array containing the constants of this enum class, in the order they are declared
      +
      +
      +
    • +
    • +
      +

      valueOf

      +
      public static CapitalPolicyLimitEvent.LimitKind valueOf(String name)
      +
      Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
      +
      +
      Parameters:
      +
      name - the name of the enum constant to be returned.
      +
      Returns:
      +
      the enum constant with the specified name
      +
      Throws:
      +
      IllegalArgumentException - if this enum class has no constant with the specified name
      +
      NullPointerException - if the argument is null
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.html b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.html new file mode 100644 index 0000000..67d3b76 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.html @@ -0,0 +1,273 @@ + + + + +CapitalPolicyLimitEvent (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class CapitalPolicyLimitEvent

+
+
java.lang.Object +
org.bukkit.event.Event +
com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
+
+
+
+
+
public class CapitalPolicyLimitEvent +extends org.bukkit.event.Event
+
A call hit an owner-set cap or was denied. May fire on any thread.
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      CapitalPolicyLimitEvent

      +
      public CapitalPolicyLimitEvent(boolean async, + String plugin, + CapitalPolicyLimitEvent.LimitKind kind, + long requested, + long remaining)
      +
      Creates the event.
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      plugin

      +
      public String plugin()
      +
      The plugin that hit the limit.
      +
      +
    • +
    • +
      +

      kind

      + +
      Which limit.
      +
      +
    • +
    • +
      +

      requested

      +
      public long requested()
      +
      Coins it asked for.
      +
      +
    • +
    • +
      +

      remaining

      +
      public long remaining()
      +
      Coins it had left.
      +
      +
    • +
    • +
      +

      getHandlers

      +
      @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
      +
      +
      Specified by:
      +
      getHandlers in class org.bukkit.event.Event
      +
      +
      +
    • +
    • +
      +

      getHandlerList

      +
      public static org.bukkit.event.HandlerList getHandlerList()
      +
      Bukkit handler list.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalTransactionEvent.html b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalTransactionEvent.html new file mode 100644 index 0000000..241a702 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalTransactionEvent.html @@ -0,0 +1,218 @@ + + + + +CapitalTransactionEvent (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class CapitalTransactionEvent

+
+
java.lang.Object +
org.bukkit.event.Event +
com.patelheet.capitalengine.api.event.CapitalTransactionEvent
+
+
+
+
+
public class CapitalTransactionEvent +extends org.bukkit.event.Event
+
Fired asynchronously after each transaction is safely in the database.
+
+
+
    + +
  • +
    +

    Nested Class Summary

    +
    +

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    +org.bukkit.event.Event.Result
    +
    +
  • + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    + +
    +
    Creates the event (async).
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    static org.bukkit.event.HandlerList
    + +
    +
    Bukkit handler list.
    +
    +
    @NotNull org.bukkit.event.HandlerList
    + +
     
    + + +
    +
    The committed transaction.
    +
    +
    +
    +
    +
    +

    Methods inherited from class org.bukkit.event.Event

    +callEvent, getEventName, isAsynchronous
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      CapitalTransactionEvent

      +
      public CapitalTransactionEvent(TxRecord record)
      +
      Creates the event (async).
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      record

      +
      public TxRecord record()
      +
      The committed transaction.
      +
      +
    • +
    • +
      +

      getHandlers

      +
      @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
      +
      +
      Specified by:
      +
      getHandlers in class org.bukkit.event.Event
      +
      +
      +
    • +
    • +
      +

      getHandlerList

      +
      public static org.bukkit.event.HandlerList getHandlerList()
      +
      Bukkit handler list.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalWeekEvent.html b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalWeekEvent.html new file mode 100644 index 0000000..658fbbc --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/event/CapitalWeekEvent.html @@ -0,0 +1,232 @@ + + + + +CapitalWeekEvent (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class CapitalWeekEvent

+
+
java.lang.Object +
org.bukkit.event.Event +
com.patelheet.capitalengine.api.event.CapitalWeekEvent
+
+
+
+
+
public class CapitalWeekEvent +extends org.bukkit.event.Event
+
Economic week boundary, fired after the CapitalDayEvent that starts the new week.
+
+
+
    + +
  • +
    +

    Nested Class Summary

    +
    +

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    +org.bukkit.event.Event.Result
    +
    +
  • + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    CapitalWeekEvent(long weekIndex, + boolean catchUp)
    +
    +
    Creates the event.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    boolean
    + +
    +
    Whether this boundary is being fired late after downtime.
    +
    +
    static org.bukkit.event.HandlerList
    + +
    +
    Bukkit handler list.
    +
    +
    @NotNull org.bukkit.event.HandlerList
    + +
     
    +
    long
    + +
    +
    The week that is starting.
    +
    +
    +
    +
    +
    +

    Methods inherited from class org.bukkit.event.Event

    +callEvent, getEventName, isAsynchronous
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      CapitalWeekEvent

      +
      public CapitalWeekEvent(long weekIndex, + boolean catchUp)
      +
      Creates the event.
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      weekIndex

      +
      public long weekIndex()
      +
      The week that is starting.
      +
      +
    • +
    • +
      +

      catchUp

      +
      public boolean catchUp()
      +
      Whether this boundary is being fired late after downtime.
      +
      +
    • +
    • +
      +

      getHandlers

      +
      @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
      +
      +
      Specified by:
      +
      getHandlers in class org.bukkit.event.Event
      +
      +
      +
    • +
    • +
      +

      getHandlerList

      +
      public static org.bukkit.event.HandlerList getHandlerList()
      +
      Bukkit handler list.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/event/package-summary.html b/docs/1.0.0/com/patelheet/capitalengine/api/event/package-summary.html new file mode 100644 index 0000000..29dc848 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/event/package-summary.html @@ -0,0 +1,131 @@ + + + + +com.patelheet.capitalengine.api.event (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+
+

Package com.patelheet.capitalengine.api.event

+
+
+
package com.patelheet.capitalengine.api.event
+
+ +
+
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/event/package-tree.html b/docs/1.0.0/com/patelheet/capitalengine/api/event/package-tree.html new file mode 100644 index 0000000..363114f --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/event/package-tree.html @@ -0,0 +1,93 @@ + + + + +com.patelheet.capitalengine.api.event Class Hierarchy (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package com.patelheet.capitalengine.api.event

+
+Package Hierarchies: + +
+

Class Hierarchy

+ +
+
+

Enum Class Hierarchy

+ +
+
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/package-summary.html b/docs/1.0.0/com/patelheet/capitalengine/api/package-summary.html new file mode 100644 index 0000000..9433382 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/package-summary.html @@ -0,0 +1,159 @@ + + + + +com.patelheet.capitalengine.api (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+
+

Package com.patelheet.capitalengine.api

+
+
+
package com.patelheet.capitalengine.api
+
+
    +
  • + +
  • +
  • +
    +
    +
    +
    +
    Class
    +
    Description
    + +
    +
    A read-only view of one account.
    +
    + +
    +
    What an Account is, which decides who may take money out of it.
    +
    + +
    +
    Account lookup and creation.
    +
    + +
    +
    Entry point of the CapitalEngine API.
    +
    + +
    +
    The server's single currency.
    +
    + +
    +
    Why a mutation failed.
    +
    + +
    +
    One plugin's money flows for the current economic day.
    +
    + +
    +
    A plugin's remaining owner-set limits today.
    +
    + +
    +
    One signed leg of a transaction.
    +
    + +
    +
    How serious an alert is.
    +
    + +
    +
    Instant economy-wide snapshot, read from memory.
    +
    + +
    +
    Builds a multi-leg transaction that applies completely or not at all.
    +
    + +
    +
    A committed transaction, as returned by history lookups and carried by events.
    +
    + +
    +
    Outcome of a mutation.
    +
    +
    +
    +
    +
  • +
+
+
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/package-tree.html b/docs/1.0.0/com/patelheet/capitalengine/api/package-tree.html new file mode 100644 index 0000000..08b8c11 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/package-tree.html @@ -0,0 +1,105 @@ + + + + +com.patelheet.capitalengine.api Class Hierarchy (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package com.patelheet.capitalengine.api

+
+Package Hierarchies: + +
+

Interface Hierarchy

+ +
+
+

Enum Class Hierarchy

+ +
+
+

Record Class Hierarchy

+ +
+
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/service/Indicator.html b/docs/1.0.0/com/patelheet/capitalengine/api/service/Indicator.html new file mode 100644 index 0000000..016d06e --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/service/Indicator.html @@ -0,0 +1,308 @@ + + + + +Indicator (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Record Class Indicator

+
+
java.lang.Object +
java.lang.Record +
com.patelheet.capitalengine.api.service.Indicator
+
+
+
+
+
Record Components:
+
key - stable machine key
+
label - plain-language label
+
value - current value
+
unit - how to display it
+
+
+
public record Indicator(String key, String label, double value, Unit unit) +extends Record
+
A named number an add-on publishes for dashboards.
+
+
+
    + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    Indicator(String key, + String label, + double value, + Unit unit)
    +
    +
    Creates an instance of a Indicator record class.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    final boolean
    + +
    +
    Indicates whether some other object is "equal to" this one.
    +
    +
    final int
    + +
    +
    Returns a hash code value for this object.
    +
    + +
    key()
    +
    +
    Returns the value of the key record component.
    +
    + + +
    +
    Returns the value of the label record component.
    +
    +
    final String
    + +
    +
    Returns a string representation of this record class.
    +
    + + +
    +
    Returns the value of the unit record component.
    +
    +
    double
    + +
    +
    Returns the value of the value record component.
    +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      Indicator

      +
      public Indicator(String key, + String label, + double value, + Unit unit)
      +
      Creates an instance of a Indicator record class.
      +
      +
      Parameters:
      +
      key - the value for the key record component
      +
      label - the value for the label record component
      +
      value - the value for the value record component
      +
      unit - the value for the unit record component
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      toString

      +
      public final String toString()
      +
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      +
      +
      Specified by:
      +
      toString in class Record
      +
      Returns:
      +
      a string representation of this object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public final int hashCode()
      +
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      +
      +
      Specified by:
      +
      hashCode in class Record
      +
      Returns:
      +
      a hash code value for this object
      +
      +
      +
    • +
    • +
      +

      equals

      +
      public final boolean equals(Object o)
      +
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      +
      +
      Specified by:
      +
      equals in class Record
      +
      Parameters:
      +
      o - the object with which to compare
      +
      Returns:
      +
      true if this object is the same as the o argument; false otherwise.
      +
      +
      +
    • +
    • +
      +

      key

      +
      public String key()
      +
      Returns the value of the key record component.
      +
      +
      Returns:
      +
      the value of the key record component
      +
      +
      +
    • +
    • +
      +

      label

      +
      public String label()
      +
      Returns the value of the label record component.
      +
      +
      Returns:
      +
      the value of the label record component
      +
      +
      +
    • +
    • +
      +

      value

      +
      public double value()
      +
      Returns the value of the value record component.
      +
      +
      Returns:
      +
      the value of the value record component
      +
      +
      +
    • +
    • +
      +

      unit

      +
      public Unit unit()
      +
      Returns the value of the unit record component.
      +
      +
      Returns:
      +
      the value of the unit record component
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/service/IndicatorProvider.html b/docs/1.0.0/com/patelheet/capitalengine/api/service/IndicatorProvider.html new file mode 100644 index 0000000..ecae2e8 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/service/IndicatorProvider.html @@ -0,0 +1,165 @@ + + + + +IndicatorProvider (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Interface IndicatorProvider

+
+
+
+
public interface IndicatorProvider
+
Implemented by add-ons and registered with Bukkit's ServicesManager. Many may coexist. Core implements none.
+
+
+
    + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + + +
    +
    Human name for dashboards.
    +
    + +
    id()
    +
    +
    Short id, for example "capitalmarket".
    +
    + + +
    +
    Current numbers.
    +
    +
    +
    +
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      id

      +
      String id()
      +
      Short id, for example "capitalmarket".
      +
      +
    • +
    • +
      +

      displayName

      +
      String displayName()
      +
      Human name for dashboards.
      +
      +
    • +
    • +
      +

      indicators

      +
      List<Indicator> indicators()
      +
      Current numbers. Must be cheap and thread-safe: return cached values.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/service/MonetaryPolicy.html b/docs/1.0.0/com/patelheet/capitalengine/api/service/MonetaryPolicy.html new file mode 100644 index 0000000..dd9ff62 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/service/MonetaryPolicy.html @@ -0,0 +1,172 @@ + + + + +MonetaryPolicy (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Interface MonetaryPolicy

+
+
+
+
public interface MonetaryPolicy
+
Shared economic settings, implemented by an add-on (for example CapitalMarket) and registered with Bukkit's + ServicesManager. Core never implements it. Only the registration with the highest priority is used, and + consumers must keep working without one.
+
+
+
    + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    budget(String channel)
    +
    +
    Today's maximum serverPay spend for a channel.
    +
    +
    double
    + +
    +
    Loan rate per day.
    +
    +
    double
    + +
    +
    Savings rate per day, for example 0.0028 for about 2% a week.
    +
    +
    +
    +
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      savingsRatePerDay

      +
      double savingsRatePerDay()
      +
      Savings rate per day, for example 0.0028 for about 2% a week.
      +
      +
    • +
    • +
      +

      loanRatePerDay

      +
      double loanRatePerDay()
      +
      Loan rate per day.
      +
      +
    • +
    • +
      +

      budget

      +
      OptionalLong budget(String channel)
      +
      Today's maximum serverPay spend for a channel. By convention the channels are "savings", + "jobs" and "buyer".
      +
      +
      Returns:
      +
      the budget, or empty for "no opinion, use your own config"
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/service/Unit.html b/docs/1.0.0/com/patelheet/capitalengine/api/service/Unit.html new file mode 100644 index 0000000..7cb6eee --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/service/Unit.html @@ -0,0 +1,255 @@ + + + + +Unit (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Enum Class Unit

+
+
java.lang.Object +
java.lang.Enum<Unit> +
com.patelheet.capitalengine.api.service.Unit
+
+
+
+
+
All Implemented Interfaces:
+
Serializable, Comparable<Unit>, Constable
+
+
+
public enum Unit +extends Enum<Unit>
+
The unit of an Indicator.
+
+
+ +
+
+
    + +
  • +
    +

    Enum Constant Details

    +
      +
    • +
      +

      COINS

      +
      public static final Unit COINS
      +
      +
    • +
    • +
      +

      PERCENT

      +
      public static final Unit PERCENT
      +
      +
    • +
    • +
      +

      COUNT

      +
      public static final Unit COUNT
      +
      +
    • +
    • +
      +

      INDEX

      +
      public static final Unit INDEX
      +
      +
    • +
    • +
      +

      RATE_PER_DAY

      +
      public static final Unit RATE_PER_DAY
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      values

      +
      public static Unit[] values()
      +
      Returns an array containing the constants of this enum class, in +the order they are declared.
      +
      +
      Returns:
      +
      an array containing the constants of this enum class, in the order they are declared
      +
      +
      +
    • +
    • +
      +

      valueOf

      +
      public static Unit valueOf(String name)
      +
      Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
      +
      +
      Parameters:
      +
      name - the name of the enum constant to be returned.
      +
      Returns:
      +
      the enum constant with the specified name
      +
      Throws:
      +
      IllegalArgumentException - if this enum class has no constant with the specified name
      +
      NullPointerException - if the argument is null
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/service/package-summary.html b/docs/1.0.0/com/patelheet/capitalengine/api/service/package-summary.html new file mode 100644 index 0000000..b281280 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/service/package-summary.html @@ -0,0 +1,120 @@ + + + + +com.patelheet.capitalengine.api.service (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+
+

Package com.patelheet.capitalengine.api.service

+
+
+
package com.patelheet.capitalengine.api.service
+
+ +
+
+
+
+ + diff --git a/docs/1.0.0/com/patelheet/capitalengine/api/service/package-tree.html b/docs/1.0.0/com/patelheet/capitalengine/api/service/package-tree.html new file mode 100644 index 0000000..66df7c4 --- /dev/null +++ b/docs/1.0.0/com/patelheet/capitalengine/api/service/package-tree.html @@ -0,0 +1,95 @@ + + + + +com.patelheet.capitalengine.api.service Class Hierarchy (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package com.patelheet.capitalengine.api.service

+
+Package Hierarchies: + +
+

Interface Hierarchy

+ +
+
+

Enum Class Hierarchy

+ +
+
+

Record Class Hierarchy

+ +
+
+
+
+ + diff --git a/docs/1.0.0/copy.svg b/docs/1.0.0/copy.svg new file mode 100644 index 0000000..7c46ab1 --- /dev/null +++ b/docs/1.0.0/copy.svg @@ -0,0 +1,33 @@ + + + + + + + + diff --git a/docs/1.0.0/element-list b/docs/1.0.0/element-list new file mode 100644 index 0000000..840a486 --- /dev/null +++ b/docs/1.0.0/element-list @@ -0,0 +1,3 @@ +com.patelheet.capitalengine.api +com.patelheet.capitalengine.api.event +com.patelheet.capitalengine.api.service diff --git a/docs/1.0.0/help-doc.html b/docs/1.0.0/help-doc.html new file mode 100644 index 0000000..843e284 --- /dev/null +++ b/docs/1.0.0/help-doc.html @@ -0,0 +1,182 @@ + + + + +API Help (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+

JavaDoc Help

+ +
+
+

Navigation

+Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces + +
+
+
+

Kinds of Pages

+The following sections describe the different kinds of pages in this collection. +
+

Overview

+

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.

+
+
+

Package

+

Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

+
    +
  • Interfaces
  • +
  • Classes
  • +
  • Enum Classes
  • +
  • Exception Classes
  • +
  • Annotation Interfaces
  • +
+
+
+

Class or Interface

+

Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

+
    +
  • Class Inheritance Diagram
  • +
  • Direct Subclasses
  • +
  • All Known Subinterfaces
  • +
  • All Known Implementing Classes
  • +
  • Class or Interface Declaration
  • +
  • Class or Interface Description
  • +
+
+
    +
  • Nested Class Summary
  • +
  • Enum Constant Summary
  • +
  • Field Summary
  • +
  • Property Summary
  • +
  • Constructor Summary
  • +
  • Method Summary
  • +
  • Required Element Summary
  • +
  • Optional Element Summary
  • +
+
+
    +
  • Enum Constant Details
  • +
  • Field Details
  • +
  • Property Details
  • +
  • Constructor Details
  • +
  • Method Details
  • +
  • Element Details
  • +
+

Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

+

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.

+
+
+

Other Files

+

Packages and modules may contain pages with additional information related to the declarations nearby.

+
+
+

Tree (Class Hierarchy)

+

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. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

+
    +
  • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
  • +
  • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
  • +
+
+
+

All Packages

+

The All Packages page contains an alphabetic index of all packages contained in the documentation.

+
+
+

All Classes and Interfaces

+

The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

+
+
+

Index

+

The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

+
+
+
+This help file applies to API documentation generated by the standard doclet.
+
+
+ + diff --git a/docs/1.0.0/index-all.html b/docs/1.0.0/index-all.html new file mode 100644 index 0000000..5e4a6a7 --- /dev/null +++ b/docs/1.0.0/index-all.html @@ -0,0 +1,946 @@ + + + + +Index (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+
+

Index

+
+A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages +

A

+
+
Account - Interface in com.patelheet.capitalengine.api
+
+
A read-only view of one account.
+
+
accountId() - Method in record class com.patelheet.capitalengine.api.Posting
+
+
Returns the value of the accountId record component.
+
+
AccountKind - Enum Class in com.patelheet.capitalengine.api
+
+
What an Account is, which decides who may take money out of it.
+
+
accounts() - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
Account lookup and creation.
+
+
Accounts - Interface in com.patelheet.capitalengine.api
+
+
Account lookup and creation.
+
+
activeMinutesToday() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the activeMinutesToday record component.
+
+
activeMoneySupply() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the activeMoneySupply record component.
+
+
activePlayersToday() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the activePlayersToday record component.
+
+
actor() - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Returns the value of the actor record component.
+
+
actor(UUID) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
+
+
The player who caused this, for audits.
+
+
alert(Plugin, Severity, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
Raises an alert for owners.
+
+
amount() - Method in record class com.patelheet.capitalengine.api.Posting
+
+
Returns the value of the amount record component.
+
+
apiVersion() - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
The running API version, for example "1.0.0".
+
+
avgActivePlayers7d() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the avgActivePlayers7d record component.
+
+
+

B

+
+
balance() - Method in interface com.patelheet.capitalengine.api.Account
+
+
Current balance in the smallest currency unit, read from memory.
+
+
budget(String) - Method in interface com.patelheet.capitalengine.api.service.MonetaryPolicy
+
+
Today's maximum serverPay spend for a channel.
+
+
byId(UUID) - Method in interface com.patelheet.capitalengine.api.Accounts
+
+
Finds an account by id.
+
+
+

C

+
+
CapitalAlertEvent - Class in com.patelheet.capitalengine.api.event
+
+
An alert for owners, raised with CapitalApi.alert.
+
+
CapitalAlertEvent(boolean, String, Severity, String, String) - Constructor for class com.patelheet.capitalengine.api.event.CapitalAlertEvent
+
+
Creates the event.
+
+
CapitalApi - Interface in com.patelheet.capitalengine.api
+
+
Entry point of the CapitalEngine API.
+
+
CapitalAuditEvent - Class in com.patelheet.capitalengine.api.event
+
+
Fired asynchronously after the nightly ledger self-check.
+
+
CapitalAuditEvent(boolean, List<String>) - Constructor for class com.patelheet.capitalengine.api.event.CapitalAuditEvent
+
+
Creates the event (async).
+
+
CapitalDayEvent - Class in com.patelheet.capitalengine.api.event
+
+
Economic day boundary, on the main/global thread.
+
+
CapitalDayEvent(long, LocalDate, boolean, Stats) - Constructor for class com.patelheet.capitalengine.api.event.CapitalDayEvent
+
+
Creates the event.
+
+
CapitalPolicyLimitEvent - Class in com.patelheet.capitalengine.api.event
+
+
A call hit an owner-set cap or was denied.
+
+
CapitalPolicyLimitEvent(boolean, String, CapitalPolicyLimitEvent.LimitKind, long, long) - Constructor for class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
+
+
Creates the event.
+
+
CapitalPolicyLimitEvent.LimitKind - Enum Class in com.patelheet.capitalengine.api.event
+
+
Which limit was hit.
+
+
CapitalTransactionEvent - Class in com.patelheet.capitalengine.api.event
+
+
Fired asynchronously after each transaction is safely in the database.
+
+
CapitalTransactionEvent(TxRecord) - Constructor for class com.patelheet.capitalengine.api.event.CapitalTransactionEvent
+
+
Creates the event (async).
+
+
CapitalWeekEvent - Class in com.patelheet.capitalengine.api.event
+
+
Economic week boundary, fired after the CapitalDayEvent that starts the new week.
+
+
CapitalWeekEvent(long, boolean) - Constructor for class com.patelheet.capitalengine.api.event.CapitalWeekEvent
+
+
Creates the event.
+
+
catchUp() - Method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
+
+
Whether this boundary is being fired late after downtime.
+
+
catchUp() - Method in class com.patelheet.capitalengine.api.event.CapitalWeekEvent
+
+
Whether this boundary is being fired late after downtime.
+
+
code() - Method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
+
+
Short machine code, for example ledger.audit.
+
+
COINS - Enum constant in enum class com.patelheet.capitalengine.api.service.Unit
+
 
+
collect(Plugin, Account, long, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
Player (or other account) → Treasury.
+
+
com.patelheet.capitalengine.api - package com.patelheet.capitalengine.api
+
 
+
com.patelheet.capitalengine.api.event - package com.patelheet.capitalengine.api.event
+
 
+
com.patelheet.capitalengine.api.service - package com.patelheet.capitalengine.api.service
+
 
+
commit() - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
+
+
Validates and applies in memory now; the future completes once the transaction is in the database.
+
+
COUNT - Enum constant in enum class com.patelheet.capitalengine.api.service.Unit
+
 
+
CRITICAL - Enum constant in enum class com.patelheet.capitalengine.api.Severity
+
 
+
currency() - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
The currency.
+
+
Currency - Interface in com.patelheet.capitalengine.api
+
+
The server's single currency.
+
+
+

D

+
+
date() - Method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
+
+
Calendar date of the day that is starting.
+
+
dayIndex() - Method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
+
+
The day that is starting.
+
+
dayIndex() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the dayIndex record component.
+
+
decimals() - Method in interface com.patelheet.capitalengine.api.Currency
+
+
Decimal places (2 means 12345 is 123.45).
+
+
denied() - Method in record class com.patelheet.capitalengine.api.PolicyStatus
+
+
Returns the value of the denied record component.
+
+
DENIED - Enum constant in enum class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
+
 
+
DENIED - Enum constant in enum class com.patelheet.capitalengine.api.Failure
+
+
The owner denied this plugin from moving money this way.
+
+
destroy(Account, long) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
+
+
Destroys coins (from → Mint).
+
+
destroy(Plugin, Account, long, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
Destroys coins: from → Mint.
+
+
destroyed() - Method in record class com.patelheet.capitalengine.api.PluginFlow
+
+
Returns the value of the destroyed record component.
+
+
destroyedToday() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the destroyedToday record component.
+
+
displayName() - Method in interface com.patelheet.capitalengine.api.service.IndicatorProvider
+
+
Human name for dashboards.
+
+
DUPLICATE_REFERENCE - Enum constant in enum class com.patelheet.capitalengine.api.Failure
+
+
The reference was already used by this plugin; TxResult.txId() is the existing transaction.
+
+
+

E

+
+
ECONOMY_PAUSED - Enum constant in enum class com.patelheet.capitalengine.api.Failure
+
+
Core can't reach its database right now.
+
+
endedDay() - Method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
+
+
Final stats of the day that just ended, captured before the counters reset.
+
+
equals(Object) - Method in record class com.patelheet.capitalengine.api.PluginFlow
+
+
Indicates whether some other object is "equal to" this one.
+
+
equals(Object) - Method in record class com.patelheet.capitalengine.api.PolicyStatus
+
+
Indicates whether some other object is "equal to" this one.
+
+
equals(Object) - Method in record class com.patelheet.capitalengine.api.Posting
+
+
Indicates whether some other object is "equal to" this one.
+
+
equals(Object) - Method in record class com.patelheet.capitalengine.api.service.Indicator
+
+
Indicates whether some other object is "equal to" this one.
+
+
equals(Object) - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Indicates whether some other object is "equal to" this one.
+
+
equals(Object) - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Indicates whether some other object is "equal to" this one.
+
+
equals(Object) - Method in record class com.patelheet.capitalengine.api.TxResult
+
+
Indicates whether some other object is "equal to" this one.
+
+
EXTERNAL - Enum constant in enum class com.patelheet.capitalengine.api.AccountKind
+
+
A non-player account made by a Vault plugin (for example a Towny town).
+
+
+

F

+
+
failure() - Method in record class com.patelheet.capitalengine.api.TxResult
+
+
Returns the value of the failure record component.
+
+
Failure - Enum Class in com.patelheet.capitalengine.api
+
+
Why a mutation failed.
+
+
find(String) - Method in interface com.patelheet.capitalengine.api.Accounts
+
+
Finds an account by its namespaced key, for example "capitalbank:savings:<uuid>".
+
+
findByReference(Plugin, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
Finds this plugin's transaction by its reference, for crash recovery.
+
+
flowsToday() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the flowsToday record component.
+
+
format(long) - Method in interface com.patelheet.capitalengine.api.Currency
+
+
Formats using the owner's configured format, for example "123.45 coins".
+
+
fromTreasury() - Method in record class com.patelheet.capitalengine.api.TxResult
+
+
Returns the value of the fromTreasury record component.
+
+
+

G

+
+
getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
+
+
Bukkit handler list.
+
+
getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalAuditEvent
+
+
Bukkit handler list.
+
+
getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
+
+
Bukkit handler list.
+
+
getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
+
+
Bukkit handler list.
+
+
getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalTransactionEvent
+
+
Bukkit handler list.
+
+
getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalWeekEvent
+
+
Bukkit handler list.
+
+
getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
+
 
+
getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalAuditEvent
+
 
+
getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
+
 
+
getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
+
 
+
getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalTransactionEvent
+
 
+
getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalWeekEvent
+
 
+
+

H

+
+
hashCode() - Method in record class com.patelheet.capitalengine.api.PluginFlow
+
+
Returns a hash code value for this object.
+
+
hashCode() - Method in record class com.patelheet.capitalengine.api.PolicyStatus
+
+
Returns a hash code value for this object.
+
+
hashCode() - Method in record class com.patelheet.capitalengine.api.Posting
+
+
Returns a hash code value for this object.
+
+
hashCode() - Method in record class com.patelheet.capitalengine.api.service.Indicator
+
+
Returns a hash code value for this object.
+
+
hashCode() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns a hash code value for this object.
+
+
hashCode() - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Returns a hash code value for this object.
+
+
hashCode() - Method in record class com.patelheet.capitalengine.api.TxResult
+
+
Returns a hash code value for this object.
+
+
history(Account, int, long) - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
An account's transactions, newest first.
+
+
+

I

+
+
id() - Method in interface com.patelheet.capitalengine.api.Account
+
+
Stable unique id of the account.
+
+
id() - Method in interface com.patelheet.capitalengine.api.service.IndicatorProvider
+
+
Short id, for example "capitalmarket".
+
+
INDEX - Enum constant in enum class com.patelheet.capitalengine.api.service.Unit
+
 
+
Indicator - Record Class in com.patelheet.capitalengine.api.service
+
+
A named number an add-on publishes for dashboards.
+
+
Indicator(String, String, double, Unit) - Constructor for record class com.patelheet.capitalengine.api.service.Indicator
+
+
Creates an instance of a Indicator record class.
+
+
IndicatorProvider - Interface in com.patelheet.capitalengine.api.service
+
+
Implemented by add-ons and registered with Bukkit's ServicesManager.
+
+
indicators() - Method in interface com.patelheet.capitalengine.api.service.IndicatorProvider
+
+
Current numbers.
+
+
INFO - Enum constant in enum class com.patelheet.capitalengine.api.Severity
+
 
+
INSUFFICIENT_FUNDS - Enum constant in enum class com.patelheet.capitalengine.api.Failure
+
+
An account would go below zero.
+
+
INTERNAL - Enum constant in enum class com.patelheet.capitalengine.api.Failure
+
+
Unexpected error inside core.
+
+
INVALID_AMOUNT - Enum constant in enum class com.patelheet.capitalengine.api.Failure
+
+
Zero, negative or overflowing amount, or a bad type/memo.
+
+
isCompatible(String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
Whether the running API is at least minVersion (semantic versioning).
+
+
issue(Account, long) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
+
+
Creates coins (Mint → to).
+
+
issue(Plugin, Account, long, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
Creates coins: Mint → to.
+
+
ISSUE - Enum constant in enum class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
+
 
+
issued() - Method in record class com.patelheet.capitalengine.api.PluginFlow
+
+
Returns the value of the issued record component.
+
+
issued() - Method in record class com.patelheet.capitalengine.api.TxResult
+
+
Returns the value of the issued record component.
+
+
issuedToday() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the issuedToday record component.
+
+
issueRemainingToday() - Method in record class com.patelheet.capitalengine.api.PolicyStatus
+
+
Returns the value of the issueRemainingToday record component.
+
+
+

K

+
+
key() - Method in record class com.patelheet.capitalengine.api.service.Indicator
+
+
Returns the value of the key record component.
+
+
kind() - Method in interface com.patelheet.capitalengine.api.Account
+
+
What kind of account this is.
+
+
kind() - Method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
+
+
Which limit.
+
+
+

L

+
+
label() - Method in record class com.patelheet.capitalengine.api.service.Indicator
+
+
Returns the value of the label record component.
+
+
loanRatePerDay() - Method in interface com.patelheet.capitalengine.api.service.MonetaryPolicy
+
+
Loan rate per day.
+
+
+

M

+
+
memo() - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Returns the value of the memo record component.
+
+
message() - Method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
+
+
Plain-language message.
+
+
message() - Method in record class com.patelheet.capitalengine.api.TxResult
+
+
Returns the value of the message record component.
+
+
MINT - Enum constant in enum class com.patelheet.capitalengine.api.AccountKind
+
+
Creates and destroys money.
+
+
monetaryPolicy() - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
The registered MonetaryPolicy service with the highest priority, if any.
+
+
MonetaryPolicy - Interface in com.patelheet.capitalengine.api.service
+
+
Shared economic settings, implemented by an add-on (for example CapitalMarket) and registered with Bukkit's + ServicesManager.
+
+
moneySupply() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the moneySupply record component.
+
+
move(Account, Account, long) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
+
+
Moves coins between two accounts.
+
+
+

N

+
+
name() - Method in interface com.patelheet.capitalengine.api.Account
+
+
Display name (player name, or the namespaced key for plugin accounts).
+
+
NO_ACCOUNT - Enum constant in enum class com.patelheet.capitalengine.api.Failure
+
+
An account doesn't exist.
+
+
NONE - Enum constant in enum class com.patelheet.capitalengine.api.Failure
+
+
Not a failure.
+
+
NOT_ACCOUNT_OWNER - Enum constant in enum class com.patelheet.capitalengine.api.Failure
+
+
Tried to take money out of another plugin's account, or out of the Treasury directly.
+
+
+

O

+
+
ok() - Method in class com.patelheet.capitalengine.api.event.CapitalAuditEvent
+
+
Whether the books balanced.
+
+
ownerPlayer() - Method in interface com.patelheet.capitalengine.api.Account
+
+
The player who owns this account, for AccountKind.PLAYER.
+
+
ownerPlugin() - Method in interface com.patelheet.capitalengine.api.Account
+
+
The plugin that owns this account, for AccountKind.PLUGIN and AccountKind.EXTERNAL.
+
+
+

P

+
+
parse(String) - Method in interface com.patelheet.capitalengine.api.Currency
+
+
Parses player input such as "12", "1.5", "1.5k" or "2m".
+
+
PERCENT - Enum constant in enum class com.patelheet.capitalengine.api.service.Unit
+
 
+
player(UUID) - Method in interface com.patelheet.capitalengine.api.Accounts
+
+
The player's account, created on first use.
+
+
PLAYER - Enum constant in enum class com.patelheet.capitalengine.api.AccountKind
+
+
One per player.
+
+
plugin() - Method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
+
+
The plugin that hit the limit.
+
+
plugin(Plugin, String) - Method in interface com.patelheet.capitalengine.api.Accounts
+
+
The calling plugin's own account "<plugin>:<key>" (lower-case), created on first use.
+
+
PLUGIN - Enum constant in enum class com.patelheet.capitalengine.api.AccountKind
+
+
An add-on's own account (escrow, savings, ...).
+
+
PluginFlow - Record Class in com.patelheet.capitalengine.api
+
+
One plugin's money flows for the current economic day.
+
+
PluginFlow(long, long, long, long, long) - Constructor for record class com.patelheet.capitalengine.api.PluginFlow
+
+
Creates an instance of a PluginFlow record class.
+
+
plural() - Method in interface com.patelheet.capitalengine.api.Currency
+
+
Plural name, for example "coins".
+
+
policy(Plugin) - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
The caller's remaining limits today.
+
+
POLICY_LIMIT - Enum constant in enum class com.patelheet.capitalengine.api.Failure
+
+
The caller's owner-set daily limit would be exceeded.
+
+
PolicyStatus - Record Class in com.patelheet.capitalengine.api
+
+
A plugin's remaining owner-set limits today.
+
+
PolicyStatus(long, long, boolean) - Constructor for record class com.patelheet.capitalengine.api.PolicyStatus
+
+
Creates an instance of a PolicyStatus record class.
+
+
Posting - Record Class in com.patelheet.capitalengine.api
+
+
One signed leg of a transaction.
+
+
Posting(UUID, long) - Constructor for record class com.patelheet.capitalengine.api.Posting
+
+
Creates an instance of a Posting record class.
+
+
postings() - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Returns the value of the postings record component.
+
+
problems() - Method in class com.patelheet.capitalengine.api.event.CapitalAuditEvent
+
+
What was wrong; empty when CapitalAuditEvent.ok().
+
+
+

R

+
+
RATE_PER_DAY - Enum constant in enum class com.patelheet.capitalengine.api.service.Unit
+
 
+
record() - Method in class com.patelheet.capitalengine.api.event.CapitalTransactionEvent
+
+
The committed transaction.
+
+
reference() - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Returns the value of the reference record component.
+
+
reference(String) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
+
+
Idempotency key, unique per plugin.
+
+
remaining() - Method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
+
+
Coins it had left.
+
+
requested() - Method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
+
+
Coins it asked for.
+
+
reversesTxId() - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Returns the value of the reversesTxId record component.
+
+
+

S

+
+
savingsRatePerDay() - Method in interface com.patelheet.capitalengine.api.service.MonetaryPolicy
+
+
Savings rate per day, for example 0.0028 for about 2% a week.
+
+
serverPay(Account, long) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
+
+
Pays from the server: Treasury first, newly created coins for any shortfall, within the caller's limits.
+
+
serverPay(Plugin, Account, long, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
Pays from the server: Treasury first, newly created coins for any shortfall, within the caller's limits.
+
+
severity() - Method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
+
+
Severity.
+
+
Severity - Enum Class in com.patelheet.capitalengine.api
+
+
How serious an alert is.
+
+
singular() - Method in interface com.patelheet.capitalengine.api.Currency
+
+
Singular name, for example "coin".
+
+
source() - Method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
+
+
Name of the plugin that raised it.
+
+
sourcePlugin() - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Returns the value of the sourcePlugin record component.
+
+
stats() - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
Instant economy-wide snapshot.
+
+
Stats - Record Class in com.patelheet.capitalengine.api
+
+
Instant economy-wide snapshot, read from memory.
+
+
Stats(long, long, long, long, long, long, long, Map<String, PluginFlow>, int, long, double, long, long) - Constructor for record class com.patelheet.capitalengine.api.Stats
+
+
Creates an instance of a Stats record class.
+
+
success() - Method in record class com.patelheet.capitalengine.api.TxResult
+
+
Returns the value of the success record component.
+
+
symbol() - Method in interface com.patelheet.capitalengine.api.Currency
+
+
Symbol, for example "⛁".
+
+
+

T

+
+
time() - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Returns the value of the time record component.
+
+
toString() - Method in record class com.patelheet.capitalengine.api.PluginFlow
+
+
Returns a string representation of this record class.
+
+
toString() - Method in record class com.patelheet.capitalengine.api.PolicyStatus
+
+
Returns a string representation of this record class.
+
+
toString() - Method in record class com.patelheet.capitalengine.api.Posting
+
+
Returns a string representation of this record class.
+
+
toString() - Method in record class com.patelheet.capitalengine.api.service.Indicator
+
+
Returns a string representation of this record class.
+
+
toString() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns a string representation of this record class.
+
+
toString() - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Returns a string representation of this record class.
+
+
toString() - Method in record class com.patelheet.capitalengine.api.TxResult
+
+
Returns a string representation of this record class.
+
+
transaction(Plugin, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
Starts a multi-leg transaction.
+
+
TransactionBuilder - Interface in com.patelheet.capitalengine.api
+
+
Builds a multi-leg transaction that applies completely or not at all.
+
+
transfer(Plugin, Account, Account, long, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
Moves coins between two accounts.
+
+
transferred() - Method in record class com.patelheet.capitalengine.api.PluginFlow
+
+
Returns the value of the transferred record component.
+
+
treasury() - Method in interface com.patelheet.capitalengine.api.CapitalApi
+
+
The server's wallet.
+
+
TREASURY - Enum constant in enum class com.patelheet.capitalengine.api.AccountKind
+
+
The server's wallet.
+
+
TREASURY - Enum constant in enum class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
+
 
+
treasuryBalance() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the treasuryBalance record component.
+
+
treasuryIn() - Method in record class com.patelheet.capitalengine.api.PluginFlow
+
+
Returns the value of the treasuryIn record component.
+
+
treasuryInToday() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the treasuryInToday record component.
+
+
treasuryOut() - Method in record class com.patelheet.capitalengine.api.PluginFlow
+
+
Returns the value of the treasuryOut record component.
+
+
treasuryOutToday() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the treasuryOutToday record component.
+
+
treasuryRemainingToday() - Method in record class com.patelheet.capitalengine.api.PolicyStatus
+
+
Returns the value of the treasuryRemainingToday record component.
+
+
txId() - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Returns the value of the txId record component.
+
+
txId() - Method in record class com.patelheet.capitalengine.api.TxResult
+
+
Returns the value of the txId record component.
+
+
TxRecord - Record Class in com.patelheet.capitalengine.api
+
+
A committed transaction, as returned by history lookups and carried by events.
+
+
TxRecord(long, Instant, String, String, String, UUID, String, Long, List<Posting>) - Constructor for record class com.patelheet.capitalengine.api.TxRecord
+
+
Creates an instance of a TxRecord record class.
+
+
TxResult - Record Class in com.patelheet.capitalengine.api
+
+
Outcome of a mutation.
+
+
TxResult(boolean, long, Failure, String, long, long) - Constructor for record class com.patelheet.capitalengine.api.TxResult
+
+
Creates an instance of a TxResult record class.
+
+
type() - Method in record class com.patelheet.capitalengine.api.TxRecord
+
+
Returns the value of the type record component.
+
+
+

U

+
+
unit() - Method in record class com.patelheet.capitalengine.api.service.Indicator
+
+
Returns the value of the unit record component.
+
+
Unit - Enum Class in com.patelheet.capitalengine.api.service
+
+
The unit of an Indicator.
+
+
+

V

+
+
value() - Method in record class com.patelheet.capitalengine.api.service.Indicator
+
+
Returns the value of the value record component.
+
+
valueOf(String) - Static method in enum class com.patelheet.capitalengine.api.AccountKind
+
+
Returns the enum constant of this class with the specified name.
+
+
valueOf(String) - Static method in enum class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
+
+
Returns the enum constant of this class with the specified name.
+
+
valueOf(String) - Static method in enum class com.patelheet.capitalengine.api.Failure
+
+
Returns the enum constant of this class with the specified name.
+
+
valueOf(String) - Static method in enum class com.patelheet.capitalengine.api.service.Unit
+
+
Returns the enum constant of this class with the specified name.
+
+
valueOf(String) - Static method in enum class com.patelheet.capitalengine.api.Severity
+
+
Returns the enum constant of this class with the specified name.
+
+
values() - Static method in enum class com.patelheet.capitalengine.api.AccountKind
+
+
Returns an array containing the constants of this enum class, in +the order they are declared.
+
+
values() - Static method in enum class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
+
+
Returns an array containing the constants of this enum class, in +the order they are declared.
+
+
values() - Static method in enum class com.patelheet.capitalengine.api.Failure
+
+
Returns an array containing the constants of this enum class, in +the order they are declared.
+
+
values() - Static method in enum class com.patelheet.capitalengine.api.service.Unit
+
+
Returns an array containing the constants of this enum class, in +the order they are declared.
+
+
values() - Static method in enum class com.patelheet.capitalengine.api.Severity
+
+
Returns an array containing the constants of this enum class, in +the order they are declared.
+
+
+

W

+
+
WARN - Enum constant in enum class com.patelheet.capitalengine.api.Severity
+
 
+
weekIndex() - Method in class com.patelheet.capitalengine.api.event.CapitalWeekEvent
+
+
The week that is starting.
+
+
weekIndex() - Method in record class com.patelheet.capitalengine.api.Stats
+
+
Returns the value of the weekIndex record component.
+
+
+A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages
+
+
+ + diff --git a/docs/1.0.0/index.html b/docs/1.0.0/index.html new file mode 100644 index 0000000..93bfc4f --- /dev/null +++ b/docs/1.0.0/index.html @@ -0,0 +1,69 @@ + + + + +Overview (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+
+

api 1.0.0 API

+
+ +
+
+
+ + diff --git a/docs/1.0.0/legal/ADDITIONAL_LICENSE_INFO b/docs/1.0.0/legal/ADDITIONAL_LICENSE_INFO new file mode 100644 index 0000000..ff700cd --- /dev/null +++ b/docs/1.0.0/legal/ADDITIONAL_LICENSE_INFO @@ -0,0 +1,37 @@ + ADDITIONAL INFORMATION ABOUT LICENSING + +Certain files distributed by Oracle America, Inc. and/or its affiliates are +subject to the following clarification and special exception to the GPLv2, +based on the GNU Project exception for its Classpath libraries, known as the +GNU Classpath Exception. + +Note that Oracle includes multiple, independent programs in this software +package. Some of those programs are provided under licenses deemed +incompatible with the GPLv2 by the Free Software Foundation and others. +For example, the package includes programs licensed under the Apache +License, Version 2.0 and may include FreeType. Such programs are licensed +to you under their original licenses. + +Oracle facilitates your further distribution of this package by adding the +Classpath Exception to the necessary parts of its GPLv2 code, which permits +you to use that code in combination with other independent modules not +licensed under the GPLv2. However, note that this would not permit you to +commingle code under an incompatible license with Oracle's GPLv2 licensed +code by, for example, cutting and pasting such code into a file also +containing Oracle's GPLv2 licensed code and then distributing the result. + +Additionally, if you were to remove the Classpath Exception from any of the +files to which it applies and distribute the result, you would likely be +required to license some or all of the other code in that distribution under +the GPLv2 as well, and since the GPLv2 is incompatible with the license terms +of some items included in the distribution by Oracle, removing the Classpath +Exception could therefore effectively compromise your ability to further +distribute the package. + +Failing to distribute notices associated with some files may also create +unexpected legal consequences. + +Proceed with caution and we recommend that you obtain the advice of a lawyer +skilled in open source matters before removing the Classpath Exception or +making modifications to this package which may subsequently be redistributed +and/or involve the use of third party software. diff --git a/docs/1.0.0/legal/ASSEMBLY_EXCEPTION b/docs/1.0.0/legal/ASSEMBLY_EXCEPTION new file mode 100644 index 0000000..4296666 --- /dev/null +++ b/docs/1.0.0/legal/ASSEMBLY_EXCEPTION @@ -0,0 +1,27 @@ + +OPENJDK ASSEMBLY EXCEPTION + +The OpenJDK source code made available by Oracle America, Inc. (Oracle) at +openjdk.org ("OpenJDK Code") is distributed under the terms of the GNU +General Public License version 2 +only ("GPL2"), with the following clarification and special exception. + + Linking this OpenJDK Code statically or dynamically with other code + is making a combined work based on this library. Thus, the terms + and conditions of GPL2 cover the whole combination. + + As a special exception, Oracle gives you permission to link this + OpenJDK Code with certain code licensed by Oracle as indicated at + https://openjdk.org/legal/exception-modules-2007-05-08.html + ("Designated Exception Modules") to produce an executable, + regardless of the license terms of the Designated Exception Modules, + and to copy and distribute the resulting executable under GPL2, + provided that the Designated Exception Modules continue to be + governed by the licenses under which they were offered by Oracle. + +As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code +to build an executable that includes those portions of necessary code that +Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 +with the Classpath exception). If you modify or add to the OpenJDK code, +that new GPL2 code may still be combined with Designated Exception Modules +if the new code is made subject to this exception by its copyright holder. diff --git a/docs/1.0.0/legal/LICENSE b/docs/1.0.0/legal/LICENSE new file mode 100644 index 0000000..8b400c7 --- /dev/null +++ b/docs/1.0.0/legal/LICENSE @@ -0,0 +1,347 @@ +The GNU General Public License (GPL) + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software is +covered by the GNU Library General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish), +that you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs; and that you know you +can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny +you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must +make sure that they, too, receive or can get the source code. And you must +show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients to +know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will +individually obtain patent licenses, in effect making the program proprietary. +To prevent this, we have made it clear that any patent must be licensed for +everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms of +this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or +translated into another language. (Hereinafter, translation is included +without limitation in the term "modification".) Each licensee is addressed as +"you". + +Activities other than copying, distribution and modification are not covered by +this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made by +running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as +you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may +at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus +forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all of +these conditions: + + a) You must cause the modified files to carry prominent notices stating + that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or + in part contains or is derived from the Program or any part thereof, to be + licensed as a whole at no charge to all third parties under the terms of + this License. + + c) If the modified program normally reads commands interactively when run, + you must cause it, when started running for such interactive use in the + most ordinary way, to print or display an announcement including an + appropriate copyright notice and a notice that there is no warranty (or + else, saying that you provide a warranty) and that users may redistribute + the program under these conditions, and telling the user how to view a copy + of this License. (Exception: if the Program itself is interactive but does + not normally print such an announcement, your work based on the Program is + not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, and +its terms, do not apply to those sections when you distribute them as separate +works. But when you distribute the same sections as part of a whole which is a +work based on the Program, the distribution of the whole must be on the terms +of this License, whose permissions for other licensees extend to the entire +whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise the +right to control the distribution of derivative or collective works based on +the Program. + +In addition, mere aggregation of another work not based on the Program with the +Program (or with a work based on the Program) on a volume of a storage or +distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 and +2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source + code, which must be distributed under the terms of Sections 1 and 2 above + on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to + give any third party, for a charge no more than your cost of physically + performing source distribution, a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed only + for noncommercial distribution and only if you received the program in + object code or executable form with such an offer, in accord with + Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code +distributed need not include anything that is normally distributed (in either +source or binary form) with the major components (compiler, kernel, and so on) +of the operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the source +code from the same place counts as distribution of the source code, even though +third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, or +rights, from you under this License will not have their licenses terminated so +long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the Program +or its derivative works. These actions are prohibited by law if you do not +accept this License. Therefore, by modifying or distributing the Program (or +any work based on the Program), you indicate your acceptance of this License to +do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor to +copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of the +rights granted herein. You are not responsible for enforcing compliance by +third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose that +choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original +copyright holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In +such case, this License incorporates the limitation as if written in the body +of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the +General Public License from time to time. Such new versions will be similar in +spirit to the present version, but may differ in detail to address new problems +or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any later +version", you have the option of following the terms and conditions either of +that version or of any later version published by the Free Software Foundation. +If the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status of +all derivatives of our free software and of promoting the sharing and reuse of +software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE +PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, +YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE +PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA +BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER +OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + + Copyright (C) + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it +starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes + with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free + software, and you are welcome to redistribute it under certain conditions; + type 'show c' for details. + +The hypothetical commands 'show w' and 'show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than 'show w' and 'show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + 'Gnomovision' (which makes passes at compilers) written by James Hacker. + + signature of Ty Coon, 1 April 1989 + + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General Public +License instead of this License. + + +"CLASSPATH" EXCEPTION TO THE GPL + +Certain source files distributed by Oracle America and/or its affiliates are +subject to the following clarification and special exception to the GPL, but +only where Oracle has expressly included in the particular source file's header +the words "Oracle designates this particular file as subject to the "Classpath" +exception as provided by Oracle in the LICENSE file that accompanied this code." + + Linking this library statically or dynamically with other modules is making + a combined work based on this library. Thus, the terms and conditions of + the GNU General Public License cover the whole combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent modules, + and to copy and distribute the resulting executable under terms of your + choice, provided that you also meet, for each linked independent module, + the terms and conditions of the license of that module. An independent + module is a module which is not derived from or based on this library. If + you modify this library, you may extend this exception to your version of + the library, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. diff --git a/docs/1.0.0/legal/jquery.md b/docs/1.0.0/legal/jquery.md new file mode 100644 index 0000000..a763ec6 --- /dev/null +++ b/docs/1.0.0/legal/jquery.md @@ -0,0 +1,26 @@ +## jQuery v3.7.1 + +### jQuery License +``` +jQuery v 3.7.1 +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +``` diff --git a/docs/1.0.0/legal/jqueryUI.md b/docs/1.0.0/legal/jqueryUI.md new file mode 100644 index 0000000..46bfbaa --- /dev/null +++ b/docs/1.0.0/legal/jqueryUI.md @@ -0,0 +1,49 @@ +## jQuery UI v1.14.1 + +### jQuery UI License +``` +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery-ui + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code contained within the demos directory. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +``` diff --git a/docs/1.0.0/link.svg b/docs/1.0.0/link.svg new file mode 100644 index 0000000..7ccc5ed --- /dev/null +++ b/docs/1.0.0/link.svg @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/docs/1.0.0/member-search-index.js b/docs/1.0.0/member-search-index.js new file mode 100644 index 0000000..63e3b7b --- /dev/null +++ b/docs/1.0.0/member-search-index.js @@ -0,0 +1 @@ +memberSearchIndex = [{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"accountId()"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"accounts()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"activeMinutesToday()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"activeMoneySupply()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"activePlayersToday()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"actor()"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"actor(UUID)","u":"actor(java.util.UUID)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"alert(Plugin, Severity, String, String)","u":"alert(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Severity,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"amount()"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"apiVersion()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"avgActivePlayers7d()"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"balance()"},{"p":"com.patelheet.capitalengine.api.service","c":"MonetaryPolicy","l":"budget(String)","u":"budget(java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"Accounts","l":"byId(UUID)","u":"byId(java.util.UUID)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"CapitalAlertEvent(boolean, String, Severity, String, String)","u":"%3Cinit%3E(boolean,java.lang.String,com.patelheet.capitalengine.api.Severity,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAuditEvent","l":"CapitalAuditEvent(boolean, List)","u":"%3Cinit%3E(boolean,java.util.List)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"CapitalDayEvent(long, LocalDate, boolean, Stats)","u":"%3Cinit%3E(long,java.time.LocalDate,boolean,com.patelheet.capitalengine.api.Stats)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"CapitalPolicyLimitEvent(boolean, String, CapitalPolicyLimitEvent.LimitKind, long, long)","u":"%3Cinit%3E(boolean,java.lang.String,com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind,long,long)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalTransactionEvent","l":"CapitalTransactionEvent(TxRecord)","u":"%3Cinit%3E(com.patelheet.capitalengine.api.TxRecord)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalWeekEvent","l":"CapitalWeekEvent(long, boolean)","u":"%3Cinit%3E(long,boolean)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"catchUp()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalWeekEvent","l":"catchUp()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"code()"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"COINS"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"collect(Plugin, Account, long, String, String)","u":"collect(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Account,long,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"commit()"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"COUNT"},{"p":"com.patelheet.capitalengine.api","c":"Severity","l":"CRITICAL"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"currency()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"date()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"dayIndex()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"dayIndex()"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"decimals()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent.LimitKind","l":"DENIED"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"DENIED"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"denied()"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"destroy(Account, long)","u":"destroy(com.patelheet.capitalengine.api.Account,long)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"destroy(Plugin, Account, long, String, String)","u":"destroy(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Account,long,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"destroyed()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"destroyedToday()"},{"p":"com.patelheet.capitalengine.api.service","c":"IndicatorProvider","l":"displayName()"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"DUPLICATE_REFERENCE"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"ECONOMY_PAUSED"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"endedDay()"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"EXTERNAL"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"failure()"},{"p":"com.patelheet.capitalengine.api","c":"Accounts","l":"find(String)","u":"find(java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"findByReference(Plugin, String)","u":"findByReference(org.bukkit.plugin.Plugin,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"flowsToday()"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"format(long)"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"fromTreasury()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAuditEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalTransactionEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalWeekEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAuditEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalTransactionEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalWeekEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"history(Account, int, long)","u":"history(com.patelheet.capitalengine.api.Account,int,long)"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"id()"},{"p":"com.patelheet.capitalengine.api.service","c":"IndicatorProvider","l":"id()"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"INDEX"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"Indicator(String, String, double, Unit)","u":"%3Cinit%3E(java.lang.String,java.lang.String,double,com.patelheet.capitalengine.api.service.Unit)"},{"p":"com.patelheet.capitalengine.api.service","c":"IndicatorProvider","l":"indicators()"},{"p":"com.patelheet.capitalengine.api","c":"Severity","l":"INFO"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"INSUFFICIENT_FUNDS"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"INTERNAL"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"INVALID_AMOUNT"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"isCompatible(String)","u":"isCompatible(java.lang.String)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent.LimitKind","l":"ISSUE"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"issue(Account, long)","u":"issue(com.patelheet.capitalengine.api.Account,long)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"issue(Plugin, Account, long, String, String)","u":"issue(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Account,long,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"issued()"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"issued()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"issuedToday()"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"issueRemainingToday()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"key()"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"kind()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"kind()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"label()"},{"p":"com.patelheet.capitalengine.api.service","c":"MonetaryPolicy","l":"loanRatePerDay()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"memo()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"message()"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"message()"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"MINT"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"monetaryPolicy()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"moneySupply()"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"move(Account, Account, long)","u":"move(com.patelheet.capitalengine.api.Account,com.patelheet.capitalengine.api.Account,long)"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"name()"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"NO_ACCOUNT"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"NONE"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"NOT_ACCOUNT_OWNER"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAuditEvent","l":"ok()"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"ownerPlayer()"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"ownerPlugin()"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"parse(String)","u":"parse(java.lang.String)"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"PERCENT"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"PLAYER"},{"p":"com.patelheet.capitalengine.api","c":"Accounts","l":"player(UUID)","u":"player(java.util.UUID)"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"PLUGIN"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"plugin()"},{"p":"com.patelheet.capitalengine.api","c":"Accounts","l":"plugin(Plugin, String)","u":"plugin(org.bukkit.plugin.Plugin,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"PluginFlow(long, long, long, long, long)","u":"%3Cinit%3E(long,long,long,long,long)"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"plural()"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"POLICY_LIMIT"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"policy(Plugin)","u":"policy(org.bukkit.plugin.Plugin)"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"PolicyStatus(long, long, boolean)","u":"%3Cinit%3E(long,long,boolean)"},{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"Posting(UUID, long)","u":"%3Cinit%3E(java.util.UUID,long)"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"postings()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAuditEvent","l":"problems()"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"RATE_PER_DAY"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalTransactionEvent","l":"record()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"reference()"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"reference(String)","u":"reference(java.lang.String)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"remaining()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"requested()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"reversesTxId()"},{"p":"com.patelheet.capitalengine.api.service","c":"MonetaryPolicy","l":"savingsRatePerDay()"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"serverPay(Account, long)","u":"serverPay(com.patelheet.capitalengine.api.Account,long)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"serverPay(Plugin, Account, long, String, String)","u":"serverPay(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Account,long,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"severity()"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"singular()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"source()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"sourcePlugin()"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"stats()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"Stats(long, long, long, long, long, long, long, Map, int, long, double, long, long)","u":"%3Cinit%3E(long,long,long,long,long,long,long,java.util.Map,int,long,double,long,long)"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"success()"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"symbol()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"time()"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"toString()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"transaction(Plugin, String, String)","u":"transaction(org.bukkit.plugin.Plugin,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"transfer(Plugin, Account, Account, long, String, String)","u":"transfer(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Account,com.patelheet.capitalengine.api.Account,long,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"transferred()"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"TREASURY"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent.LimitKind","l":"TREASURY"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"treasury()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"treasuryBalance()"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"treasuryIn()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"treasuryInToday()"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"treasuryOut()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"treasuryOutToday()"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"treasuryRemainingToday()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"txId()"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"txId()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"TxRecord(long, Instant, String, String, String, UUID, String, Long, List)","u":"%3Cinit%3E(long,java.time.Instant,java.lang.String,java.lang.String,java.lang.String,java.util.UUID,java.lang.String,java.lang.Long,java.util.List)"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"TxResult(boolean, long, Failure, String, long, long)","u":"%3Cinit%3E(boolean,long,com.patelheet.capitalengine.api.Failure,java.lang.String,long,long)"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"type()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"unit()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"value()"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent.LimitKind","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"Severity","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"values()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent.LimitKind","l":"values()"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"values()"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"values()"},{"p":"com.patelheet.capitalengine.api","c":"Severity","l":"values()"},{"p":"com.patelheet.capitalengine.api","c":"Severity","l":"WARN"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalWeekEvent","l":"weekIndex()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"weekIndex()"}];updateSearchResults(); \ No newline at end of file diff --git a/docs/1.0.0/module-search-index.js b/docs/1.0.0/module-search-index.js new file mode 100644 index 0000000..0d59754 --- /dev/null +++ b/docs/1.0.0/module-search-index.js @@ -0,0 +1 @@ +moduleSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/docs/1.0.0/overview-summary.html b/docs/1.0.0/overview-summary.html new file mode 100644 index 0000000..c8afbee --- /dev/null +++ b/docs/1.0.0/overview-summary.html @@ -0,0 +1,25 @@ + + + + +api 1.0.0 API + + + + + + + + + + +
+ +

index.html

+
+ + diff --git a/docs/1.0.0/overview-tree.html b/docs/1.0.0/overview-tree.html new file mode 100644 index 0000000..dabbd12 --- /dev/null +++ b/docs/1.0.0/overview-tree.html @@ -0,0 +1,131 @@ + + + + +Class Hierarchy (api 1.0.0 API) + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For All Packages

+
+Package Hierarchies: + +
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Enum Class Hierarchy

+ +
+
+

Record Class Hierarchy

+
    +
  • java.lang.Object +
      +
    • java.lang.Record +
        +
      • com.patelheet.capitalengine.api.service.Indicator
      • +
      • com.patelheet.capitalengine.api.PluginFlow
      • +
      • com.patelheet.capitalengine.api.PolicyStatus
      • +
      • com.patelheet.capitalengine.api.Posting
      • +
      • com.patelheet.capitalengine.api.Stats
      • +
      • com.patelheet.capitalengine.api.TxRecord
      • +
      • com.patelheet.capitalengine.api.TxResult
      • +
      +
    • +
    +
  • +
+
+
+
+
+ + diff --git a/docs/1.0.0/package-search-index.js b/docs/1.0.0/package-search-index.js new file mode 100644 index 0000000..a73c292 --- /dev/null +++ b/docs/1.0.0/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"l":"com.patelheet.capitalengine.api"},{"l":"com.patelheet.capitalengine.api.event"},{"l":"com.patelheet.capitalengine.api.service"}];updateSearchResults(); \ No newline at end of file diff --git a/docs/1.0.0/resources/glass.png b/docs/1.0.0/resources/glass.png new file mode 100644 index 0000000..a7f591f Binary files /dev/null and b/docs/1.0.0/resources/glass.png differ diff --git a/docs/1.0.0/resources/x.png b/docs/1.0.0/resources/x.png new file mode 100644 index 0000000..30548a7 Binary files /dev/null and b/docs/1.0.0/resources/x.png differ diff --git a/docs/1.0.0/script-dir/jquery-3.7.1.min.js b/docs/1.0.0/script-dir/jquery-3.7.1.min.js new file mode 100644 index 0000000..7f37b5d --- /dev/null +++ b/docs/1.0.0/script-dir/jquery-3.7.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0{"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(x){x.ui=x.ui||{};x.ui.version="1.14.1";var n,s,C,k,o,l,a,r,u,i,h=0,c=Array.prototype.hasOwnProperty,d=Array.prototype.slice;x.cleanData=(n=x.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");n(t)}),x.widget=function(t,i,e){var s,n,o,l,a={},r=t.split(".")[0];return"__proto__"===(t=t.split(".")[1])||"constructor"===t?x.error("Invalid widget name: "+t):(l=r+"-"+t,e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[l.toLowerCase()]=function(t){return!!x.data(t,l)},x[r]=x[r]||{},s=x[r][t],n=x[r][t]=function(t,e){if(!this||!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},x.extend(n,s,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(o=new i).options=x.widget.extend({},o.options),x.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}a[e]="function"!=typeof s?s:function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}}),n.prototype=x.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},a,{constructor:n,namespace:r,widgetName:t,widgetFullName:l}),s?(x.each(s._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),x.widget.bridge(t,n),n)},x.widget.extend=function(t){for(var e,i,s=d.call(arguments,1),n=0,o=s.length;n",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=h++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=x.widget.extend({},this.options[t]),n=0;n{var i=[];n.element.each(function(t,e){x.map(l.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),l._on(x(i),{remove:"_untrackClassesElement"})})(),x(x.uniqueSort(i.get().concat(n.element.get())))):x(i.not(n.element).get()),l.classesElementLookup[t[s]]=i,o.push(t[s]),e&&n.classes[t[s]]&&o.push(n.classes[t[s]])}return(n=x.extend({element:this.element,classes:this.options.classes||{}},n)).keys&&t(n.keys.match(/\S+/g)||[],!0),n.extra&&t(n.extra.match(/\S+/g)||[]),o.join(" ")},_untrackClassesElement:function(i){var s=this;x.each(s.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(s.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){var n="string"==typeof t||null===t,e={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s="boolean"==typeof s?s:i};return e.element.toggleClass(this._classes(e),s),this},_on:function(n,o,t){var l,a=this;"boolean"!=typeof n&&(t=o,o=n,n=!1),t?(o=l=x(o),this.bindings=this.bindings.add(o)):(t=o,o=this.element,l=this.widget()),x.each(t,function(t,e){function i(){if(n||!0!==a.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?a[e]:e).apply(a,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),s=t[1]+a.eventNamespace,t=t[2];t?l.on(s,t,i):o.on(s,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var s,n,o=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],n=e.originalEvent)for(s in n)s in e||(e[s]=n[s]);return this.element.trigger(e,i),!("function"==typeof o&&!1===o.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(o,l){x.Widget.prototype["_"+o]=function(e,t,i){var s,n=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||l:o;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),s=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),s&&x.effects&&x.effects.effect[n]?e[o](t):n!==o&&e[n]?e[n](t.duration,t.easing,i):e.queue(function(t){x(this)[o](),i&&i.call(e[0]),t()})}}),x.widget;function E(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function T(t,e){return parseInt(x.css(t,e),10)||0}function W(t){return null!=t&&t===t.window}C=Math.max,k=Math.abs,o=/left|center|right/,l=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,r=/^\w+/,u=/%$/,i=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==s?s:(i=(e=x("
")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthC(k(s),k(n))?o.important="horizontal":o.important="vertical",c.using.call(this,t,o)}),l.offset(x.extend(u,{using:t}))})):i.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,s=s.width,o=t.left-e.collisionPosition.marginLeft,l=n-o,a=o+e.collisionWidth-s-n;s",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(t){var e=x(t.target),i=x(this.document[0].activeElement);!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active)&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this._menuItems().first();e||this.focus(t,i)},blur:function(t){this._delay(function(){x.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(t){var e,i;this.previousFilter||t.clientX===this.lastMousePosition.x&&t.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:t.clientX,y:t.clientY},e=x(t.target).closest(".ui-menu-item"),i=x(t.currentTarget),e[0]!==i[0])||i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i))},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=x(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,s,n=!0;switch(t.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(t);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case x.ui.keyCode.HOME:this._move("first","first",t);break;case x.ui.keyCode.END:this._move("last","last",t);break;case x.ui.keyCode.UP:this.previous(t);break;case x.ui.keyCode.DOWN:this.next(t);break;case x.ui.keyCode.LEFT:this.collapse(t);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(t);break;case x.ui.keyCode.ESCAPE:this.collapse(t);break;default:e=this.previousFilter||"",s=n=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?s=!0:i=e+i,e=this._filterMenuItems(i),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),t=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=x(this),e=t.prev(),i=x("").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+n),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(t,"ui-menu","ui-widget ui-widget-content ui-front"),(t=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=x(this);s._isDivider(t)&&s._addClass(t,"ui-menu-divider","ui-widget-content")}),e=(i=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(e,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(e=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-e-i,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):s",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var i,s,n,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&"true"===this.element.prop("contentEditable"),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)i=!1,this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault();else if(!s){var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){n?(n=!1,t.preventDefault()):this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=x("
    ").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault()},menufocus:function(t,e){var i,s;this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent)&&/^mouse/.test(t.originalEvent.type)?(this.menu.blur(),this.document.one("mousemove",function(){x(t.target).trigger(t.originalEvent)})):(s=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:s})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(s.value),(i=e.item.attr("aria-label")||s.value)&&String.prototype.trim.call(i).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(x("
    ").text(i))},100)))},menuselect:function(t,e){var e=e.item.data("ui-autocomplete-item"),i=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.trigger("focus"),this.previous=i),!1!==this._trigger("select",t,{item:e})&&this._value(e.value),this.term=this._value(),this.close(t),this.selectedItem=e}}),this.liveRegion=x("
    ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||x.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t=(t=(t=t&&(t.jquery||t.nodeType?x(t):this.document.find(t).eq(0)))&&t[0]?t:this.element.closest(".ui-front, dialog")).length?t:this.document[0].body},_initSource:function(){var i,s,n=this;Array.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(x.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(s=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=x.ajax({url:s,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(s){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=s.altKey||s.ctrlKey||s.metaKey||s.shiftKey;t&&(e||i)||(this.selectedItem=null,this.search(null,s))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(x("
    ").text(e.label)).appendTo(t)},_move:function(t,e){this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),this.menu.blur()):this.menu[t](e):this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())}}),x.extend(x.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(x.ui.autocomplete.escapeRegex(e),"i");return x.grep(t,function(t){return i.test(t.label||t.value||t)})}}),x.widget("ui.autocomplete",x.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1").text(e))},100))}}),x.ui.autocomplete}); \ No newline at end of file diff --git a/docs/1.0.0/script.js b/docs/1.0.0/script.js new file mode 100644 index 0000000..bb9c8a2 --- /dev/null +++ b/docs/1.0.0/script.js @@ -0,0 +1,253 @@ +/* + * Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; + +var oddRowColor = "odd-row-color"; +var evenRowColor = "even-row-color"; +var sortAsc = "sort-asc"; +var sortDesc = "sort-desc"; +var tableTab = "table-tab"; +var activeTableTab = "active-table-tab"; + +function loadScripts(doc, tag) { + createElem(doc, tag, 'search.js'); + + createElem(doc, tag, 'module-search-index.js'); + createElem(doc, tag, 'package-search-index.js'); + createElem(doc, tag, 'type-search-index.js'); + createElem(doc, tag, 'member-search-index.js'); + createElem(doc, tag, 'tag-search-index.js'); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +// Helper for making content containing release names comparable lexicographically +function makeComparable(s) { + return s.toLowerCase().replace(/(\d+)/g, + function(n, m) { + return ("000" + m).slice(-4); + }); +} + +// Switches between two styles depending on a condition +function toggleStyle(classList, condition, trueStyle, falseStyle) { + if (condition) { + classList.remove(falseStyle); + classList.add(trueStyle); + } else { + classList.remove(trueStyle); + classList.add(falseStyle); + } +} + +// Sorts the rows in a table lexicographically by the content of a specific column +function sortTable(header, columnIndex, columns) { + var container = header.parentElement; + var descending = header.classList.contains(sortAsc); + container.querySelectorAll("div.table-header").forEach( + function(header) { + header.classList.remove(sortAsc); + header.classList.remove(sortDesc); + } + ) + var cells = container.children; + var rows = []; + for (var i = columns; i < cells.length; i += columns) { + rows.push(Array.prototype.slice.call(cells, i, i + columns)); + } + var comparator = function(a, b) { + var ka = makeComparable(a[columnIndex].textContent); + var kb = makeComparable(b[columnIndex].textContent); + if (ka < kb) + return descending ? 1 : -1; + if (ka > kb) + return descending ? -1 : 1; + return 0; + }; + var sorted = rows.sort(comparator); + var visible = 0; + sorted.forEach(function(row) { + if (row[0].style.display !== 'none') { + var isEvenRow = visible++ % 2 === 0; + } + row.forEach(function(cell) { + toggleStyle(cell.classList, isEvenRow, evenRowColor, oddRowColor); + container.appendChild(cell); + }) + }); + toggleStyle(header.classList, descending, sortDesc, sortAsc); +} + +// Toggles the visibility of a table category in all tables in a page +function toggleGlobal(checkbox, selected, columns) { + var display = checkbox.checked ? '' : 'none'; + document.querySelectorAll("div.table-tabs").forEach(function(t) { + var id = t.parentElement.getAttribute("id"); + var selectedClass = id + "-tab" + selected; + // if selected is empty string it selects all uncategorized entries + var selectUncategorized = !Boolean(selected); + var visible = 0; + document.querySelectorAll('div.' + id) + .forEach(function(elem) { + if (selectUncategorized) { + if (elem.className.indexOf(selectedClass) === -1) { + elem.style.display = display; + } + } else if (elem.classList.contains(selectedClass)) { + elem.style.display = display; + } + if (elem.style.display === '') { + var isEvenRow = visible++ % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + } + }); + var displaySection = visible === 0 ? 'none' : ''; + t.parentElement.style.display = displaySection; + document.querySelector("li#contents-" + id).style.display = displaySection; + }) +} + +// Shows the elements of a table belonging to a specific category +function show(tableId, selected, columns) { + if (tableId !== selected) { + document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')') + .forEach(function(elem) { + elem.style.display = 'none'; + }); + } + document.querySelectorAll('div.' + selected) + .forEach(function(elem, index) { + elem.style.display = ''; + var isEvenRow = index % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + }); + updateTabs(tableId, selected); +} + +function updateTabs(tableId, selected) { + document.getElementById(tableId + '.tabpanel') + .setAttribute('aria-labelledby', selected); + document.querySelectorAll('button[id^="' + tableId + '"]') + .forEach(function(tab, index) { + if (selected === tab.id || (tableId === selected && index === 0)) { + tab.className = activeTableTab; + tab.setAttribute('aria-selected', true); + tab.setAttribute('tabindex',0); + } else { + tab.className = tableTab; + tab.setAttribute('aria-selected', false); + tab.setAttribute('tabindex',-1); + } + }); +} + +function switchTab(e) { + var selected = document.querySelector('[aria-selected=true]'); + if (selected) { + if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) { + // left or up arrow key pressed: move focus to previous tab + selected.previousSibling.click(); + selected.previousSibling.focus(); + e.preventDefault(); + } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) { + // right or down arrow key pressed: move focus to next tab + selected.nextSibling.click(); + selected.nextSibling.focus(); + e.preventDefault(); + } + } +} + +var updateSearchResults = function() {}; + +function indexFilesLoaded() { + return moduleSearchIndex + && packageSearchIndex + && typeSearchIndex + && memberSearchIndex + && tagSearchIndex; +} +// Copy the contents of the local snippet to the clipboard +function copySnippet(button) { + copyToClipboard(button.nextElementSibling.innerText); + switchCopyLabel(button, button.firstElementChild); +} +function copyToClipboard(content) { + var textarea = document.createElement("textarea"); + textarea.style.height = 0; + document.body.appendChild(textarea); + textarea.value = content; + textarea.select(); + document.execCommand("copy"); + document.body.removeChild(textarea); +} +function switchCopyLabel(button, span) { + var copied = span.getAttribute("data-copied"); + button.classList.add("visible"); + var initialLabel = span.innerHTML; + span.innerHTML = copied; + setTimeout(function() { + button.classList.remove("visible"); + setTimeout(function() { + if (initialLabel !== copied) { + span.innerHTML = initialLabel; + } + }, 100); + }, 1900); +} +// Workaround for scroll position not being included in browser history (8249133) +document.addEventListener("DOMContentLoaded", function(e) { + var contentDiv = document.querySelector("div.flex-content"); + window.addEventListener("popstate", function(e) { + if (e.state !== null) { + contentDiv.scrollTop = e.state; + } + }); + window.addEventListener("hashchange", function(e) { + history.replaceState(contentDiv.scrollTop, document.title); + }); + var timeoutId; + contentDiv.addEventListener("scroll", function(e) { + if (timeoutId) { + clearTimeout(timeoutId); + } + timeoutId = setTimeout(function() { + history.replaceState(contentDiv.scrollTop, document.title); + }, 100); + }); + if (!location.hash) { + history.replaceState(contentDiv.scrollTop, document.title); + } +}); diff --git a/docs/1.0.0/search-page.js b/docs/1.0.0/search-page.js new file mode 100644 index 0000000..540c90f --- /dev/null +++ b/docs/1.0.0/search-page.js @@ -0,0 +1,284 @@ +/* + * Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +"use strict"; +$(function() { + var copy = $("#page-search-copy"); + var expand = $("#page-search-expand"); + var searchLink = $("span#page-search-link"); + var redirect = $("input#search-redirect"); + function setSearchUrlTemplate() { + var href = document.location.href.split(/[#?]/)[0]; + href += "?q=" + "%s"; + if (redirect.is(":checked")) { + href += "&r=1"; + } + searchLink.html(href); + copy[0].onmouseenter(); + } + function copyLink(e) { + copyToClipboard(this.previousSibling.innerText); + switchCopyLabel(this, this.lastElementChild); + } + copy.click(copyLink); + copy[0].onmouseenter = function() {}; + redirect.click(setSearchUrlTemplate); + setSearchUrlTemplate(); + copy.prop("disabled", false); + redirect.prop("disabled", false); + expand.click(function (e) { + var searchInfo = $("div.page-search-info"); + if(this.parentElement.hasAttribute("open")) { + searchInfo.attr("style", "border-width: 0;"); + } else { + searchInfo.attr("style", "border-width: 1px;").height(searchInfo.prop("scrollHeight")); + } + }); +}); +$(window).on("load", function() { + var input = $("#page-search-input"); + var reset = $("#page-search-reset"); + var notify = $("#page-search-notify"); + var resultSection = $("div#result-section"); + var resultContainer = $("div#result-container"); + var searchTerm = ""; + var activeTab = ""; + var fixedTab = false; + var visibleTabs = []; + var feelingLucky = false; + function renderResults(result) { + if (!result.length) { + notify.html(messages.noResult); + } else if (result.length === 1) { + notify.html(messages.oneResult); + } else { + notify.html(messages.manyResults.replace("{0}", result.length)); + } + resultContainer.empty(); + var r = { + "types": [], + "members": [], + "packages": [], + "modules": [], + "searchTags": [] + }; + for (var i in result) { + var item = result[i]; + var arr = r[item.category]; + arr.push(item); + } + if (!activeTab || r[activeTab].length === 0 || !fixedTab) { + Object.keys(r).reduce(function(prev, curr) { + if (r[curr].length > 0 && r[curr][0].score > prev) { + activeTab = curr; + return r[curr][0].score; + } + return prev; + }, 0); + } + if (feelingLucky && activeTab) { + notify.html(messages.redirecting) + var firstItem = r[activeTab][0]; + window.location = getURL(firstItem.indexItem, firstItem.category); + return; + } + if (result.length > 20) { + if (searchTerm[searchTerm.length - 1] === ".") { + if (activeTab === "types" && r["members"].length > r["types"].length) { + activeTab = "members"; + } else if (activeTab === "packages" && r["types"].length > r["packages"].length) { + activeTab = "types"; + } + } + } + var categoryCount = Object.keys(r).reduce(function(prev, curr) { + return prev + (r[curr].length > 0 ? 1 : 0); + }, 0); + visibleTabs = []; + var tabContainer = $("
    ").appendTo(resultContainer); + for (var key in r) { + var id = "#result-tab-" + key.replace("searchTags", "search_tags"); + if (r[key].length) { + var count = r[key].length >= 1000 ? "999+" : r[key].length; + if (result.length > 20 && categoryCount > 1) { + var button = $("").appendTo(tabContainer); + button.click(key, function(e) { + fixedTab = true; + renderResult(e.data, $(this)); + }); + visibleTabs.push(key); + } else { + $("" + categories[key] + + " (" + count + ")").appendTo(tabContainer); + renderTable(key, r[key]).appendTo(resultContainer); + tabContainer = $("
    ").appendTo(resultContainer); + + } + } + } + if (activeTab && result.length > 20 && categoryCount > 1) { + $("button#result-tab-" + activeTab).addClass("active-table-tab"); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + } + resultSection.show(); + function renderResult(category, button) { + activeTab = category; + setSearchUrl(); + resultContainer.find("div.summary-table").remove(); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + button.siblings().removeClass("active-table-tab"); + button.addClass("active-table-tab"); + } + } + function selectTab(category) { + $("button#result-tab-" + category).click(); + } + function renderTable(category, items) { + var table = $("
    ") + .addClass(category === "modules" + ? "one-column-search-results" + : "two-column-search-results"); + var col1, col2; + if (category === "modules") { + col1 = "Module"; + } else if (category === "packages") { + col1 = "Module"; + col2 = "Package"; + } else if (category === "types") { + col1 = "Package"; + col2 = "Class" + } else if (category === "members") { + col1 = "Class"; + col2 = "Member"; + } else if (category === "searchTags") { + col1 = "Location"; + col2 = "Name"; + } + $("
    " + col1 + "
    ").appendTo(table); + if (category !== "modules") { + $("
    " + col2 + "
    ").appendTo(table); + } + $.each(items, function(index, item) { + var rowColor = index % 2 ? "odd-row-color" : "even-row-color"; + renderItem(item, table, rowColor); + }); + return table; + } + function renderItem(item, table, rowColor) { + var label = getHighlightedText(item.input, item.boundaries, item.prefix.length, item.input.length); + var link = $("") + .attr("href", getURL(item.indexItem, item.category)) + .attr("tabindex", "0") + .addClass("search-result-link") + .html(label); + var container = getHighlightedText(item.input, item.boundaries, 0, item.prefix.length - 1); + if (item.category === "searchTags") { + container = item.indexItem.h || ""; + } + if (item.category !== "modules") { + $("
    ").html(container).addClass("col-plain").addClass(rowColor).appendTo(table); + } + $("
    ").html(link).addClass("col-last").addClass(rowColor).appendTo(table); + } + var timeout; + function schedulePageSearch() { + if (timeout) { + clearTimeout(timeout); + } + timeout = setTimeout(function () { + doPageSearch() + }, 100); + } + function doPageSearch() { + setSearchUrl(); + var term = searchTerm = input.val().trim(); + if (term === "") { + notify.html(messages.enterTerm); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + resultSection.hide(); + } else { + notify.html(messages.searching); + doSearch({ term: term, maxResults: 1200 }, renderResults); + } + } + function setSearchUrl() { + var query = input.val().trim(); + var url = document.location.pathname; + if (query) { + url += "?q=" + encodeURI(query); + if (activeTab && fixedTab) { + url += "&c=" + activeTab; + } + } + history.replaceState({query: query}, "", url); + } + input.on("input", function(e) { + feelingLucky = false; + schedulePageSearch(); + }); + $(document).keydown(function(e) { + if ((e.ctrlKey || e.metaKey) && (e.key === "ArrowLeft" || e.key === "ArrowRight")) { + if (activeTab && visibleTabs.length > 1) { + var idx = visibleTabs.indexOf(activeTab); + idx += e.key === "ArrowLeft" ? visibleTabs.length - 1 : 1; + selectTab(visibleTabs[idx % visibleTabs.length]); + return false; + } + } + }); + reset.click(function() { + notify.html(messages.enterTerm); + resultSection.hide(); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + input.val('').focus(); + setSearchUrl(); + }); + input.prop("disabled", false); + reset.prop("disabled", false); + + var urlParams = new URLSearchParams(window.location.search); + if (urlParams.has("q")) { + input.val(urlParams.get("q")) + } + if (urlParams.has("c")) { + activeTab = urlParams.get("c"); + fixedTab = true; + } + if (urlParams.get("r")) { + feelingLucky = true; + } + if (input.val()) { + doPageSearch(); + } else { + notify.html(messages.enterTerm); + } + input.select().focus(); +}); diff --git a/docs/1.0.0/search.html b/docs/1.0.0/search.html new file mode 100644 index 0000000..6555fe3 --- /dev/null +++ b/docs/1.0.0/search.html @@ -0,0 +1,71 @@ + + + + +Search (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +

    Search

    +
    + + +
    +Additional resources +
    +
    +
    +

    The help page provides an introduction to the scope and syntax of JavaDoc search.

    +

    You can use the <ctrl> or <cmd> keys in combination with the left and right arrow keys to switch between result tabs in this page.

    +

    The URL template below may be used to configure this page as a search engine in browsers that support this feature. It has been tested to work in Google Chrome and Mozilla Firefox. Note that other browsers may not support this feature or require a different URL format.

    +link +

    + +

    +
    +

    Loading search index...

    + +
    +
    +
    + + diff --git a/docs/1.0.0/search.js b/docs/1.0.0/search.js new file mode 100644 index 0000000..d398670 --- /dev/null +++ b/docs/1.0.0/search.js @@ -0,0 +1,458 @@ +/* + * Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ +"use strict"; +const messages = { + enterTerm: "Enter a search term", + noResult: "No results found", + oneResult: "Found one result", + manyResults: "Found {0} results", + loading: "Loading search index...", + searching: "Searching...", + redirecting: "Redirecting to first result...", + linkIcon: "Link icon", + linkToSection: "Link to this section" +} +const categories = { + modules: "Modules", + packages: "Packages", + types: "Classes and Interfaces", + members: "Members", + searchTags: "Search Tags" +}; +const highlight = "$&"; +const NO_MATCH = {}; +const MAX_RESULTS = 300; +function checkUnnamed(name, separator) { + return name === "" || !name ? "" : name + separator; +} +function escapeHtml(str) { + return str.replace(//g, ">"); +} +function getHighlightedText(str, boundaries, from, to) { + var start = from; + var text = ""; + for (var i = 0; i < boundaries.length; i += 2) { + var b0 = boundaries[i]; + var b1 = boundaries[i + 1]; + if (b0 >= to || b1 <= from) { + continue; + } + text += escapeHtml(str.slice(start, Math.max(start, b0))); + text += ""; + text += escapeHtml(str.slice(Math.max(start, b0), Math.min(to, b1))); + text += ""; + start = Math.min(to, b1); + } + text += escapeHtml(str.slice(start, to)); + return text; +} +function getURLPrefix(item, category) { + var urlPrefix = ""; + var slash = "/"; + if (category === "modules") { + return item.l + slash; + } else if (category === "packages" && item.m) { + return item.m + slash; + } else if (category === "types" || category === "members") { + if (item.m) { + urlPrefix = item.m + slash; + } else { + $.each(packageSearchIndex, function(index, it) { + if (it.m && item.p === it.l) { + urlPrefix = it.m + slash; + } + }); + } + } + return urlPrefix; +} +function getURL(item, category) { + if (item.url) { + return item.url; + } + var url = getURLPrefix(item, category); + if (category === "modules") { + url += "module-summary.html"; + } else if (category === "packages") { + if (item.u) { + url = item.u; + } else { + url += item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (category === "types") { + if (item.u) { + url = item.u; + } else { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.l + ".html"; + } + } else if (category === "members") { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.c + ".html" + "#"; + if (item.u) { + url += item.u; + } else { + url += item.l; + } + } else if (category === "searchTags") { + url += item.u; + } + item.url = url; + return url; +} +function createMatcher(term, camelCase) { + if (camelCase && !isUpperCase(term)) { + return null; // no need for camel-case matcher for lower case query + } + var pattern = ""; + var upperCase = []; + term.trim().split(/\s+/).forEach(function(w, index, array) { + var tokens = w.split(/(?=[A-Z,.()<>?[\/])/); + for (var i = 0; i < tokens.length; i++) { + var s = tokens[i]; + // ',' and '?' are the only delimiters commonly followed by space in java signatures + pattern += "(" + $.ui.autocomplete.escapeRegex(s).replace(/[,?]/g, "$&\\s*?") + ")"; + upperCase.push(false); + var isWordToken = /\w$/.test(s); + if (isWordToken) { + if (i === tokens.length - 1 && index < array.length - 1) { + // space in query string matches all delimiters + pattern += "(.*?)"; + upperCase.push(isUpperCase(s[0])); + } else { + if (!camelCase && isUpperCase(s) && s.length === 1) { + pattern += "()"; + } else { + pattern += "([a-z0-9$<>?[\\]]*?)"; + } + upperCase.push(isUpperCase(s[0])); + } + } else { + pattern += "()"; + upperCase.push(false); + } + } + }); + var re = new RegExp(pattern, "gi"); + re.upperCase = upperCase; + return re; +} +function findMatch(matcher, input, startOfName, endOfName) { + var from = startOfName; + matcher.lastIndex = from; + var match = matcher.exec(input); + // Expand search area until we get a valid result or reach the beginning of the string + while (!match || match.index + match[0].length < startOfName || endOfName < match.index) { + if (from === 0) { + return NO_MATCH; + } + from = input.lastIndexOf(".", from - 2) + 1; + matcher.lastIndex = from; + match = matcher.exec(input); + } + var boundaries = []; + var matchEnd = match.index + match[0].length; + var score = 5; + var start = match.index; + var prevEnd = -1; + for (var i = 1; i < match.length; i += 2) { + var isUpper = isUpperCase(input[start]); + var isMatcherUpper = matcher.upperCase[i]; + // capturing groups come in pairs, match and non-match + boundaries.push(start, start + match[i].length); + // make sure groups are anchored on a left word boundary + var prevChar = input[start - 1] || ""; + var nextChar = input[start + 1] || ""; + if (start !== 0 && !/[\W_]/.test(prevChar) && !/[\W_]/.test(input[start])) { + if (isUpper && (isLowerCase(prevChar) || isLowerCase(nextChar))) { + score -= 0.1; + } else if (isMatcherUpper && start === prevEnd) { + score -= isUpper ? 0.1 : 1.0; + } else { + return NO_MATCH; + } + } + prevEnd = start + match[i].length; + start += match[i].length + match[i + 1].length; + + // lower score for parts of the name that are missing + if (match[i + 1] && prevEnd < endOfName) { + score -= rateNoise(match[i + 1]); + } + } + // lower score if a type name contains unmatched camel-case parts + if (input[matchEnd - 1] !== "." && endOfName > matchEnd) + score -= rateNoise(input.slice(matchEnd, endOfName)); + score -= rateNoise(input.slice(0, Math.max(startOfName, match.index))); + + if (score <= 0) { + return NO_MATCH; + } + return { + input: input, + score: score, + boundaries: boundaries + }; +} +function isUpperCase(s) { + return s !== s.toLowerCase(); +} +function isLowerCase(s) { + return s !== s.toUpperCase(); +} +function rateNoise(str) { + return (str.match(/([.(])/g) || []).length / 5 + + (str.match(/([A-Z]+)/g) || []).length / 10 + + str.length / 20; +} +function doSearch(request, response) { + var term = request.term.trim(); + var maxResults = request.maxResults || MAX_RESULTS; + if (term.length === 0) { + return this.close(); + } + var matcher = { + plainMatcher: createMatcher(term, false), + camelCaseMatcher: createMatcher(term, true) + } + var indexLoaded = indexFilesLoaded(); + + function getPrefix(item, category) { + switch (category) { + case "packages": + return checkUnnamed(item.m, "/"); + case "types": + return checkUnnamed(item.p, "."); + case "members": + return checkUnnamed(item.p, ".") + item.c + "."; + default: + return ""; + } + } + function useQualifiedName(category) { + switch (category) { + case "packages": + return /[\s/]/.test(term); + case "types": + case "members": + return /[\s.]/.test(term); + default: + return false; + } + } + function searchIndex(indexArray, category) { + var matches = []; + if (!indexArray) { + if (!indexLoaded) { + matches.push({ l: messages.loading, category: category }); + } + return matches; + } + $.each(indexArray, function (i, item) { + var prefix = getPrefix(item, category); + var simpleName = item.l; + var qualifiedName = prefix + simpleName; + var useQualified = useQualifiedName(category); + var input = useQualified ? qualifiedName : simpleName; + var startOfName = useQualified ? prefix.length : 0; + var endOfName = category === "members" && input.indexOf("(", startOfName) > -1 + ? input.indexOf("(", startOfName) : input.length; + var m = findMatch(matcher.plainMatcher, input, startOfName, endOfName); + if (m === NO_MATCH && matcher.camelCaseMatcher) { + m = findMatch(matcher.camelCaseMatcher, input, startOfName, endOfName); + } + if (m !== NO_MATCH) { + m.indexItem = item; + m.prefix = prefix; + m.category = category; + if (!useQualified) { + m.input = qualifiedName; + m.boundaries = m.boundaries.map(function(b) { + return b + prefix.length; + }); + } + matches.push(m); + } + return true; + }); + return matches.sort(function(e1, e2) { + return e2.score - e1.score; + }).slice(0, maxResults); + } + + var result = searchIndex(moduleSearchIndex, "modules") + .concat(searchIndex(packageSearchIndex, "packages")) + .concat(searchIndex(typeSearchIndex, "types")) + .concat(searchIndex(memberSearchIndex, "members")) + .concat(searchIndex(tagSearchIndex, "searchTags")); + + if (!indexLoaded) { + updateSearchResults = function() { + doSearch(request, response); + } + } else { + updateSearchResults = function() {}; + } + response(result); +} +// JQuery search menu implementation +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> .result-item"); + // workaround for search result scrolling + this.menu._scrollIntoView = function _scrollIntoView( item ) { + var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight; + if ( this._hasScroll() ) { + borderTop = parseFloat( $.css( this.activeMenu[ 0 ], "borderTopWidth" ) ) || 0; + paddingTop = parseFloat( $.css( this.activeMenu[ 0 ], "paddingTop" ) ) || 0; + offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop; + scroll = this.activeMenu.scrollTop(); + elementHeight = this.activeMenu.height() - 26; + itemHeight = item.outerHeight(); + + if ( offset < 0 ) { + this.activeMenu.scrollTop( scroll + offset ); + } else if ( offset + itemHeight > elementHeight ) { + this.activeMenu.scrollTop( scroll + offset - elementHeight + itemHeight ); + } + } + }; + }, + _renderMenu: function(ul, items) { + var currentCategory = ""; + var widget = this; + widget.menu.bindings = $(); + $.each(items, function(index, item) { + if (item.category && item.category !== currentCategory) { + ul.append("
  • " + categories[item.category] + "
  • "); + currentCategory = item.category; + } + var li = widget._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", categories[item.category] + " : " + item.l); + } else { + li.attr("aria-label", item.l); + } + li.attr("class", "result-item"); + }); + ul.append(""); + }, + _renderItem: function(ul, item) { + var li = $("
  • ").appendTo(ul); + var div = $("
    ").appendTo(li); + var label = item.l + ? item.l + : getHighlightedText(item.input, item.boundaries, 0, item.input.length); + var idx = item.indexItem; + if (item.category === "searchTags" && idx && idx.h) { + if (idx.d) { + div.html(label + " (" + idx.h + ")
    " + + idx.d + "
    "); + } else { + div.html(label + " (" + idx.h + ")"); + } + } else { + div.html(label); + } + return li; + } +}); +$(function() { + var expanded = false; + var windowWidth; + function collapse() { + if (expanded) { + $("div#navbar-top").removeAttr("style"); + $("button#navbar-toggle-button") + .removeClass("expanded") + .attr("aria-expanded", "false"); + expanded = false; + } + } + $("button#navbar-toggle-button").click(function (e) { + if (expanded) { + collapse(); + } else { + var navbar = $("div#navbar-top"); + navbar.height(navbar.prop("scrollHeight")); + $("button#navbar-toggle-button") + .addClass("expanded") + .attr("aria-expanded", "true"); + expanded = true; + windowWidth = window.innerWidth; + } + }); + $("ul.sub-nav-list-small li a").click(collapse); + $("input#search-input").focus(collapse); + $("main").click(collapse); + $("section[id] > :header, :header[id], :header:has(a[id])").each(function(idx, el) { + // Create anchor links for headers with an associated id attribute + var hdr = $(el); + var id = hdr.attr("id") || hdr.parent("section").attr("id") || hdr.children("a").attr("id"); + if (id) { + hdr.append(" " + messages.linkIcon +""); + } + }); + $(window).on("orientationchange", collapse).on("resize", function(e) { + if (expanded && windowWidth !== window.innerWidth) collapse(); + }); + var search = $("#search-input"); + var reset = $("#reset-button"); + search.catcomplete({ + minLength: 1, + delay: 200, + source: doSearch, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push({ l: messages.noResult }); + } else { + $("#search-input").empty(); + } + }, + autoFocus: true, + focus: function(event, ui) { + return false; + }, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.indexItem) { + var url = getURL(ui.item.indexItem, ui.item.category); + window.location.href = pathtoroot + url; + $("#search-input").focus(); + } + } + }); + search.val(''); + search.prop("disabled", false); + reset.prop("disabled", false); + reset.click(function() { + search.val('').focus(); + }); + search.focus(); +}); diff --git a/docs/1.0.0/stylesheet.css b/docs/1.0.0/stylesheet.css new file mode 100644 index 0000000..f71489f --- /dev/null +++ b/docs/1.0.0/stylesheet.css @@ -0,0 +1,1272 @@ +/* + * Javadoc style sheet + */ + +@import url('resources/fonts/dejavu.css'); + +/* + * These CSS custom properties (variables) define the core color and font + * properties used in this stylesheet. + */ +:root { + /* body, block and code fonts */ + --body-font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + --block-font-family: 'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + --code-font-family: 'DejaVu Sans Mono', monospace; + /* Base font sizes for body and code elements */ + --body-font-size: 14px; + --code-font-size: 14px; + /* Text colors for body and block elements */ + --body-text-color: #353833; + --block-text-color: #474747; + /* Background colors for various structural elements */ + --body-background-color: #ffffff; + --section-background-color: #f8f8f8; + --detail-background-color: #ffffff; + /* Colors for navigation bar and table captions */ + --navbar-background-color: #4D7A97; + --navbar-text-color: #ffffff; + /* Background color for subnavigation and various headers */ + --subnav-background-color: #dee3e9; + /* Background and text colors for selected tabs and navigation items */ + --selected-background-color: #f8981d; + --selected-text-color: #253441; + --selected-link-color: #1f389c; + /* Background colors for generated tables */ + --even-row-color: #ffffff; + --odd-row-color: #eeeeef; + /* Text color for page title */ + --title-color: #2c4557; + /* Text colors for links */ + --link-color: #4A6782; + --link-color-active: #bb7a2a; + /* Snippet colors */ + --snippet-background-color: #ebecee; + --snippet-text-color: var(--block-text-color); + --snippet-highlight-color: #f7c590; + /* Border colors for structural elements and user defined tables */ + --border-color: #ededed; + --table-border-color: #000000; + /* Search input colors */ + --search-input-background-color: #ffffff; + --search-input-text-color: #000000; + --search-input-placeholder-color: #909090; + /* Highlight color for active search tag target */ + --search-tag-highlight-color: #ffff00; + /* Adjustments for icon and active background colors of copy-to-clipboard buttons */ + --copy-icon-brightness: 100%; + --copy-button-background-color-active: rgba(168, 168, 176, 0.3); + /* Colors for invalid tag notifications */ + --invalid-tag-background-color: #ffe6e6; + --invalid-tag-text-color: #000000; +} +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ +body { + background-color:var(--body-background-color); + color:var(--body-text-color); + font-family:var(--body-font-family); + font-size:var(--body-font-size); + margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; +} +a:link, a:visited { + text-decoration:none; + color:var(--link-color); +} +a[href]:hover, a[href]:focus { + text-decoration:none; + color:var(--link-color-active); +} +pre { + font-family:var(--code-font-family); + font-size:1em; +} +h1 { + font-size:1.428em; +} +h2 { + font-size:1.285em; +} +h3 { + font-size:1.14em; +} +h4 { + font-size:1.072em; +} +h5 { + font-size:1.001em; +} +h6 { + font-size:0.93em; +} +/* Disable font boosting for selected elements */ +h1, h2, h3, h4, h5, h6, div.member-signature { + max-height: 1000em; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:var(--code-font-family); +} +:not(h1, h2, h3, h4, h5, h6) > code, +:not(h1, h2, h3, h4, h5, h6) > tt { + font-size:var(--code-font-size); + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:var(--code-font-family); + font-size:1em; + padding-top:4px; +} +.summary-table dt code { + font-family:var(--code-font-family); + font-size:1em; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +button { + font-family: var(--body-font-family); + font-size: 1em; +} +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + +/* + * Styles for document title and copyright. + */ +.about-language { + float:right; + padding:0 21px 8px 8px; + font-size:0.915em; + margin-top:-9px; + height:2.9em; +} +.legal-copy { + margin-left:.5em; +} +/* + * Styles for navigation bar. + */ +@media screen { + div.flex-box { + position:fixed; + display:flex; + flex-direction:column; + height: 100%; + width: 100%; + } + header.flex-header { + flex: 0 0 auto; + } + div.flex-content { + flex: 1 1 auto; + overflow-y: auto; + } +} +.top-nav { + background-color:var(--navbar-background-color); + color:var(--navbar-text-color); + float:left; + width:100%; + clear:right; + min-height:2.8em; + padding:10px 0 0 0; + overflow:hidden; + font-size:0.857em; +} +button#navbar-toggle-button { + display:none; +} +ul.sub-nav-list-small { + display: none; +} +.sub-nav { + background-color:var(--subnav-background-color); + float:left; + width:100%; + overflow:hidden; + font-size:0.857em; +} +.sub-nav div { + clear:left; + float:left; + padding:6px; + text-transform:uppercase; +} +.sub-nav .sub-nav-list { + padding-top:4px; +} +ul.nav-list { + display:block; + margin:0 25px 0 0; + padding:0; +} +ul.sub-nav-list { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.nav-list li { + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +.sub-nav .nav-list-search { + float:right; + margin:0; + padding:6px; + clear:none; + text-align:right; + position:relative; +} +ul.sub-nav-list li { + list-style:none; + float:left; +} +.top-nav a:link, .top-nav a:active, .top-nav a:visited { + color:var(--navbar-text-color); + text-decoration:none; + text-transform:uppercase; +} +.top-nav a:hover { + color:var(--link-color-active); +} +.nav-bar-cell1-rev { + background-color:var(--selected-background-color); + color:var(--selected-text-color); + margin: auto 5px; +} +.skip-nav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* + * Hide navigation links and search box in print layout + */ +@media print { + ul.nav-list, div.sub-nav { + display:none; + } +} +/* + * Styles for page header. + */ +.title { + color:var(--title-color); + margin:10px 0; +} +.sub-title { + margin:5px 0 0 0; +} +ul.contents-list { + margin: 0 0 15px 0; + padding: 0; + list-style: none; +} +ul.contents-list li { + font-size:0.93em; +} +/* + * Styles for headings. + */ +body.class-declaration-page .summary h2, +body.class-declaration-page .details h2, +body.class-use-page h2, +body.module-declaration-page .block-list h2 { + font-style: italic; + padding:0; + margin:15px 0; +} +body.class-declaration-page .summary h3, +body.class-declaration-page .details h3, +body.class-declaration-page .summary .inherited-list h2 { + background-color:var(--subnav-background-color); + border:1px solid var(--border-color); + margin:0 0 6px -8px; + padding:7px 5px; +} +/* + * Styles for page layout containers. + */ +main { + clear:both; + padding:10px 20px; + position:relative; +} +dl.notes > dt { + font-family: var(--body-font-family); + font-size:0.856em; + font-weight:bold; + margin:10px 0 0 0; + color:var(--body-text-color); +} +dl.notes > dd { + margin:5px 10px 10px 0; + font-size:1em; + font-family:var(--block-font-family) +} +dl.name-value > dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +dl.name-value > dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* + * Styles for lists. + */ +li.circle { + list-style:circle; +} +ul.horizontal li { + display:inline; + font-size:0.9em; +} +div.inheritance { + margin:0; + padding:0; +} +div.inheritance div.inheritance { + margin-left:2em; +} +ul.block-list, +ul.details-list, +ul.member-list, +ul.summary-list { + margin:10px 0 10px 0; + padding:0; +} +ul.block-list > li, +ul.details-list > li, +ul.member-list > li, +ul.summary-list > li { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.ref-list { + padding:0; + margin:0; +} +ul.ref-list > li { + list-style:none; +} +.summary-table dl, .summary-table dl dt, .summary-table dl dd { + margin-top:0; + margin-bottom:1px; +} +ul.tag-list, ul.tag-list-long { + padding-left: 0; + list-style: none; +} +ul.tag-list li { + display: inline; +} +ul.tag-list li:not(:last-child):after, +ul.tag-list-long li:not(:last-child):after +{ + content: ", "; + white-space: pre-wrap; +} +ul.preview-feature-list { + list-style: none; + margin:0; + padding:0.1em; + line-height: 1.6em; +} +/* + * Styles for tables. + */ +.summary-table, .details-table { + width:100%; + border-spacing:0; + border:1px solid var(--border-color); + border-top:0; + padding:0; +} +.caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:var(--selected-text-color); + clear:none; + overflow:hidden; + padding: 10px 0 0 1px; + margin:0; +} +.caption a:link, .caption a:visited { + color:var(--selected-link-color); +} +.caption a:hover, +.caption a:active { + color:var(--navbar-text-color); +} +.caption span { + font-weight:bold; + white-space:nowrap; + padding:5px 12px 7px 12px; + display:inline-block; + float:left; + background-color:var(--selected-background-color); + border: none; + height:16px; +} +div.table-tabs { + padding:10px 0 0 1px; + margin:10px 0 0 0; +} +div.table-tabs > button { + border: none; + cursor: pointer; + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 8px; +} +div.table-tabs > .active-table-tab { + background: var(--selected-background-color); + color: var(--selected-text-color); +} +div.table-tabs > button.table-tab { + background: var(--navbar-background-color); + color: var(--navbar-text-color); +} +.two-column-search-results { + display: grid; + grid-template-columns: minmax(400px, max-content) minmax(400px, auto); +} +div.checkboxes { + line-height: 2em; +} +div.checkboxes > span { + margin-left: 10px; +} +div.checkboxes > label { + margin-left: 8px; + white-space: nowrap; +} +div.checkboxes > label > input { + margin: 0 2px; +} +.two-column-summary { + display: grid; + grid-template-columns: minmax(25%, max-content) minmax(25%, auto); +} +.three-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(20%, max-content) minmax(20%, auto); +} +.three-column-release-summary { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(10%, max-content) minmax(40%, auto); +} +.four-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, max-content) minmax(15%, auto); +} +@media screen and (max-width: 1000px) { + .four-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(15%, auto); + } +} +@media screen and (max-width: 800px) { + .two-column-search-results { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(40%, auto); + } + .three-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(25%, auto); + } + .three-column-release-summary { + display: grid; + grid-template-columns: minmax(70%, max-content) minmax(30%, max-content) + } + .three-column-summary .col-last, + .three-column-release-summary .col-last{ + grid-column-end: span 2; + } +} +@media screen and (max-width: 600px) { + .two-column-summary { + display: grid; + grid-template-columns: 1fr; + } +} +.summary-table > div, .details-table > div { + text-align:left; + padding: 8px 3px 3px 7px; + overflow-x: auto; + scrollbar-width: thin; +} +.col-first, .col-second, .col-last, .col-constructor-name, .col-summary-item-name { + vertical-align:top; + padding-right:0; + padding-top:8px; + padding-bottom:3px; +} +.table-header { + background:var(--subnav-background-color); + font-weight: bold; +} +/* Sortable table columns */ +.table-header[onclick] { + cursor: pointer; +} +.table-header[onclick]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + '); + background-size:100% 100%; + width:9px; + height:14px; + margin-left:4px; + margin-bottom:-3px; +} +.table-header[onclick].sort-asc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + +} +.table-header[onclick].sort-desc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +.col-first, .col-first { + font-size:0.93em; +} +.col-second, .col-second, .col-last, .col-constructor-name, .col-summary-item-name, .col-last { + font-size:0.93em; +} +.col-first, .col-second, .col-constructor-name { + vertical-align:top; + overflow: auto; +} +.col-last { + white-space:normal; +} +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-constructor-name a:link, .col-constructor-name a:visited, +.col-summary-item-name a:link, .col-summary-item-name a:visited { + font-weight:bold; +} +.even-row-color, .even-row-color .table-header { + background-color:var(--even-row-color); +} +.odd-row-color, .odd-row-color .table-header { + background-color:var(--odd-row-color); +} +/* + * Styles for contents. + */ +div.block { + font-size:var(--body-font-size); + font-family:var(--block-font-family); +} +.col-last div { + padding-top:0; +} +.col-last a { + padding-bottom:3px; +} +.module-signature, +.package-signature, +.type-signature, +.member-signature { + font-family:var(--code-font-family); + font-size:1em; + margin:14px 0; + white-space: pre-wrap; +} +.module-signature, +.package-signature, +.type-signature { + margin-top: 0; +} +.member-signature .type-parameters-long, +.member-signature .parameters, +.member-signature .exceptions { + display: inline-block; + vertical-align: top; + white-space: pre; +} +.member-signature .type-parameters { + white-space: normal; +} +/* + * Styles for formatting effect. + */ +.source-line-no { + /* Color of line numbers in source pages can be set via custom property below */ + color:var(--source-linenumber-color, green); + padding:0 30px 0 0; +} +.block { + display:block; + margin:0 10px 5px 0; + color:var(--block-text-color); +} +.deprecated-label, .description-from-type-label, .implementation-label, .member-name-link, +.module-label-in-package, .module-label-in-type, .package-label-in-type, +.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label { + font-weight:bold; +} +.deprecation-comment, .help-footnote, .preview-comment { + font-style:italic; +} +.deprecation-block { + font-size:1em; + font-family:var(--block-font-family); + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +.preview-block { + font-size:1em; + font-family:var(--block-font-family); + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecation-comment { + font-style:normal; +} +details.invalid-tag, span.invalid-tag { + font-size:1em; + font-family:var(--block-font-family); + color: var(--invalid-tag-text-color); + background: var(--invalid-tag-background-color); + border: thin solid var(--table-border-color); + border-radius:2px; + padding: 2px 4px; + display:inline-block; +} +details summary { + cursor: pointer; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-state-active { + /* Overrides the color of selection used in jQuery UI */ + background: var(--selected-background-color); + border: 1px solid var(--selected-background-color); + color: var(--selected-text-color); +} +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:var(--navbar-background-color); + color:var(--navbar-text-color); +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:auto; + overflow-x:auto; + scrollbar-width: thin; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:1; + background-color: var(--body-background-color); +} +ul.ui-autocomplete li { + float:left; + clear:both; + min-width:100%; +} +ul.ui-autocomplete li.ui-static-link { + position:sticky; + bottom:0; + left:0; + background: var(--subnav-background-color); + padding: 5px 0; + font-family: var(--body-font-family); + font-size: 0.93em; + font-weight: bolder; + z-index: 2; +} +li.ui-static-link a, li.ui-static-link a:visited { + text-decoration:none; + color:var(--link-color); + float:right; + margin-right:20px; +} +.ui-autocomplete .result-item { + font-size: inherit; +} +.ui-autocomplete .result-highlight { + font-weight:bold; +} +#search-input, #page-search-input { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + background-color: var(--search-input-background-color); + color: var(--search-input-text-color); + border-color: var(--border-color); + padding-left:20px; + width: 250px; + margin: 0; +} +#search-input { + margin-left: 4px; +} +#reset-button { + background-color: transparent; + background-image:url('resources/x.png'); + background-repeat:no-repeat; + background-size:contain; + border:0; + border-radius:0; + width:12px; + height:12px; + position:absolute; + right:12px; + top:10px; + font-size:0; +} +::placeholder { + color:var(--search-input-placeholder-color); + opacity: 1; +} +.search-tag-desc-result { + font-style:italic; + font-size:11px; +} +.search-tag-holder-result { + font-style:italic; + font-size:12px; +} +.search-tag-result:target { + background-color:var(--search-tag-highlight-color); +} +details.page-search-details { + display: inline-block; +} +div#result-container { + font-size: 1em; +} +div#result-container a.search-result-link { + padding: 0; + margin: 4px 0; + width: 100%; +} +#result-container .result-highlight { + font-weight:bolder; +} +.page-search-info { + background-color: var(--subnav-background-color); + border-radius: 3px; + border: 0 solid var(--border-color); + padding: 0 8px; + overflow: hidden; + height: 0; + transition: all 0.2s ease; +} +div.table-tabs > button.table-tab { + background: var(--navbar-background-color); + color: var(--navbar-text-color); +} +.page-search-header { + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 3px; + background-color:var(--navbar-background-color); + color:var(--navbar-text-color); + display: inline-block; +} +button.page-search-header { + border: none; + cursor: pointer; +} +span#page-search-link { + text-decoration: underline; +} +.module-graph span, .sealed-graph span { + display:none; + position:absolute; +} +.module-graph:hover span, .sealed-graph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.inherited-list { + margin: 10px 0 10px 0; +} +section.class-description { + line-height: 1.4; +} +.summary section[class$="-summary"], .details section[class$="-details"], +.class-uses .detail, .serialized-class-details { + padding: 0 20px 5px 10px; + border: 1px solid var(--border-color); + background-color: var(--section-background-color); +} +.inherited-list, section[class$="-details"] .detail { + padding:0 0 5px 8px; + background-color:var(--detail-background-color); + border:none; +} +.vertical-separator { + padding: 0 5px; +} +ul.help-section-list { + margin: 0; +} +ul.help-subtoc > li { + display: inline-block; + padding-right: 5px; + font-size: smaller; +} +ul.help-subtoc > li::before { + content: "\2022" ; + padding-right:2px; +} +.help-note { + font-style: italic; +} +/* + * Indicator icon for external links. + */ +main a[href*="://"]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + background-size:100% 100%; + width:7px; + height:7px; + margin-left:2px; + margin-bottom:4px; +} +main a[href*="://"]:hover::after, +main a[href*="://"]:focus::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +/* + * Styles for header/section anchor links + */ +a.anchor-link { + opacity: 0; + transition: opacity 0.1s; +} +:hover > a.anchor-link { + opacity: 80%; +} +a.anchor-link:hover, +a.anchor-link:focus-visible, +a.anchor-link.visible { + opacity: 100%; +} +a.anchor-link > img { + width: 0.9em; + height: 0.9em; +} +/* + * Styles for copy-to-clipboard buttons + */ +button.copy { + opacity: 70%; + border: none; + border-radius: 3px; + position: relative; + background:none; + transition: opacity 0.3s; + cursor: pointer; +} +:hover > button.copy { + opacity: 80%; +} +button.copy:hover, +button.copy:active, +button.copy:focus-visible, +button.copy.visible { + opacity: 100%; +} +button.copy img { + position: relative; + background: none; + filter: brightness(var(--copy-icon-brightness)); +} +button.copy:active { + background-color: var(--copy-button-background-color-active); +} +button.copy span { + color: var(--body-text-color); + position: relative; + top: -0.1em; + transition: all 0.1s; + font-size: 0.76rem; + line-height: 1.2em; + opacity: 0; +} +button.copy:hover span, +button.copy:focus-visible span, +button.copy.visible span { + opacity: 100%; +} +/* search page copy button */ +button#page-search-copy { + margin-left: 0.4em; + padding:0.3em; + top:0.13em; +} +button#page-search-copy img { + width: 1.2em; + height: 1.2em; + padding: 0.01em 0; + top: 0.15em; +} +button#page-search-copy span { + color: var(--body-text-color); + line-height: 1.2em; + padding: 0.2em; + top: -0.18em; +} +div.page-search-info:hover button#page-search-copy span { + opacity: 100%; +} +/* snippet copy button */ +button.snippet-copy { + position: absolute; + top: 6px; + right: 6px; + height: 1.7em; + padding: 2px; +} +button.snippet-copy img { + width: 18px; + height: 18px; + padding: 0.05em 0; +} +button.snippet-copy span { + line-height: 1.2em; + padding: 0.2em; + position: relative; + top: -0.5em; +} +div.snippet-container:hover button.snippet-copy span { + opacity: 100%; +} +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid var(--table-border-color); +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid var(--table-border-color); +} +table.striped { + border-collapse: collapse; + border: 1px solid var(--table-border-color); +} +table.striped > thead { + background-color: var(--subnav-background-color); +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid var(--table-border-color); +} +table.striped > tbody > tr:nth-child(even) { + background-color: var(--odd-row-color) +} +table.striped > tbody > tr:nth-child(odd) { + background-color: var(--even-row-color) +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid var(--table-border-color); + border-right: 1px solid var(--table-border-color); +} +table.striped > tbody > tr > th { + font-weight: normal; +} +/** + * Tweak style for small screens. + */ +@media screen and (max-width: 920px) { + header.flex-header { + max-height: 100vh; + overflow-y: auto; + } + div#navbar-top { + height: 2.8em; + transition: height 0.35s ease; + } + ul.nav-list { + display: block; + width: 40%; + float:left; + clear: left; + margin: 10px 0 0 0; + padding: 0; + } + ul.nav-list li { + float: none; + padding: 6px; + margin-left: 10px; + margin-top: 2px; + } + ul.sub-nav-list-small { + display:block; + height: 100%; + width: 50%; + float: right; + clear: right; + background-color: var(--subnav-background-color); + color: var(--body-text-color); + margin: 6px 0 0 0; + padding: 0; + } + ul.sub-nav-list-small ul { + padding-left: 20px; + } + ul.sub-nav-list-small a:link, ul.sub-nav-list-small a:visited { + color:var(--link-color); + } + ul.sub-nav-list-small a:hover { + color:var(--link-color-active); + } + ul.sub-nav-list-small li { + list-style:none; + float:none; + padding: 6px; + margin-top: 1px; + text-transform:uppercase; + } + ul.sub-nav-list-small > li { + margin-left: 10px; + } + ul.sub-nav-list-small li p { + margin: 5px 0; + } + div#navbar-sub-list { + display: none; + } + .top-nav a:link, .top-nav a:active, .top-nav a:visited { + display: block; + } + button#navbar-toggle-button { + width: 3.4em; + height: 2.8em; + background-color: transparent; + display: block; + float: left; + border: 0; + margin: 0 10px; + cursor: pointer; + font-size: 10px; + } + button#navbar-toggle-button .nav-bar-toggle-icon { + display: block; + width: 24px; + height: 3px; + margin: 1px 0 4px 0; + border-radius: 2px; + transition: all 0.1s; + background-color: var(--navbar-text-color); + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(1) { + transform: rotate(45deg); + transform-origin: 10% 10%; + width: 26px; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(2) { + opacity: 0; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(3) { + transform: rotate(-45deg); + transform-origin: 10% 90%; + width: 26px; + } +} +@media screen and (max-width: 800px) { + .about-language { + padding-right: 16px; + } + ul.nav-list li { + margin-left: 5px; + } + ul.sub-nav-list-small > li { + margin-left: 5px; + } + main { + padding: 10px; + } + .summary section[class$="-summary"], .details section[class$="-details"], + .class-uses .detail, .serialized-class-details { + padding: 0 8px 5px 8px; + } + body { + -webkit-text-size-adjust: none; + } +} +@media screen and (max-width: 400px) { + .about-language { + font-size: 10px; + padding-right: 12px; + } +} +@media screen and (max-width: 400px) { + .nav-list-search { + width: 94%; + } + #search-input, #page-search-input { + width: 70%; + } +} +@media screen and (max-width: 320px) { + .nav-list-search > label { + display: none; + } + .nav-list-search { + width: 90%; + } + #search-input, #page-search-input { + width: 80%; + } +} + +pre.snippet { + background-color: var(--snippet-background-color); + color: var(--snippet-text-color); + padding: 10px; + margin: 12px 0; + overflow: auto; + white-space: pre; +} +div.snippet-container { + position: relative; +} +@media screen and (max-width: 800px) { + pre.snippet { + padding-top: 26px; + } + button.snippet-copy { + top: 4px; + right: 4px; + } +} +pre.snippet .italic { + font-style: italic; +} +pre.snippet .bold { + font-weight: bold; +} +pre.snippet .highlighted { + background-color: var(--snippet-highlight-color); + border-radius: 10%; +} diff --git a/docs/1.0.0/tag-search-index.js b/docs/1.0.0/tag-search-index.js new file mode 100644 index 0000000..0367dae --- /dev/null +++ b/docs/1.0.0/tag-search-index.js @@ -0,0 +1 @@ +tagSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/docs/1.0.0/type-search-index.js b/docs/1.0.0/type-search-index.js new file mode 100644 index 0000000..5cc191e --- /dev/null +++ b/docs/1.0.0/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"p":"com.patelheet.capitalengine.api","l":"Account"},{"p":"com.patelheet.capitalengine.api","l":"AccountKind"},{"p":"com.patelheet.capitalengine.api","l":"Accounts"},{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalAlertEvent"},{"p":"com.patelheet.capitalengine.api","l":"CapitalApi"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalAuditEvent"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalDayEvent"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalPolicyLimitEvent"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalTransactionEvent"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalWeekEvent"},{"p":"com.patelheet.capitalengine.api","l":"Currency"},{"p":"com.patelheet.capitalengine.api","l":"Failure"},{"p":"com.patelheet.capitalengine.api.service","l":"Indicator"},{"p":"com.patelheet.capitalengine.api.service","l":"IndicatorProvider"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalPolicyLimitEvent.LimitKind"},{"p":"com.patelheet.capitalengine.api.service","l":"MonetaryPolicy"},{"p":"com.patelheet.capitalengine.api","l":"PluginFlow"},{"p":"com.patelheet.capitalengine.api","l":"PolicyStatus"},{"p":"com.patelheet.capitalengine.api","l":"Posting"},{"p":"com.patelheet.capitalengine.api","l":"Severity"},{"p":"com.patelheet.capitalengine.api","l":"Stats"},{"p":"com.patelheet.capitalengine.api","l":"TransactionBuilder"},{"p":"com.patelheet.capitalengine.api","l":"TxRecord"},{"p":"com.patelheet.capitalengine.api","l":"TxResult"},{"p":"com.patelheet.capitalengine.api.service","l":"Unit"}];updateSearchResults(); \ No newline at end of file diff --git a/docs/latest/API-LICENSE.txt b/docs/latest/API-LICENSE.txt new file mode 100644 index 0000000..e3aa08e --- /dev/null +++ b/docs/latest/API-LICENSE.txt @@ -0,0 +1,148 @@ +CapitalEngine API Licence +Version 1.0 + +Copyright (c) 2026 Heet Patel. All rights reserved. + +This licence applies to the CapitalEngine API ("the API"). The API is the +artifact published as com.patelheet:capitalengine-api, which includes its +compiled classes and its Javadoc. It does not apply to CapitalEngine itself +or to any CapitalEngine add-on plugin. Those are proprietary and are covered +by separate terms. + +"Licensor" means Heet Patel (patelheet.com). "You" means the person or +organisation using the API. "Your Plugin" means software you create that +uses the API to work with CapitalEngine. + + +1. WHAT YOU MAY DO + + The Licensor grants you a free, worldwide, non-exclusive, + non-transferable licence to: + + a) Download the API and its Javadoc, and use them to develop, compile and + test Your Plugin. + + b) Declare the API as a compile-time dependency of Your Plugin (for + example, Gradle "compileOnly" or Maven "provided"). + + c) Distribute Your Plugin, for free or for payment, under any licence you + choose, including open source and closed source, as long as you follow + section 2. + + d) Implement the interfaces that the API documents as intended for plugins + to implement (currently MonetaryPolicy and IndicatorProvider), and + listen to the API's events. + + e) Create mock or stub implementations of any API interface. These may + only be used in your own automated tests, and must not be shipped as + part of Your Plugin. + + f) Keep copies of the API in your build tools, caches, private + repositories and CI systems, so that you can do the above. + + g) Quote short parts of the Javadoc in Your Plugin's documentation where + it helps explain how Your Plugin works with CapitalEngine. + + +2. WHAT YOU MAY NOT DO + + a) You may not include, shade or bundle the API's classes inside Your + Plugin or any other distributed software. At runtime, CapitalEngine + provides the API. + + b) You may not publish or share the API jar or its Javadoc yourself, for + example by uploading them to a public repository, website or file + share. Section 1(f) covers private copies. + + c) You may not modify the API, or distribute modified versions of it. + + d) You may not implement the CapitalApi interface, or otherwise create + software that replaces, imitates or substitutes for CapitalEngine or + any of its add-ons, except for test-only mocks under section 1(e). + + e) You may not decompile, disassemble or reverse engineer the API, except + where applicable law allows it despite this restriction. + + f) You may not remove or change any copyright or licence notices in the + API. + + +3. NAMES + + This licence does not give you any rights to the names "CapitalEngine", + "CapitalMarket", "CapitalBank", "CapitalDashboard", "CapitalTrade" or + "patelheet". You may say factually that Your Plugin is "for + CapitalEngine" or "compatible with CapitalEngine". You may not suggest + that the Licensor made, endorses or supports Your Plugin unless the + Licensor has agreed to this in writing. + + +4. YOUR PLUGIN + + You own Your Plugin. The Licensor claims no rights to it. You are solely + responsible for Your Plugin and for how it uses the API, including any + money it creates or moves on a server. + + +5. VERSIONS + + Each released version of the API is covered by the licence included + inside that version's jar. The Licensor may offer future versions of the + API under different terms. Any change does not affect a version you have + already received. + + +6. TERMINATION + + a) This licence ends automatically if you break any of its terms. + + b) If you fix the breach within 30 days of becoming aware of it, your + licence is restored as if it had never ended. + + c) If your licence ends and is not restored, then from that point you + must: + - stop using the API; and + - stop distributing Your Plugin, because it depends on the API. + + d) Copies of Your Plugin that other people received before your licence + ended are not affected. They may keep using those copies. + + e) Sections 4, 7, 8, 9 and 10 still apply after this licence ends. + + +7. NO WARRANTY + + THE API IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED. THIS INCLUDES, WITHOUT LIMITATION, WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + + +8. LIMITATION OF LIABILITY + + TO THE FULLEST EXTENT ALLOWED BY LAW, THE LICENSOR IS NOT LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM THE API OR ITS USE. THIS + INCLUDES LOSS OF DATA, LOSS OF IN-GAME BALANCES AND LOSS OF PROFITS, + WHETHER IN CONTRACT, TORT OR OTHERWISE. + + Nothing in this licence limits or excludes any liability that cannot be + limited or excluded by law. This includes liability for death or + personal injury caused by negligence, and liability for fraud. + + +9. GOVERNING LAW + + This licence, and any dispute or claim arising out of or in connection + with it or its subject matter, is governed by the law of England and + Wales. This includes non-contractual disputes or claims. The courts of + England and Wales have exclusive jurisdiction over any such dispute or + claim. + + +10. EVERYTHING ELSE + + All rights not expressly granted by this licence are reserved by the + Licensor. If any part of this licence cannot be enforced, the rest still + applies. + + For permissions beyond this licence, contact the Licensor through + patelheet.com. diff --git a/docs/latest/allclasses-index.html b/docs/latest/allclasses-index.html new file mode 100644 index 0000000..e9c868c --- /dev/null +++ b/docs/latest/allclasses-index.html @@ -0,0 +1,166 @@ + + + + +All Classes and Interfaces (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +
    +

    All Classes and Interfaces

    +
    +
    +
    +
    +
    +
    Class
    +
    Description
    + +
    +
    A read-only view of one account.
    +
    + +
    +
    What an Account is, which decides who may take money out of it.
    +
    + +
    +
    Account lookup and creation.
    +
    + +
    +
    An alert for owners, raised with CapitalApi.alert.
    +
    + +
    +
    Entry point of the CapitalEngine API.
    +
    + +
    +
    Fired asynchronously after the nightly ledger self-check.
    +
    + +
    +
    Economic day boundary, on the main/global thread.
    +
    + +
    +
    A call hit an owner-set cap or was denied.
    +
    + +
    +
    Which limit was hit.
    +
    + +
    +
    Fired asynchronously after each transaction is safely in the database.
    +
    + +
    +
    Economic week boundary, fired after the CapitalDayEvent that starts the new week.
    +
    + +
    +
    The server's single currency.
    +
    + +
    +
    Why a mutation failed.
    +
    + +
    +
    A named number an add-on publishes for dashboards.
    +
    + +
    +
    Implemented by add-ons and registered with Bukkit's ServicesManager.
    +
    + +
    +
    Shared economic settings, implemented by an add-on (for example CapitalMarket) and registered with Bukkit's + ServicesManager.
    +
    + +
    +
    One plugin's money flows for the current economic day.
    +
    + +
    +
    A plugin's remaining owner-set limits today.
    +
    + +
    +
    One signed leg of a transaction.
    +
    + +
    +
    How serious an alert is.
    +
    + +
    +
    Instant economy-wide snapshot, read from memory.
    +
    + +
    +
    Builds a multi-leg transaction that applies completely or not at all.
    +
    + +
    +
    A committed transaction, as returned by history lookups and carried by events.
    +
    + +
    +
    Outcome of a mutation.
    +
    + +
    +
    The unit of an Indicator.
    +
    +
    +
    +
    +
    +
    +
    + + diff --git a/docs/latest/allpackages-index.html b/docs/latest/allpackages-index.html new file mode 100644 index 0000000..fc53231 --- /dev/null +++ b/docs/latest/allpackages-index.html @@ -0,0 +1,67 @@ + + + + +All Packages (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +
    +

    All Packages

    +
    +
    Package Summary
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/Account.html b/docs/latest/com/patelheet/capitalengine/api/Account.html new file mode 100644 index 0000000..4e80d50 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/Account.html @@ -0,0 +1,201 @@ + + + + +Account (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface Account

    +
    +
    +
    +
    public interface Account
    +
    A read-only view of one account. All getters are instant and thread-safe.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        id

        +
        UUID id()
        +
        Stable unique id of the account.
        +
        +
      • +
      • +
        +

        kind

        +
        AccountKind kind()
        +
        What kind of account this is.
        +
        +
      • +
      • +
        +

        name

        +
        String name()
        +
        Display name (player name, or the namespaced key for plugin accounts).
        +
        +
      • +
      • +
        +

        balance

        +
        long balance()
        +
        Current balance in the smallest currency unit, read from memory.
        +
        +
      • +
      • +
        +

        ownerPlayer

        +
        Optional<UUID> ownerPlayer()
        +
        The player who owns this account, for AccountKind.PLAYER.
        +
        +
      • +
      • +
        +

        ownerPlugin

        +
        Optional<String> ownerPlugin()
        +
        The plugin that owns this account, for AccountKind.PLUGIN and AccountKind.EXTERNAL.
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/AccountKind.html b/docs/latest/com/patelheet/capitalengine/api/AccountKind.html new file mode 100644 index 0000000..8b99798 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/AccountKind.html @@ -0,0 +1,270 @@ + + + + +AccountKind (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Enum Class AccountKind

    +
    +
    java.lang.Object +
    java.lang.Enum<AccountKind> +
    com.patelheet.capitalengine.api.AccountKind
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<AccountKind>, Constable
    +
    +
    +
    public enum AccountKind +extends Enum<AccountKind>
    +
    What an Account is, which decides who may take money out of it.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Enum Constant Details

      +
        +
      • +
        +

        PLAYER

        +
        public static final AccountKind PLAYER
        +
        One per player. Any plugin may move money out (same trust as Vault).
        +
        +
      • +
      • +
        +

        PLUGIN

        +
        public static final AccountKind PLUGIN
        +
        An add-on's own account (escrow, savings, ...). Only the owning plugin may take money out.
        +
        +
      • +
      • +
        +

        EXTERNAL

        +
        public static final AccountKind EXTERNAL
        +
        A non-player account made by a Vault plugin (for example a Towny town).
        +
        +
      • +
      • +
        +

        TREASURY

        +
        public static final AccountKind TREASURY
        +
        The server's wallet. Only serverPay may spend from it; anyone may pay into it.
        +
        +
      • +
      • +
        +

        MINT

        +
        public static final AccountKind MINT
        +
        Creates and destroys money. Never exposed as an Account; listed for completeness.
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        values

        +
        public static AccountKind[] values()
        +
        Returns an array containing the constants of this enum class, in +the order they are declared.
        +
        +
        Returns:
        +
        an array containing the constants of this enum class, in the order they are declared
        +
        +
        +
      • +
      • +
        +

        valueOf

        +
        public static AccountKind valueOf(String name)
        +
        Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum class has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/Accounts.html b/docs/latest/com/patelheet/capitalengine/api/Accounts.html new file mode 100644 index 0000000..4024471 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/Accounts.html @@ -0,0 +1,179 @@ + + + + +Accounts (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface Accounts

    +
    +
    +
    +
    public interface Accounts
    +
    Account lookup and creation.
    +
    +
    +
      + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      + +
      byId(UUID accountId)
      +
      +
      Finds an account by id.
      +
      + +
      find(String namespacedKey)
      +
      +
      Finds an account by its namespaced key, for example "capitalbank:savings:<uuid>".
      +
      + +
      player(UUID playerId)
      +
      +
      The player's account, created on first use.
      +
      + +
      plugin(org.bukkit.plugin.Plugin owner, + String key)
      +
      +
      The calling plugin's own account "<plugin>:<key>" (lower-case), created on first use.
      +
      +
      +
      +
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        player

        +
        Account player(UUID playerId)
        +
        The player's account, created on first use.
        +
        +
      • +
      • +
        +

        plugin

        +
        Account plugin(org.bukkit.plugin.Plugin owner, + String key)
        +
        The calling plugin's own account "<plugin>:<key>" (lower-case), created on first use.
        +
        +
      • +
      • +
        +

        find

        +
        Optional<Account> find(String namespacedKey)
        +
        Finds an account by its namespaced key, for example "capitalbank:savings:<uuid>".
        +
        +
      • +
      • +
        +

        byId

        +
        Optional<Account> byId(UUID accountId)
        +
        Finds an account by id.
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/CapitalApi.html b/docs/latest/com/patelheet/capitalengine/api/CapitalApi.html new file mode 100644 index 0000000..9f05d79 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/CapitalApi.html @@ -0,0 +1,398 @@ + + + + +CapitalApi (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface CapitalApi

    +
    +
    +
    +
    public interface CapitalApi
    +
    Entry point of the CapitalEngine API. Obtain it from Bukkit's ServicesManager: +
    CapitalApi api = Bukkit.getServicesManager().load(CapitalApi.class);
    + +

    Amounts are long counts of the smallest unit and must be greater than 0. Every mutation is atomic, + attributed to the calling plugin and checked against the owner's limits. Balance changes are visible to every + reader as soon as the call returns; the future completes once the transaction is in the database, on a core + thread (switch to the main/region thread before touching Bukkit objects, and never block on it). + Failures are values (TxResult), not exceptions.

    +
    +
    + +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        apiVersion

        +
        String apiVersion()
        +
        The running API version, for example "1.0.0".
        +
        +
      • +
      • +
        +

        isCompatible

        +
        boolean isCompatible(String minVersion)
        +
        Whether the running API is at least minVersion (semantic versioning).
        +
        +
      • +
      • +
        +

        accounts

        +
        Accounts accounts()
        +
        Account lookup and creation.
        +
        +
      • +
      • +
        +

        treasury

        +
        Account treasury()
        +
        The server's wallet.
        +
        +
      • +
      • +
        +

        currency

        +
        Currency currency()
        +
        The currency.
        +
        +
      • +
      • +
        +

        transfer

        +
        CompletableFuture<TxResult> transfer(org.bukkit.plugin.Plugin caller, + Account from, + Account to, + long amount, + String type, + String memo)
        +
        Moves coins between two accounts. memo is up to 128 characters and shown to players.
        +
        +
      • +
      • +
        +

        serverPay

        +
        CompletableFuture<TxResult> serverPay(org.bukkit.plugin.Plugin caller, + Account to, + long amount, + String type, + String memo)
        +
        Pays from the server: Treasury first, newly created coins for any shortfall, within the caller's limits.
        +
        +
      • +
      • +
        +

        collect

        +
        CompletableFuture<TxResult> collect(org.bukkit.plugin.Plugin caller, + Account from, + long amount, + String type, + String memo)
        +
        Player (or other account) → Treasury.
        +
        +
      • +
      • +
        +

        issue

        +
        CompletableFuture<TxResult> issue(org.bukkit.plugin.Plugin caller, + Account to, + long amount, + String type, + String memo)
        +
        Creates coins: Mint → to.
        +
        +
      • +
      • +
        +

        destroy

        +
        CompletableFuture<TxResult> destroy(org.bukkit.plugin.Plugin caller, + Account from, + long amount, + String type, + String memo)
        +
        Destroys coins: from → Mint.
        +
        +
      • +
      • +
        +

        transaction

        +
        TransactionBuilder transaction(org.bukkit.plugin.Plugin caller, + String type, + String memo)
        +
        Starts a multi-leg transaction. Use this whenever you need a reference.
        +
        +
      • +
      • +
        +

        findByReference

        +
        CompletableFuture<Optional<TxRecord>> findByReference(org.bukkit.plugin.Plugin caller, + String reference)
        +
        Finds this plugin's transaction by its reference, for crash recovery.
        +
        +
      • +
      • +
        +

        history

        +
        CompletableFuture<List<TxRecord>> history(Account account, + int limit, + long beforeTxId)
        +
        An account's transactions, newest first. Pass Long.MAX_VALUE as beforeTxId for the first page.
        +
        +
      • +
      • +
        +

        stats

        +
        Stats stats()
        +
        Instant economy-wide snapshot.
        +
        +
      • +
      • +
        +

        policy

        +
        PolicyStatus policy(org.bukkit.plugin.Plugin caller)
        +
        The caller's remaining limits today.
        +
        +
      • +
      • +
        +

        monetaryPolicy

        +
        Optional<MonetaryPolicy> monetaryPolicy()
        +
        The registered MonetaryPolicy service with the highest priority, if any.
        +
        +
      • +
      • +
        +

        alert

        +
        void alert(org.bukkit.plugin.Plugin source, + Severity severity, + String code, + String message)
        +
        Raises an alert for owners. Fires CapitalAlertEvent safely from any thread.
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/Currency.html b/docs/latest/com/patelheet/capitalengine/api/Currency.html new file mode 100644 index 0000000..8ac2973 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/Currency.html @@ -0,0 +1,207 @@ + + + + +Currency (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface Currency

    +
    +
    +
    +
    public interface Currency
    +
    The server's single currency. Amounts are long counts of the smallest unit.
    +
    +
    +
      + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      int
      + +
      +
      Decimal places (2 means 12345 is 123.45).
      +
      + +
      format(long amount)
      +
      +
      Formats using the owner's configured format, for example "123.45 coins".
      +
      +
      long
      +
      parse(String text)
      +
      +
      Parses player input such as "12", "1.5", "1.5k" or "2m".
      +
      + + +
      +
      Plural name, for example "coins".
      +
      + + +
      +
      Singular name, for example "coin".
      +
      + + +
      +
      Symbol, for example "⛁".
      +
      +
      +
      +
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        singular

        +
        String singular()
        +
        Singular name, for example "coin".
        +
        +
      • +
      • +
        +

        plural

        +
        String plural()
        +
        Plural name, for example "coins".
        +
        +
      • +
      • +
        +

        symbol

        +
        String symbol()
        +
        Symbol, for example "⛁".
        +
        +
      • +
      • +
        +

        decimals

        +
        int decimals()
        +
        Decimal places (2 means 12345 is 123.45).
        +
        +
      • +
      • +
        +

        format

        +
        String format(long amount)
        +
        Formats using the owner's configured format, for example "123.45 coins".
        +
        +
      • +
      • +
        +

        parse

        +
        long parse(String text)
        +
        Parses player input such as "12", "1.5", "1.5k" or "2m".
        +
        +
        Returns:
        +
        the amount in the smallest unit
        +
        Throws:
        +
        IllegalArgumentException - if the text isn't a valid amount for this currency
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/Failure.html b/docs/latest/com/patelheet/capitalengine/api/Failure.html new file mode 100644 index 0000000..df5a59e --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/Failure.html @@ -0,0 +1,325 @@ + + + + +Failure (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Enum Class Failure

    +
    +
    java.lang.Object +
    java.lang.Enum<Failure> +
    com.patelheet.capitalengine.api.Failure
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<Failure>, Constable
    +
    +
    +
    public enum Failure +extends Enum<Failure>
    +
    Why a mutation failed. New values are only ever added at the end.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Enum Constant Details

      +
        +
      • +
        +

        NONE

        +
        public static final Failure NONE
        +
        Not a failure.
        +
        +
      • +
      • +
        +

        INSUFFICIENT_FUNDS

        +
        public static final Failure INSUFFICIENT_FUNDS
        +
        An account would go below zero.
        +
        +
      • +
      • +
        +

        POLICY_LIMIT

        +
        public static final Failure POLICY_LIMIT
        +
        The caller's owner-set daily limit would be exceeded.
        +
        +
      • +
      • +
        +

        DENIED

        +
        public static final Failure DENIED
        +
        The owner denied this plugin from moving money this way.
        +
        +
      • +
      • +
        +

        INVALID_AMOUNT

        +
        public static final Failure INVALID_AMOUNT
        +
        Zero, negative or overflowing amount, or a bad type/memo.
        +
        +
      • +
      • +
        +

        NO_ACCOUNT

        +
        public static final Failure NO_ACCOUNT
        +
        An account doesn't exist.
        +
        +
      • +
      • +
        +

        NOT_ACCOUNT_OWNER

        +
        public static final Failure NOT_ACCOUNT_OWNER
        +
        Tried to take money out of another plugin's account, or out of the Treasury directly.
        +
        +
      • +
      • +
        +

        DUPLICATE_REFERENCE

        +
        public static final Failure DUPLICATE_REFERENCE
        +
        The reference was already used by this plugin; TxResult.txId() is the existing transaction. Treat as success.
        +
        +
      • +
      • +
        +

        ECONOMY_PAUSED

        +
        public static final Failure ECONOMY_PAUSED
        +
        Core can't reach its database right now.
        +
        +
      • +
      • +
        +

        INTERNAL

        +
        public static final Failure INTERNAL
        +
        Unexpected error inside core.
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        values

        +
        public static Failure[] values()
        +
        Returns an array containing the constants of this enum class, in +the order they are declared.
        +
        +
        Returns:
        +
        an array containing the constants of this enum class, in the order they are declared
        +
        +
        +
      • +
      • +
        +

        valueOf

        +
        public static Failure valueOf(String name)
        +
        Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum class has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/PluginFlow.html b/docs/latest/com/patelheet/capitalengine/api/PluginFlow.html new file mode 100644 index 0000000..05f1af0 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/PluginFlow.html @@ -0,0 +1,328 @@ + + + + +PluginFlow (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Record Class PluginFlow

    +
    +
    java.lang.Object +
    java.lang.Record +
    com.patelheet.capitalengine.api.PluginFlow
    +
    +
    +
    +
    +
    Record Components:
    +
    issued - newly created coins
    +
    destroyed - destroyed coins
    +
    treasuryIn - coins paid into the Treasury
    +
    treasuryOut - coins paid out of the Treasury
    +
    transferred - coins moved between ordinary accounts
    +
    +
    +
    public record PluginFlow(long issued, long destroyed, long treasuryIn, long treasuryOut, long transferred) +extends Record
    +
    One plugin's money flows for the current economic day.
    +
    +
    +
      + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      +
      PluginFlow(long issued, + long destroyed, + long treasuryIn, + long treasuryOut, + long transferred)
      +
      +
      Creates an instance of a PluginFlow record class.
      +
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      long
      + +
      +
      Returns the value of the destroyed record component.
      +
      +
      final boolean
      + +
      +
      Indicates whether some other object is "equal to" this one.
      +
      +
      final int
      + +
      +
      Returns a hash code value for this object.
      +
      +
      long
      + +
      +
      Returns the value of the issued record component.
      +
      +
      final String
      + +
      +
      Returns a string representation of this record class.
      +
      +
      long
      + +
      +
      Returns the value of the transferred record component.
      +
      +
      long
      + +
      +
      Returns the value of the treasuryIn record component.
      +
      +
      long
      + +
      +
      Returns the value of the treasuryOut record component.
      +
      +
      +
      +
      +
      +

      Methods inherited from class java.lang.Object

      +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        PluginFlow

        +
        public PluginFlow(long issued, + long destroyed, + long treasuryIn, + long treasuryOut, + long transferred)
        +
        Creates an instance of a PluginFlow record class.
        +
        +
        Parameters:
        +
        issued - the value for the issued record component
        +
        destroyed - the value for the destroyed record component
        +
        treasuryIn - the value for the treasuryIn record component
        +
        treasuryOut - the value for the treasuryOut record component
        +
        transferred - the value for the transferred record component
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        toString

        +
        public final String toString()
        +
        Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
        +
        +
        Specified by:
        +
        toString in class Record
        +
        Returns:
        +
        a string representation of this object
        +
        +
        +
      • +
      • +
        +

        hashCode

        +
        public final int hashCode()
        +
        Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
        +
        +
        Specified by:
        +
        hashCode in class Record
        +
        Returns:
        +
        a hash code value for this object
        +
        +
        +
      • +
      • +
        +

        equals

        +
        public final boolean equals(Object o)
        +
        Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
        +
        +
        Specified by:
        +
        equals in class Record
        +
        Parameters:
        +
        o - the object with which to compare
        +
        Returns:
        +
        true if this object is the same as the o argument; false otherwise.
        +
        +
        +
      • +
      • +
        +

        issued

        +
        public long issued()
        +
        Returns the value of the issued record component.
        +
        +
        Returns:
        +
        the value of the issued record component
        +
        +
        +
      • +
      • +
        +

        destroyed

        +
        public long destroyed()
        +
        Returns the value of the destroyed record component.
        +
        +
        Returns:
        +
        the value of the destroyed record component
        +
        +
        +
      • +
      • +
        +

        treasuryIn

        +
        public long treasuryIn()
        +
        Returns the value of the treasuryIn record component.
        +
        +
        Returns:
        +
        the value of the treasuryIn record component
        +
        +
        +
      • +
      • +
        +

        treasuryOut

        +
        public long treasuryOut()
        +
        Returns the value of the treasuryOut record component.
        +
        +
        Returns:
        +
        the value of the treasuryOut record component
        +
        +
        +
      • +
      • +
        +

        transferred

        +
        public long transferred()
        +
        Returns the value of the transferred record component.
        +
        +
        Returns:
        +
        the value of the transferred record component
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/PolicyStatus.html b/docs/latest/com/patelheet/capitalengine/api/PolicyStatus.html new file mode 100644 index 0000000..b83fa6d --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/PolicyStatus.html @@ -0,0 +1,288 @@ + + + + +PolicyStatus (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Record Class PolicyStatus

    +
    +
    java.lang.Object +
    java.lang.Record +
    com.patelheet.capitalengine.api.PolicyStatus
    +
    +
    +
    +
    +
    Record Components:
    +
    issueRemainingToday - coins it may still create today
    +
    treasuryRemainingToday - coins it may still take from the Treasury today
    +
    denied - the owner has denied this plugin from moving money without a counterparty
    +
    +
    +
    public record PolicyStatus(long issueRemainingToday, long treasuryRemainingToday, boolean denied) +extends Record
    +
    A plugin's remaining owner-set limits today. Long.MAX_VALUE means unlimited.
    +
    +
    +
      + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      +
      PolicyStatus(long issueRemainingToday, + long treasuryRemainingToday, + boolean denied)
      +
      +
      Creates an instance of a PolicyStatus record class.
      +
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      boolean
      + +
      +
      Returns the value of the denied record component.
      +
      +
      final boolean
      + +
      +
      Indicates whether some other object is "equal to" this one.
      +
      +
      final int
      + +
      +
      Returns a hash code value for this object.
      +
      +
      long
      + +
      +
      Returns the value of the issueRemainingToday record component.
      +
      +
      final String
      + +
      +
      Returns a string representation of this record class.
      +
      +
      long
      + +
      +
      Returns the value of the treasuryRemainingToday record component.
      +
      +
      +
      +
      +
      +

      Methods inherited from class java.lang.Object

      +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        PolicyStatus

        +
        public PolicyStatus(long issueRemainingToday, + long treasuryRemainingToday, + boolean denied)
        +
        Creates an instance of a PolicyStatus record class.
        +
        +
        Parameters:
        +
        issueRemainingToday - the value for the issueRemainingToday record component
        +
        treasuryRemainingToday - the value for the treasuryRemainingToday record component
        +
        denied - the value for the denied record component
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        toString

        +
        public final String toString()
        +
        Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
        +
        +
        Specified by:
        +
        toString in class Record
        +
        Returns:
        +
        a string representation of this object
        +
        +
        +
      • +
      • +
        +

        hashCode

        +
        public final int hashCode()
        +
        Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
        +
        +
        Specified by:
        +
        hashCode in class Record
        +
        Returns:
        +
        a hash code value for this object
        +
        +
        +
      • +
      • +
        +

        equals

        +
        public final boolean equals(Object o)
        +
        Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
        +
        +
        Specified by:
        +
        equals in class Record
        +
        Parameters:
        +
        o - the object with which to compare
        +
        Returns:
        +
        true if this object is the same as the o argument; false otherwise.
        +
        +
        +
      • +
      • +
        +

        issueRemainingToday

        +
        public long issueRemainingToday()
        +
        Returns the value of the issueRemainingToday record component.
        +
        +
        Returns:
        +
        the value of the issueRemainingToday record component
        +
        +
        +
      • +
      • +
        +

        treasuryRemainingToday

        +
        public long treasuryRemainingToday()
        +
        Returns the value of the treasuryRemainingToday record component.
        +
        +
        Returns:
        +
        the value of the treasuryRemainingToday record component
        +
        +
        +
      • +
      • +
        +

        denied

        +
        public boolean denied()
        +
        Returns the value of the denied record component.
        +
        +
        Returns:
        +
        the value of the denied record component
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/Posting.html b/docs/latest/com/patelheet/capitalengine/api/Posting.html new file mode 100644 index 0000000..ffb2bce --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/Posting.html @@ -0,0 +1,268 @@ + + + + +Posting (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Record Class Posting

    +
    +
    java.lang.Object +
    java.lang.Record +
    com.patelheet.capitalengine.api.Posting
    +
    +
    +
    +
    +
    Record Components:
    +
    accountId - the account (the Mint's fixed id for created/destroyed money)
    +
    amount - positive = money in, negative = money out
    +
    +
    +
    public record Posting(UUID accountId, long amount) +extends Record
    +
    One signed leg of a transaction. The postings of a transaction always sum to zero.
    +
    +
    +
      + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      +
      Posting(UUID accountId, + long amount)
      +
      +
      Creates an instance of a Posting record class.
      +
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      + + +
      +
      Returns the value of the accountId record component.
      +
      +
      long
      + +
      +
      Returns the value of the amount record component.
      +
      +
      final boolean
      + +
      +
      Indicates whether some other object is "equal to" this one.
      +
      +
      final int
      + +
      +
      Returns a hash code value for this object.
      +
      +
      final String
      + +
      +
      Returns a string representation of this record class.
      +
      +
      +
      +
      +
      +

      Methods inherited from class java.lang.Object

      +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Posting

        +
        public Posting(UUID accountId, + long amount)
        +
        Creates an instance of a Posting record class.
        +
        +
        Parameters:
        +
        accountId - the value for the accountId record component
        +
        amount - the value for the amount record component
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        toString

        +
        public final String toString()
        +
        Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
        +
        +
        Specified by:
        +
        toString in class Record
        +
        Returns:
        +
        a string representation of this object
        +
        +
        +
      • +
      • +
        +

        hashCode

        +
        public final int hashCode()
        +
        Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
        +
        +
        Specified by:
        +
        hashCode in class Record
        +
        Returns:
        +
        a hash code value for this object
        +
        +
        +
      • +
      • +
        +

        equals

        +
        public final boolean equals(Object o)
        +
        Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
        +
        +
        Specified by:
        +
        equals in class Record
        +
        Parameters:
        +
        o - the object with which to compare
        +
        Returns:
        +
        true if this object is the same as the o argument; false otherwise.
        +
        +
        +
      • +
      • +
        +

        accountId

        +
        public UUID accountId()
        +
        Returns the value of the accountId record component.
        +
        +
        Returns:
        +
        the value of the accountId record component
        +
        +
        +
      • +
      • +
        +

        amount

        +
        public long amount()
        +
        Returns the value of the amount record component.
        +
        +
        Returns:
        +
        the value of the amount record component
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/Severity.html b/docs/latest/com/patelheet/capitalengine/api/Severity.html new file mode 100644 index 0000000..5942e28 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/Severity.html @@ -0,0 +1,239 @@ + + + + +Severity (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Enum Class Severity

    +
    +
    java.lang.Object +
    java.lang.Enum<Severity> +
    com.patelheet.capitalengine.api.Severity
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<Severity>, Constable
    +
    +
    +
    public enum Severity +extends Enum<Severity>
    +
    How serious an alert is.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Enum Constant Details

      +
        +
      • +
        +

        INFO

        +
        public static final Severity INFO
        +
        +
      • +
      • +
        +

        WARN

        +
        public static final Severity WARN
        +
        +
      • +
      • +
        +

        CRITICAL

        +
        public static final Severity CRITICAL
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        values

        +
        public static Severity[] values()
        +
        Returns an array containing the constants of this enum class, in +the order they are declared.
        +
        +
        Returns:
        +
        an array containing the constants of this enum class, in the order they are declared
        +
        +
        +
      • +
      • +
        +

        valueOf

        +
        public static Severity valueOf(String name)
        +
        Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum class has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/Stats.html b/docs/latest/com/patelheet/capitalengine/api/Stats.html new file mode 100644 index 0000000..5f8204c --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/Stats.html @@ -0,0 +1,488 @@ + + + + +Stats (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Record Class Stats

    +
    +
    java.lang.Object +
    java.lang.Record +
    com.patelheet.capitalengine.api.Stats
    +
    +
    +
    +
    +
    Record Components:
    +
    moneySupply - every coin that exists (the Mint's balance, negated)
    +
    activeMoneySupply - moneySupply minus balances of players inactive for the dormant period
    +
    treasuryBalance - the Treasury's balance
    +
    issuedToday - coins created today
    +
    destroyedToday - coins destroyed today
    +
    treasuryInToday - coins paid into the Treasury today
    +
    treasuryOutToday - coins paid out of the Treasury today
    +
    flowsToday - today's flows by source plugin
    +
    activePlayersToday - players with at least 5 active (non-AFK) minutes today
    +
    activeMinutesToday - total active minutes today
    +
    avgActivePlayers7d - average of activePlayersToday over the last 7 days
    +
    dayIndex - current economic day
    +
    weekIndex - current economic week
    +
    +
    +
    public record Stats(long moneySupply, long activeMoneySupply, long treasuryBalance, long issuedToday, long destroyedToday, long treasuryInToday, long treasuryOutToday, Map<String,PluginFlow> flowsToday, int activePlayersToday, long activeMinutesToday, double avgActivePlayers7d, long dayIndex, long weekIndex) +extends Record
    +
    Instant economy-wide snapshot, read from memory.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Stats

        +
        public Stats(long moneySupply, + long activeMoneySupply, + long treasuryBalance, + long issuedToday, + long destroyedToday, + long treasuryInToday, + long treasuryOutToday, + Map<String,PluginFlow> flowsToday, + int activePlayersToday, + long activeMinutesToday, + double avgActivePlayers7d, + long dayIndex, + long weekIndex)
        +
        Creates an instance of a Stats record class.
        +
        +
        Parameters:
        +
        moneySupply - the value for the moneySupply record component
        +
        activeMoneySupply - the value for the activeMoneySupply record component
        +
        treasuryBalance - the value for the treasuryBalance record component
        +
        issuedToday - the value for the issuedToday record component
        +
        destroyedToday - the value for the destroyedToday record component
        +
        treasuryInToday - the value for the treasuryInToday record component
        +
        treasuryOutToday - the value for the treasuryOutToday record component
        +
        flowsToday - the value for the flowsToday record component
        +
        activePlayersToday - the value for the activePlayersToday record component
        +
        activeMinutesToday - the value for the activeMinutesToday record component
        +
        avgActivePlayers7d - the value for the avgActivePlayers7d record component
        +
        dayIndex - the value for the dayIndex record component
        +
        weekIndex - the value for the weekIndex record component
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        toString

        +
        public final String toString()
        +
        Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
        +
        +
        Specified by:
        +
        toString in class Record
        +
        Returns:
        +
        a string representation of this object
        +
        +
        +
      • +
      • +
        +

        hashCode

        +
        public final int hashCode()
        +
        Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
        +
        +
        Specified by:
        +
        hashCode in class Record
        +
        Returns:
        +
        a hash code value for this object
        +
        +
        +
      • +
      • +
        +

        equals

        +
        public final boolean equals(Object o)
        +
        Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
        +
        +
        Specified by:
        +
        equals in class Record
        +
        Parameters:
        +
        o - the object with which to compare
        +
        Returns:
        +
        true if this object is the same as the o argument; false otherwise.
        +
        +
        +
      • +
      • +
        +

        moneySupply

        +
        public long moneySupply()
        +
        Returns the value of the moneySupply record component.
        +
        +
        Returns:
        +
        the value of the moneySupply record component
        +
        +
        +
      • +
      • +
        +

        activeMoneySupply

        +
        public long activeMoneySupply()
        +
        Returns the value of the activeMoneySupply record component.
        +
        +
        Returns:
        +
        the value of the activeMoneySupply record component
        +
        +
        +
      • +
      • +
        +

        treasuryBalance

        +
        public long treasuryBalance()
        +
        Returns the value of the treasuryBalance record component.
        +
        +
        Returns:
        +
        the value of the treasuryBalance record component
        +
        +
        +
      • +
      • +
        +

        issuedToday

        +
        public long issuedToday()
        +
        Returns the value of the issuedToday record component.
        +
        +
        Returns:
        +
        the value of the issuedToday record component
        +
        +
        +
      • +
      • +
        +

        destroyedToday

        +
        public long destroyedToday()
        +
        Returns the value of the destroyedToday record component.
        +
        +
        Returns:
        +
        the value of the destroyedToday record component
        +
        +
        +
      • +
      • +
        +

        treasuryInToday

        +
        public long treasuryInToday()
        +
        Returns the value of the treasuryInToday record component.
        +
        +
        Returns:
        +
        the value of the treasuryInToday record component
        +
        +
        +
      • +
      • +
        +

        treasuryOutToday

        +
        public long treasuryOutToday()
        +
        Returns the value of the treasuryOutToday record component.
        +
        +
        Returns:
        +
        the value of the treasuryOutToday record component
        +
        +
        +
      • +
      • +
        +

        flowsToday

        +
        public Map<String,PluginFlow> flowsToday()
        +
        Returns the value of the flowsToday record component.
        +
        +
        Returns:
        +
        the value of the flowsToday record component
        +
        +
        +
      • +
      • +
        +

        activePlayersToday

        +
        public int activePlayersToday()
        +
        Returns the value of the activePlayersToday record component.
        +
        +
        Returns:
        +
        the value of the activePlayersToday record component
        +
        +
        +
      • +
      • +
        +

        activeMinutesToday

        +
        public long activeMinutesToday()
        +
        Returns the value of the activeMinutesToday record component.
        +
        +
        Returns:
        +
        the value of the activeMinutesToday record component
        +
        +
        +
      • +
      • +
        +

        avgActivePlayers7d

        +
        public double avgActivePlayers7d()
        +
        Returns the value of the avgActivePlayers7d record component.
        +
        +
        Returns:
        +
        the value of the avgActivePlayers7d record component
        +
        +
        +
      • +
      • +
        +

        dayIndex

        +
        public long dayIndex()
        +
        Returns the value of the dayIndex record component.
        +
        +
        Returns:
        +
        the value of the dayIndex record component
        +
        +
        +
      • +
      • +
        +

        weekIndex

        +
        public long weekIndex()
        +
        Returns the value of the weekIndex record component.
        +
        +
        Returns:
        +
        the value of the weekIndex record component
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/TransactionBuilder.html b/docs/latest/com/patelheet/capitalengine/api/TransactionBuilder.html new file mode 100644 index 0000000..506e8d8 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/TransactionBuilder.html @@ -0,0 +1,223 @@ + + + + +TransactionBuilder (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface TransactionBuilder

    +
    +
    +
    +
    public interface TransactionBuilder
    +
    Builds a multi-leg transaction that applies completely or not at all.
    +
    +
    + +
    +
    + +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/TxRecord.html b/docs/latest/com/patelheet/capitalengine/api/TxRecord.html new file mode 100644 index 0000000..e585368 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/TxRecord.html @@ -0,0 +1,414 @@ + + + + +TxRecord (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Record Class TxRecord

    +
    +
    java.lang.Object +
    java.lang.Record +
    com.patelheet.capitalengine.api.TxRecord
    +
    +
    +
    +
    +
    Record Components:
    +
    txId - ledger sequence number
    +
    time - commit time
    +
    type - dotted type, for example market.trade
    +
    memo - plain-language description players see
    +
    sourcePlugin - the plugin that caused it
    +
    actor - the player who caused it, if known
    +
    reference - idempotency key, if any
    +
    reversesTxId - the transaction this one reverses, if any
    +
    postings - the legs; they sum to zero
    +
    +
    +
    public record TxRecord(long txId, Instant time, String type, String memo, String sourcePlugin, @Nullable UUID actor, @Nullable String reference, @Nullable Long reversesTxId, List<Posting> postings) +extends Record
    +
    A committed transaction, as returned by history lookups and carried by events.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        TxRecord

        +
        public TxRecord(long txId, + Instant time, + String type, + String memo, + String sourcePlugin, + @Nullable + @Nullable UUID actor, + @Nullable + @Nullable String reference, + @Nullable + @Nullable Long reversesTxId, + List<Posting> postings)
        +
        Creates an instance of a TxRecord record class.
        +
        +
        Parameters:
        +
        txId - the value for the txId record component
        +
        time - the value for the time record component
        +
        type - the value for the type record component
        +
        memo - the value for the memo record component
        +
        sourcePlugin - the value for the sourcePlugin record component
        +
        actor - the value for the actor record component
        +
        reference - the value for the reference record component
        +
        reversesTxId - the value for the reversesTxId record component
        +
        postings - the value for the postings record component
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        toString

        +
        public final String toString()
        +
        Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
        +
        +
        Specified by:
        +
        toString in class Record
        +
        Returns:
        +
        a string representation of this object
        +
        +
        +
      • +
      • +
        +

        hashCode

        +
        public final int hashCode()
        +
        Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
        +
        +
        Specified by:
        +
        hashCode in class Record
        +
        Returns:
        +
        a hash code value for this object
        +
        +
        +
      • +
      • +
        +

        equals

        +
        public final boolean equals(Object o)
        +
        Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
        +
        +
        Specified by:
        +
        equals in class Record
        +
        Parameters:
        +
        o - the object with which to compare
        +
        Returns:
        +
        true if this object is the same as the o argument; false otherwise.
        +
        +
        +
      • +
      • +
        +

        txId

        +
        public long txId()
        +
        Returns the value of the txId record component.
        +
        +
        Returns:
        +
        the value of the txId record component
        +
        +
        +
      • +
      • +
        +

        time

        +
        public Instant time()
        +
        Returns the value of the time record component.
        +
        +
        Returns:
        +
        the value of the time record component
        +
        +
        +
      • +
      • +
        +

        type

        +
        public String type()
        +
        Returns the value of the type record component.
        +
        +
        Returns:
        +
        the value of the type record component
        +
        +
        +
      • +
      • +
        +

        memo

        +
        public String memo()
        +
        Returns the value of the memo record component.
        +
        +
        Returns:
        +
        the value of the memo record component
        +
        +
        +
      • +
      • +
        +

        sourcePlugin

        +
        public String sourcePlugin()
        +
        Returns the value of the sourcePlugin record component.
        +
        +
        Returns:
        +
        the value of the sourcePlugin record component
        +
        +
        +
      • +
      • +
        +

        actor

        +
        @Nullable +public @Nullable UUID actor()
        +
        Returns the value of the actor record component.
        +
        +
        Returns:
        +
        the value of the actor record component
        +
        +
        +
      • +
      • +
        +

        reference

        +
        @Nullable +public @Nullable String reference()
        +
        Returns the value of the reference record component.
        +
        +
        Returns:
        +
        the value of the reference record component
        +
        +
        +
      • +
      • +
        +

        reversesTxId

        +
        @Nullable +public @Nullable Long reversesTxId()
        +
        Returns the value of the reversesTxId record component.
        +
        +
        Returns:
        +
        the value of the reversesTxId record component
        +
        +
        +
      • +
      • +
        +

        postings

        +
        public List<Posting> postings()
        +
        Returns the value of the postings record component.
        +
        +
        Returns:
        +
        the value of the postings record component
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/TxResult.html b/docs/latest/com/patelheet/capitalengine/api/TxResult.html new file mode 100644 index 0000000..7f201f4 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/TxResult.html @@ -0,0 +1,348 @@ + + + + +TxResult (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Record Class TxResult

    +
    +
    java.lang.Object +
    java.lang.Record +
    com.patelheet.capitalengine.api.TxResult
    +
    +
    +
    +
    +
    Record Components:
    +
    success - whether the transaction was applied
    +
    txId - the transaction id (the existing one for Failure.DUPLICATE_REFERENCE), or 0
    +
    failure - Failure.NONE on success
    +
    message - short plain-language reason, safe to show players
    +
    fromTreasury - part of a serverPay paid from the Treasury
    +
    issued - part of a serverPay or issue that was newly created
    +
    +
    +
    public record TxResult(boolean success, long txId, Failure failure, String message, long fromTreasury, long issued) +extends Record
    +
    Outcome of a mutation.
    +
    +
    +
      + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      +
      TxResult(boolean success, + long txId, + Failure failure, + String message, + long fromTreasury, + long issued)
      +
      +
      Creates an instance of a TxResult record class.
      +
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      final boolean
      + +
      +
      Indicates whether some other object is "equal to" this one.
      +
      + + +
      +
      Returns the value of the failure record component.
      +
      +
      long
      + +
      +
      Returns the value of the fromTreasury record component.
      +
      +
      final int
      + +
      +
      Returns a hash code value for this object.
      +
      +
      long
      + +
      +
      Returns the value of the issued record component.
      +
      + + +
      +
      Returns the value of the message record component.
      +
      +
      boolean
      + +
      +
      Returns the value of the success record component.
      +
      +
      final String
      + +
      +
      Returns a string representation of this record class.
      +
      +
      long
      + +
      +
      Returns the value of the txId record component.
      +
      +
      +
      +
      +
      +

      Methods inherited from class java.lang.Object

      +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        TxResult

        +
        public TxResult(boolean success, + long txId, + Failure failure, + String message, + long fromTreasury, + long issued)
        +
        Creates an instance of a TxResult record class.
        +
        +
        Parameters:
        +
        success - the value for the success record component
        +
        txId - the value for the txId record component
        +
        failure - the value for the failure record component
        +
        message - the value for the message record component
        +
        fromTreasury - the value for the fromTreasury record component
        +
        issued - the value for the issued record component
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        toString

        +
        public final String toString()
        +
        Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
        +
        +
        Specified by:
        +
        toString in class Record
        +
        Returns:
        +
        a string representation of this object
        +
        +
        +
      • +
      • +
        +

        hashCode

        +
        public final int hashCode()
        +
        Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
        +
        +
        Specified by:
        +
        hashCode in class Record
        +
        Returns:
        +
        a hash code value for this object
        +
        +
        +
      • +
      • +
        +

        equals

        +
        public final boolean equals(Object o)
        +
        Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
        +
        +
        Specified by:
        +
        equals in class Record
        +
        Parameters:
        +
        o - the object with which to compare
        +
        Returns:
        +
        true if this object is the same as the o argument; false otherwise.
        +
        +
        +
      • +
      • +
        +

        success

        +
        public boolean success()
        +
        Returns the value of the success record component.
        +
        +
        Returns:
        +
        the value of the success record component
        +
        +
        +
      • +
      • +
        +

        txId

        +
        public long txId()
        +
        Returns the value of the txId record component.
        +
        +
        Returns:
        +
        the value of the txId record component
        +
        +
        +
      • +
      • +
        +

        failure

        +
        public Failure failure()
        +
        Returns the value of the failure record component.
        +
        +
        Returns:
        +
        the value of the failure record component
        +
        +
        +
      • +
      • +
        +

        message

        +
        public String message()
        +
        Returns the value of the message record component.
        +
        +
        Returns:
        +
        the value of the message record component
        +
        +
        +
      • +
      • +
        +

        fromTreasury

        +
        public long fromTreasury()
        +
        Returns the value of the fromTreasury record component.
        +
        +
        Returns:
        +
        the value of the fromTreasury record component
        +
        +
        +
      • +
      • +
        +

        issued

        +
        public long issued()
        +
        Returns the value of the issued record component.
        +
        +
        Returns:
        +
        the value of the issued record component
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/event/CapitalAlertEvent.html b/docs/latest/com/patelheet/capitalengine/api/event/CapitalAlertEvent.html new file mode 100644 index 0000000..1b4b6bb --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/event/CapitalAlertEvent.html @@ -0,0 +1,262 @@ + + + + +CapitalAlertEvent (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class CapitalAlertEvent

    +
    +
    java.lang.Object +
    org.bukkit.event.Event +
    com.patelheet.capitalengine.api.event.CapitalAlertEvent
    +
    +
    +
    +
    +
    public class CapitalAlertEvent +extends org.bukkit.event.Event
    +
    An alert for owners, raised with CapitalApi.alert. Dashboards listen. May fire on any thread.
    +
    +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      +

      Nested classes/interfaces inherited from class org.bukkit.event.Event

      +org.bukkit.event.Event.Result
      +
      +
    • + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      +
      CapitalAlertEvent(boolean async, + String source, + Severity severity, + String code, + String message)
      +
      +
      Creates the event.
      +
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      + + +
      +
      Short machine code, for example ledger.audit.
      +
      +
      static org.bukkit.event.HandlerList
      + +
      +
      Bukkit handler list.
      +
      +
      @NotNull org.bukkit.event.HandlerList
      + +
       
      + + +
      +
      Plain-language message.
      +
      + + +
      +
      Severity.
      +
      + + +
      +
      Name of the plugin that raised it.
      +
      +
      +
      +
      +
      +

      Methods inherited from class org.bukkit.event.Event

      +callEvent, getEventName, isAsynchronous
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        CapitalAlertEvent

        +
        public CapitalAlertEvent(boolean async, + String source, + Severity severity, + String code, + String message)
        +
        Creates the event.
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        source

        +
        public String source()
        +
        Name of the plugin that raised it.
        +
        +
      • +
      • +
        +

        severity

        +
        public Severity severity()
        +
        Severity.
        +
        +
      • +
      • +
        +

        code

        +
        public String code()
        +
        Short machine code, for example ledger.audit.
        +
        +
      • +
      • +
        +

        message

        +
        public String message()
        +
        Plain-language message.
        +
        +
      • +
      • +
        +

        getHandlers

        +
        @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
        +
        +
        Specified by:
        +
        getHandlers in class org.bukkit.event.Event
        +
        +
        +
      • +
      • +
        +

        getHandlerList

        +
        public static org.bukkit.event.HandlerList getHandlerList()
        +
        Bukkit handler list.
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/event/CapitalAuditEvent.html b/docs/latest/com/patelheet/capitalengine/api/event/CapitalAuditEvent.html new file mode 100644 index 0000000..b71992a --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/event/CapitalAuditEvent.html @@ -0,0 +1,232 @@ + + + + +CapitalAuditEvent (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class CapitalAuditEvent

    +
    +
    java.lang.Object +
    org.bukkit.event.Event +
    com.patelheet.capitalengine.api.event.CapitalAuditEvent
    +
    +
    +
    +
    +
    public class CapitalAuditEvent +extends org.bukkit.event.Event
    +
    Fired asynchronously after the nightly ledger self-check.
    +
    +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      +

      Nested classes/interfaces inherited from class org.bukkit.event.Event

      +org.bukkit.event.Event.Result
      +
      +
    • + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      +
      CapitalAuditEvent(boolean ok, + List<String> problems)
      +
      +
      Creates the event (async).
      +
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      static org.bukkit.event.HandlerList
      + +
      +
      Bukkit handler list.
      +
      +
      @NotNull org.bukkit.event.HandlerList
      + +
       
      +
      boolean
      +
      ok()
      +
      +
      Whether the books balanced.
      +
      + + +
      +
      What was wrong; empty when ok().
      +
      +
      +
      +
      +
      +

      Methods inherited from class org.bukkit.event.Event

      +callEvent, getEventName, isAsynchronous
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        CapitalAuditEvent

        +
        public CapitalAuditEvent(boolean ok, + List<String> problems)
        +
        Creates the event (async).
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        ok

        +
        public boolean ok()
        +
        Whether the books balanced.
        +
        +
      • +
      • +
        +

        problems

        +
        public List<String> problems()
        +
        What was wrong; empty when ok().
        +
        +
      • +
      • +
        +

        getHandlers

        +
        @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
        +
        +
        Specified by:
        +
        getHandlers in class org.bukkit.event.Event
        +
        +
        +
      • +
      • +
        +

        getHandlerList

        +
        public static org.bukkit.event.HandlerList getHandlerList()
        +
        Bukkit handler list.
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/event/CapitalDayEvent.html b/docs/latest/com/patelheet/capitalengine/api/event/CapitalDayEvent.html new file mode 100644 index 0000000..40c10b6 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/event/CapitalDayEvent.html @@ -0,0 +1,261 @@ + + + + +CapitalDayEvent (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class CapitalDayEvent

    +
    +
    java.lang.Object +
    org.bukkit.event.Event +
    com.patelheet.capitalengine.api.event.CapitalDayEvent
    +
    +
    +
    +
    +
    public class CapitalDayEvent +extends org.bukkit.event.Event
    +
    Economic day boundary, on the main/global thread. Fires in order and exactly once per index. + catchUp means the boundary happened while the server was offline; skip payouts such as interest.
    +
    +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      +

      Nested classes/interfaces inherited from class org.bukkit.event.Event

      +org.bukkit.event.Event.Result
      +
      +
    • + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      +
      CapitalDayEvent(long dayIndex, + LocalDate date, + boolean catchUp, + Stats endedDay)
      +
      +
      Creates the event.
      +
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      boolean
      + +
      +
      Whether this boundary is being fired late after downtime.
      +
      + + +
      +
      Calendar date of the day that is starting.
      +
      +
      long
      + +
      +
      The day that is starting.
      +
      + + +
      +
      Final stats of the day that just ended, captured before the counters reset.
      +
      +
      static org.bukkit.event.HandlerList
      + +
      +
      Bukkit handler list.
      +
      +
      @NotNull org.bukkit.event.HandlerList
      + +
       
      +
      +
      +
      +
      +

      Methods inherited from class org.bukkit.event.Event

      +callEvent, getEventName, isAsynchronous
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        CapitalDayEvent

        +
        public CapitalDayEvent(long dayIndex, + LocalDate date, + boolean catchUp, + Stats endedDay)
        +
        Creates the event.
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        dayIndex

        +
        public long dayIndex()
        +
        The day that is starting.
        +
        +
      • +
      • +
        +

        date

        +
        public LocalDate date()
        +
        Calendar date of the day that is starting.
        +
        +
      • +
      • +
        +

        catchUp

        +
        public boolean catchUp()
        +
        Whether this boundary is being fired late after downtime.
        +
        +
      • +
      • +
        +

        endedDay

        +
        public Stats endedDay()
        +
        Final stats of the day that just ended, captured before the counters reset.
        +
        +
      • +
      • +
        +

        getHandlers

        +
        @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
        +
        +
        Specified by:
        +
        getHandlers in class org.bukkit.event.Event
        +
        +
        +
      • +
      • +
        +

        getHandlerList

        +
        public static org.bukkit.event.HandlerList getHandlerList()
        +
        Bukkit handler list.
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.LimitKind.html b/docs/latest/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.LimitKind.html new file mode 100644 index 0000000..9a40e25 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.LimitKind.html @@ -0,0 +1,243 @@ + + + + +CapitalPolicyLimitEvent.LimitKind (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Enum Class CapitalPolicyLimitEvent.LimitKind

    +
    +
    java.lang.Object +
    java.lang.Enum<CapitalPolicyLimitEvent.LimitKind> +
    com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<CapitalPolicyLimitEvent.LimitKind>, Constable
    +
    +
    +
    Enclosing class:
    +
    CapitalPolicyLimitEvent
    +
    +
    +
    public static enum CapitalPolicyLimitEvent.LimitKind +extends Enum<CapitalPolicyLimitEvent.LimitKind>
    +
    Which limit was hit.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Enum Constant Details

      + +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        values

        +
        public static CapitalPolicyLimitEvent.LimitKind[] values()
        +
        Returns an array containing the constants of this enum class, in +the order they are declared.
        +
        +
        Returns:
        +
        an array containing the constants of this enum class, in the order they are declared
        +
        +
        +
      • +
      • +
        +

        valueOf

        +
        public static CapitalPolicyLimitEvent.LimitKind valueOf(String name)
        +
        Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum class has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.html b/docs/latest/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.html new file mode 100644 index 0000000..67d3b76 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/event/CapitalPolicyLimitEvent.html @@ -0,0 +1,273 @@ + + + + +CapitalPolicyLimitEvent (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class CapitalPolicyLimitEvent

    +
    +
    java.lang.Object +
    org.bukkit.event.Event +
    com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
    +
    +
    +
    +
    +
    public class CapitalPolicyLimitEvent +extends org.bukkit.event.Event
    +
    A call hit an owner-set cap or was denied. May fire on any thread.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        CapitalPolicyLimitEvent

        +
        public CapitalPolicyLimitEvent(boolean async, + String plugin, + CapitalPolicyLimitEvent.LimitKind kind, + long requested, + long remaining)
        +
        Creates the event.
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        plugin

        +
        public String plugin()
        +
        The plugin that hit the limit.
        +
        +
      • +
      • +
        +

        kind

        + +
        Which limit.
        +
        +
      • +
      • +
        +

        requested

        +
        public long requested()
        +
        Coins it asked for.
        +
        +
      • +
      • +
        +

        remaining

        +
        public long remaining()
        +
        Coins it had left.
        +
        +
      • +
      • +
        +

        getHandlers

        +
        @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
        +
        +
        Specified by:
        +
        getHandlers in class org.bukkit.event.Event
        +
        +
        +
      • +
      • +
        +

        getHandlerList

        +
        public static org.bukkit.event.HandlerList getHandlerList()
        +
        Bukkit handler list.
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/event/CapitalTransactionEvent.html b/docs/latest/com/patelheet/capitalengine/api/event/CapitalTransactionEvent.html new file mode 100644 index 0000000..241a702 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/event/CapitalTransactionEvent.html @@ -0,0 +1,218 @@ + + + + +CapitalTransactionEvent (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class CapitalTransactionEvent

    +
    +
    java.lang.Object +
    org.bukkit.event.Event +
    com.patelheet.capitalengine.api.event.CapitalTransactionEvent
    +
    +
    +
    +
    +
    public class CapitalTransactionEvent +extends org.bukkit.event.Event
    +
    Fired asynchronously after each transaction is safely in the database.
    +
    +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      +

      Nested classes/interfaces inherited from class org.bukkit.event.Event

      +org.bukkit.event.Event.Result
      +
      +
    • + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      + +
      +
      Creates the event (async).
      +
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      static org.bukkit.event.HandlerList
      + +
      +
      Bukkit handler list.
      +
      +
      @NotNull org.bukkit.event.HandlerList
      + +
       
      + + +
      +
      The committed transaction.
      +
      +
      +
      +
      +
      +

      Methods inherited from class org.bukkit.event.Event

      +callEvent, getEventName, isAsynchronous
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        CapitalTransactionEvent

        +
        public CapitalTransactionEvent(TxRecord record)
        +
        Creates the event (async).
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        record

        +
        public TxRecord record()
        +
        The committed transaction.
        +
        +
      • +
      • +
        +

        getHandlers

        +
        @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
        +
        +
        Specified by:
        +
        getHandlers in class org.bukkit.event.Event
        +
        +
        +
      • +
      • +
        +

        getHandlerList

        +
        public static org.bukkit.event.HandlerList getHandlerList()
        +
        Bukkit handler list.
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/event/CapitalWeekEvent.html b/docs/latest/com/patelheet/capitalengine/api/event/CapitalWeekEvent.html new file mode 100644 index 0000000..658fbbc --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/event/CapitalWeekEvent.html @@ -0,0 +1,232 @@ + + + + +CapitalWeekEvent (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Class CapitalWeekEvent

    +
    +
    java.lang.Object +
    org.bukkit.event.Event +
    com.patelheet.capitalengine.api.event.CapitalWeekEvent
    +
    +
    +
    +
    +
    public class CapitalWeekEvent +extends org.bukkit.event.Event
    +
    Economic week boundary, fired after the CapitalDayEvent that starts the new week.
    +
    +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      +

      Nested classes/interfaces inherited from class org.bukkit.event.Event

      +org.bukkit.event.Event.Result
      +
      +
    • + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      +
      CapitalWeekEvent(long weekIndex, + boolean catchUp)
      +
      +
      Creates the event.
      +
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      boolean
      + +
      +
      Whether this boundary is being fired late after downtime.
      +
      +
      static org.bukkit.event.HandlerList
      + +
      +
      Bukkit handler list.
      +
      +
      @NotNull org.bukkit.event.HandlerList
      + +
       
      +
      long
      + +
      +
      The week that is starting.
      +
      +
      +
      +
      +
      +

      Methods inherited from class org.bukkit.event.Event

      +callEvent, getEventName, isAsynchronous
      +
      +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        CapitalWeekEvent

        +
        public CapitalWeekEvent(long weekIndex, + boolean catchUp)
        +
        Creates the event.
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        weekIndex

        +
        public long weekIndex()
        +
        The week that is starting.
        +
        +
      • +
      • +
        +

        catchUp

        +
        public boolean catchUp()
        +
        Whether this boundary is being fired late after downtime.
        +
        +
      • +
      • +
        +

        getHandlers

        +
        @NotNull +public @NotNull org.bukkit.event.HandlerList getHandlers()
        +
        +
        Specified by:
        +
        getHandlers in class org.bukkit.event.Event
        +
        +
        +
      • +
      • +
        +

        getHandlerList

        +
        public static org.bukkit.event.HandlerList getHandlerList()
        +
        Bukkit handler list.
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/event/package-summary.html b/docs/latest/com/patelheet/capitalengine/api/event/package-summary.html new file mode 100644 index 0000000..29dc848 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/event/package-summary.html @@ -0,0 +1,131 @@ + + + + +com.patelheet.capitalengine.api.event (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package com.patelheet.capitalengine.api.event

    +
    +
    +
    package com.patelheet.capitalengine.api.event
    +
    + +
    +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/event/package-tree.html b/docs/latest/com/patelheet/capitalengine/api/event/package-tree.html new file mode 100644 index 0000000..363114f --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/event/package-tree.html @@ -0,0 +1,93 @@ + + + + +com.patelheet.capitalengine.api.event Class Hierarchy (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package com.patelheet.capitalengine.api.event

    +
    +Package Hierarchies: + +
    +

    Class Hierarchy

    + +
    +
    +

    Enum Class Hierarchy

    + +
    +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/package-summary.html b/docs/latest/com/patelheet/capitalengine/api/package-summary.html new file mode 100644 index 0000000..9433382 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/package-summary.html @@ -0,0 +1,159 @@ + + + + +com.patelheet.capitalengine.api (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package com.patelheet.capitalengine.api

    +
    +
    +
    package com.patelheet.capitalengine.api
    +
    +
      +
    • + +
    • +
    • +
      +
      +
      +
      +
      Class
      +
      Description
      + +
      +
      A read-only view of one account.
      +
      + +
      +
      What an Account is, which decides who may take money out of it.
      +
      + +
      +
      Account lookup and creation.
      +
      + +
      +
      Entry point of the CapitalEngine API.
      +
      + +
      +
      The server's single currency.
      +
      + +
      +
      Why a mutation failed.
      +
      + +
      +
      One plugin's money flows for the current economic day.
      +
      + +
      +
      A plugin's remaining owner-set limits today.
      +
      + +
      +
      One signed leg of a transaction.
      +
      + +
      +
      How serious an alert is.
      +
      + +
      +
      Instant economy-wide snapshot, read from memory.
      +
      + +
      +
      Builds a multi-leg transaction that applies completely or not at all.
      +
      + +
      +
      A committed transaction, as returned by history lookups and carried by events.
      +
      + +
      +
      Outcome of a mutation.
      +
      +
      +
      +
      +
    • +
    +
    +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/package-tree.html b/docs/latest/com/patelheet/capitalengine/api/package-tree.html new file mode 100644 index 0000000..08b8c11 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/package-tree.html @@ -0,0 +1,105 @@ + + + + +com.patelheet.capitalengine.api Class Hierarchy (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package com.patelheet.capitalengine.api

    +
    +Package Hierarchies: + +
    +

    Interface Hierarchy

    + +
    +
    +

    Enum Class Hierarchy

    + +
    +
    +

    Record Class Hierarchy

    + +
    +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/service/Indicator.html b/docs/latest/com/patelheet/capitalengine/api/service/Indicator.html new file mode 100644 index 0000000..016d06e --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/service/Indicator.html @@ -0,0 +1,308 @@ + + + + +Indicator (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Record Class Indicator

    +
    +
    java.lang.Object +
    java.lang.Record +
    com.patelheet.capitalengine.api.service.Indicator
    +
    +
    +
    +
    +
    Record Components:
    +
    key - stable machine key
    +
    label - plain-language label
    +
    value - current value
    +
    unit - how to display it
    +
    +
    +
    public record Indicator(String key, String label, double value, Unit unit) +extends Record
    +
    A named number an add-on publishes for dashboards.
    +
    +
    +
      + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      +
      Indicator(String key, + String label, + double value, + Unit unit)
      +
      +
      Creates an instance of a Indicator record class.
      +
      +
      +
      +
    • + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      final boolean
      + +
      +
      Indicates whether some other object is "equal to" this one.
      +
      +
      final int
      + +
      +
      Returns a hash code value for this object.
      +
      + +
      key()
      +
      +
      Returns the value of the key record component.
      +
      + + +
      +
      Returns the value of the label record component.
      +
      +
      final String
      + +
      +
      Returns a string representation of this record class.
      +
      + + +
      +
      Returns the value of the unit record component.
      +
      +
      double
      + +
      +
      Returns the value of the value record component.
      +
      +
      +
      +
      +
      +

      Methods inherited from class java.lang.Object

      +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Indicator

        +
        public Indicator(String key, + String label, + double value, + Unit unit)
        +
        Creates an instance of a Indicator record class.
        +
        +
        Parameters:
        +
        key - the value for the key record component
        +
        label - the value for the label record component
        +
        value - the value for the value record component
        +
        unit - the value for the unit record component
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        toString

        +
        public final String toString()
        +
        Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
        +
        +
        Specified by:
        +
        toString in class Record
        +
        Returns:
        +
        a string representation of this object
        +
        +
        +
      • +
      • +
        +

        hashCode

        +
        public final int hashCode()
        +
        Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
        +
        +
        Specified by:
        +
        hashCode in class Record
        +
        Returns:
        +
        a hash code value for this object
        +
        +
        +
      • +
      • +
        +

        equals

        +
        public final boolean equals(Object o)
        +
        Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
        +
        +
        Specified by:
        +
        equals in class Record
        +
        Parameters:
        +
        o - the object with which to compare
        +
        Returns:
        +
        true if this object is the same as the o argument; false otherwise.
        +
        +
        +
      • +
      • +
        +

        key

        +
        public String key()
        +
        Returns the value of the key record component.
        +
        +
        Returns:
        +
        the value of the key record component
        +
        +
        +
      • +
      • +
        +

        label

        +
        public String label()
        +
        Returns the value of the label record component.
        +
        +
        Returns:
        +
        the value of the label record component
        +
        +
        +
      • +
      • +
        +

        value

        +
        public double value()
        +
        Returns the value of the value record component.
        +
        +
        Returns:
        +
        the value of the value record component
        +
        +
        +
      • +
      • +
        +

        unit

        +
        public Unit unit()
        +
        Returns the value of the unit record component.
        +
        +
        Returns:
        +
        the value of the unit record component
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/service/IndicatorProvider.html b/docs/latest/com/patelheet/capitalengine/api/service/IndicatorProvider.html new file mode 100644 index 0000000..ecae2e8 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/service/IndicatorProvider.html @@ -0,0 +1,165 @@ + + + + +IndicatorProvider (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface IndicatorProvider

    +
    +
    +
    +
    public interface IndicatorProvider
    +
    Implemented by add-ons and registered with Bukkit's ServicesManager. Many may coexist. Core implements none.
    +
    +
    +
      + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      + + +
      +
      Human name for dashboards.
      +
      + +
      id()
      +
      +
      Short id, for example "capitalmarket".
      +
      + + +
      +
      Current numbers.
      +
      +
      +
      +
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        id

        +
        String id()
        +
        Short id, for example "capitalmarket".
        +
        +
      • +
      • +
        +

        displayName

        +
        String displayName()
        +
        Human name for dashboards.
        +
        +
      • +
      • +
        +

        indicators

        +
        List<Indicator> indicators()
        +
        Current numbers. Must be cheap and thread-safe: return cached values.
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/service/MonetaryPolicy.html b/docs/latest/com/patelheet/capitalengine/api/service/MonetaryPolicy.html new file mode 100644 index 0000000..dd9ff62 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/service/MonetaryPolicy.html @@ -0,0 +1,172 @@ + + + + +MonetaryPolicy (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Interface MonetaryPolicy

    +
    +
    +
    +
    public interface MonetaryPolicy
    +
    Shared economic settings, implemented by an add-on (for example CapitalMarket) and registered with Bukkit's + ServicesManager. Core never implements it. Only the registration with the highest priority is used, and + consumers must keep working without one.
    +
    +
    +
      + +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      + +
      budget(String channel)
      +
      +
      Today's maximum serverPay spend for a channel.
      +
      +
      double
      + +
      +
      Loan rate per day.
      +
      +
      double
      + +
      +
      Savings rate per day, for example 0.0028 for about 2% a week.
      +
      +
      +
      +
      +
      +
    • +
    +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        savingsRatePerDay

        +
        double savingsRatePerDay()
        +
        Savings rate per day, for example 0.0028 for about 2% a week.
        +
        +
      • +
      • +
        +

        loanRatePerDay

        +
        double loanRatePerDay()
        +
        Loan rate per day.
        +
        +
      • +
      • +
        +

        budget

        +
        OptionalLong budget(String channel)
        +
        Today's maximum serverPay spend for a channel. By convention the channels are "savings", + "jobs" and "buyer".
        +
        +
        Returns:
        +
        the budget, or empty for "no opinion, use your own config"
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/service/Unit.html b/docs/latest/com/patelheet/capitalengine/api/service/Unit.html new file mode 100644 index 0000000..7cb6eee --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/service/Unit.html @@ -0,0 +1,255 @@ + + + + +Unit (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    + +
    + +

    Enum Class Unit

    +
    +
    java.lang.Object +
    java.lang.Enum<Unit> +
    com.patelheet.capitalengine.api.service.Unit
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<Unit>, Constable
    +
    +
    +
    public enum Unit +extends Enum<Unit>
    +
    The unit of an Indicator.
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Enum Constant Details

      +
        +
      • +
        +

        COINS

        +
        public static final Unit COINS
        +
        +
      • +
      • +
        +

        PERCENT

        +
        public static final Unit PERCENT
        +
        +
      • +
      • +
        +

        COUNT

        +
        public static final Unit COUNT
        +
        +
      • +
      • +
        +

        INDEX

        +
        public static final Unit INDEX
        +
        +
      • +
      • +
        +

        RATE_PER_DAY

        +
        public static final Unit RATE_PER_DAY
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        values

        +
        public static Unit[] values()
        +
        Returns an array containing the constants of this enum class, in +the order they are declared.
        +
        +
        Returns:
        +
        an array containing the constants of this enum class, in the order they are declared
        +
        +
        +
      • +
      • +
        +

        valueOf

        +
        public static Unit valueOf(String name)
        +
        Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum class has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/service/package-summary.html b/docs/latest/com/patelheet/capitalengine/api/service/package-summary.html new file mode 100644 index 0000000..b281280 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/service/package-summary.html @@ -0,0 +1,120 @@ + + + + +com.patelheet.capitalengine.api.service (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Package com.patelheet.capitalengine.api.service

    +
    +
    +
    package com.patelheet.capitalengine.api.service
    +
    + +
    +
    +
    +
    + + diff --git a/docs/latest/com/patelheet/capitalengine/api/service/package-tree.html b/docs/latest/com/patelheet/capitalengine/api/service/package-tree.html new file mode 100644 index 0000000..66df7c4 --- /dev/null +++ b/docs/latest/com/patelheet/capitalengine/api/service/package-tree.html @@ -0,0 +1,95 @@ + + + + +com.patelheet.capitalengine.api.service Class Hierarchy (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For Package com.patelheet.capitalengine.api.service

    +
    +Package Hierarchies: + +
    +

    Interface Hierarchy

    + +
    +
    +

    Enum Class Hierarchy

    + +
    +
    +

    Record Class Hierarchy

    + +
    +
    +
    +
    + + diff --git a/docs/latest/copy.svg b/docs/latest/copy.svg new file mode 100644 index 0000000..7c46ab1 --- /dev/null +++ b/docs/latest/copy.svg @@ -0,0 +1,33 @@ + + + + + + + + diff --git a/docs/latest/element-list b/docs/latest/element-list new file mode 100644 index 0000000..840a486 --- /dev/null +++ b/docs/latest/element-list @@ -0,0 +1,3 @@ +com.patelheet.capitalengine.api +com.patelheet.capitalengine.api.event +com.patelheet.capitalengine.api.service diff --git a/docs/latest/help-doc.html b/docs/latest/help-doc.html new file mode 100644 index 0000000..843e284 --- /dev/null +++ b/docs/latest/help-doc.html @@ -0,0 +1,182 @@ + + + + +API Help (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +

    JavaDoc Help

    + +
    +
    +

    Navigation

    +Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces + +
    +
    +
    +

    Kinds of Pages

    +The following sections describe the different kinds of pages in this collection. +
    +

    Overview

    +

    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.

    +
    +
    +

    Package

    +

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

    +
      +
    • Interfaces
    • +
    • Classes
    • +
    • Enum Classes
    • +
    • Exception Classes
    • +
    • Annotation Interfaces
    • +
    +
    +
    +

    Class or Interface

    +

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

    +
      +
    • Class Inheritance Diagram
    • +
    • Direct Subclasses
    • +
    • All Known Subinterfaces
    • +
    • All Known Implementing Classes
    • +
    • Class or Interface Declaration
    • +
    • Class or Interface Description
    • +
    +
    +
      +
    • Nested Class Summary
    • +
    • Enum Constant Summary
    • +
    • Field Summary
    • +
    • Property Summary
    • +
    • Constructor Summary
    • +
    • Method Summary
    • +
    • Required Element Summary
    • +
    • Optional Element Summary
    • +
    +
    +
      +
    • Enum Constant Details
    • +
    • Field Details
    • +
    • Property Details
    • +
    • Constructor Details
    • +
    • Method Details
    • +
    • Element Details
    • +
    +

    Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

    +

    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.

    +
    +
    +

    Other Files

    +

    Packages and modules may contain pages with additional information related to the declarations nearby.

    +
    +
    +

    Tree (Class Hierarchy)

    +

    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. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

    +
      +
    • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
    • +
    • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
    • +
    +
    +
    +

    All Packages

    +

    The All Packages page contains an alphabetic index of all packages contained in the documentation.

    +
    +
    +

    All Classes and Interfaces

    +

    The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

    +
    +
    +

    Index

    +

    The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

    +
    +
    +
    +This help file applies to API documentation generated by the standard doclet.
    +
    +
    + + diff --git a/docs/latest/index-all.html b/docs/latest/index-all.html new file mode 100644 index 0000000..5e4a6a7 --- /dev/null +++ b/docs/latest/index-all.html @@ -0,0 +1,946 @@ + + + + +Index (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Index

    +
    +A B C D E F G H I K L M N O P R S T U V W 
    All Classes and Interfaces|All Packages +

    A

    +
    +
    Account - Interface in com.patelheet.capitalengine.api
    +
    +
    A read-only view of one account.
    +
    +
    accountId() - Method in record class com.patelheet.capitalengine.api.Posting
    +
    +
    Returns the value of the accountId record component.
    +
    +
    AccountKind - Enum Class in com.patelheet.capitalengine.api
    +
    +
    What an Account is, which decides who may take money out of it.
    +
    +
    accounts() - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    Account lookup and creation.
    +
    +
    Accounts - Interface in com.patelheet.capitalengine.api
    +
    +
    Account lookup and creation.
    +
    +
    activeMinutesToday() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the activeMinutesToday record component.
    +
    +
    activeMoneySupply() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the activeMoneySupply record component.
    +
    +
    activePlayersToday() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the activePlayersToday record component.
    +
    +
    actor() - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Returns the value of the actor record component.
    +
    +
    actor(UUID) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
    +
    +
    The player who caused this, for audits.
    +
    +
    alert(Plugin, Severity, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    Raises an alert for owners.
    +
    +
    amount() - Method in record class com.patelheet.capitalengine.api.Posting
    +
    +
    Returns the value of the amount record component.
    +
    +
    apiVersion() - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    The running API version, for example "1.0.0".
    +
    +
    avgActivePlayers7d() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the avgActivePlayers7d record component.
    +
    +
    +

    B

    +
    +
    balance() - Method in interface com.patelheet.capitalengine.api.Account
    +
    +
    Current balance in the smallest currency unit, read from memory.
    +
    +
    budget(String) - Method in interface com.patelheet.capitalengine.api.service.MonetaryPolicy
    +
    +
    Today's maximum serverPay spend for a channel.
    +
    +
    byId(UUID) - Method in interface com.patelheet.capitalengine.api.Accounts
    +
    +
    Finds an account by id.
    +
    +
    +

    C

    +
    +
    CapitalAlertEvent - Class in com.patelheet.capitalengine.api.event
    +
    +
    An alert for owners, raised with CapitalApi.alert.
    +
    +
    CapitalAlertEvent(boolean, String, Severity, String, String) - Constructor for class com.patelheet.capitalengine.api.event.CapitalAlertEvent
    +
    +
    Creates the event.
    +
    +
    CapitalApi - Interface in com.patelheet.capitalengine.api
    +
    +
    Entry point of the CapitalEngine API.
    +
    +
    CapitalAuditEvent - Class in com.patelheet.capitalengine.api.event
    +
    +
    Fired asynchronously after the nightly ledger self-check.
    +
    +
    CapitalAuditEvent(boolean, List<String>) - Constructor for class com.patelheet.capitalengine.api.event.CapitalAuditEvent
    +
    +
    Creates the event (async).
    +
    +
    CapitalDayEvent - Class in com.patelheet.capitalengine.api.event
    +
    +
    Economic day boundary, on the main/global thread.
    +
    +
    CapitalDayEvent(long, LocalDate, boolean, Stats) - Constructor for class com.patelheet.capitalengine.api.event.CapitalDayEvent
    +
    +
    Creates the event.
    +
    +
    CapitalPolicyLimitEvent - Class in com.patelheet.capitalengine.api.event
    +
    +
    A call hit an owner-set cap or was denied.
    +
    +
    CapitalPolicyLimitEvent(boolean, String, CapitalPolicyLimitEvent.LimitKind, long, long) - Constructor for class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
    +
    +
    Creates the event.
    +
    +
    CapitalPolicyLimitEvent.LimitKind - Enum Class in com.patelheet.capitalengine.api.event
    +
    +
    Which limit was hit.
    +
    +
    CapitalTransactionEvent - Class in com.patelheet.capitalengine.api.event
    +
    +
    Fired asynchronously after each transaction is safely in the database.
    +
    +
    CapitalTransactionEvent(TxRecord) - Constructor for class com.patelheet.capitalengine.api.event.CapitalTransactionEvent
    +
    +
    Creates the event (async).
    +
    +
    CapitalWeekEvent - Class in com.patelheet.capitalengine.api.event
    +
    +
    Economic week boundary, fired after the CapitalDayEvent that starts the new week.
    +
    +
    CapitalWeekEvent(long, boolean) - Constructor for class com.patelheet.capitalengine.api.event.CapitalWeekEvent
    +
    +
    Creates the event.
    +
    +
    catchUp() - Method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
    +
    +
    Whether this boundary is being fired late after downtime.
    +
    +
    catchUp() - Method in class com.patelheet.capitalengine.api.event.CapitalWeekEvent
    +
    +
    Whether this boundary is being fired late after downtime.
    +
    +
    code() - Method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
    +
    +
    Short machine code, for example ledger.audit.
    +
    +
    COINS - Enum constant in enum class com.patelheet.capitalengine.api.service.Unit
    +
     
    +
    collect(Plugin, Account, long, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    Player (or other account) → Treasury.
    +
    +
    com.patelheet.capitalengine.api - package com.patelheet.capitalengine.api
    +
     
    +
    com.patelheet.capitalengine.api.event - package com.patelheet.capitalengine.api.event
    +
     
    +
    com.patelheet.capitalengine.api.service - package com.patelheet.capitalengine.api.service
    +
     
    +
    commit() - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
    +
    +
    Validates and applies in memory now; the future completes once the transaction is in the database.
    +
    +
    COUNT - Enum constant in enum class com.patelheet.capitalengine.api.service.Unit
    +
     
    +
    CRITICAL - Enum constant in enum class com.patelheet.capitalengine.api.Severity
    +
     
    +
    currency() - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    The currency.
    +
    +
    Currency - Interface in com.patelheet.capitalengine.api
    +
    +
    The server's single currency.
    +
    +
    +

    D

    +
    +
    date() - Method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
    +
    +
    Calendar date of the day that is starting.
    +
    +
    dayIndex() - Method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
    +
    +
    The day that is starting.
    +
    +
    dayIndex() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the dayIndex record component.
    +
    +
    decimals() - Method in interface com.patelheet.capitalengine.api.Currency
    +
    +
    Decimal places (2 means 12345 is 123.45).
    +
    +
    denied() - Method in record class com.patelheet.capitalengine.api.PolicyStatus
    +
    +
    Returns the value of the denied record component.
    +
    +
    DENIED - Enum constant in enum class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
    +
     
    +
    DENIED - Enum constant in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    The owner denied this plugin from moving money this way.
    +
    +
    destroy(Account, long) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
    +
    +
    Destroys coins (from → Mint).
    +
    +
    destroy(Plugin, Account, long, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    Destroys coins: from → Mint.
    +
    +
    destroyed() - Method in record class com.patelheet.capitalengine.api.PluginFlow
    +
    +
    Returns the value of the destroyed record component.
    +
    +
    destroyedToday() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the destroyedToday record component.
    +
    +
    displayName() - Method in interface com.patelheet.capitalengine.api.service.IndicatorProvider
    +
    +
    Human name for dashboards.
    +
    +
    DUPLICATE_REFERENCE - Enum constant in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    The reference was already used by this plugin; TxResult.txId() is the existing transaction.
    +
    +
    +

    E

    +
    +
    ECONOMY_PAUSED - Enum constant in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    Core can't reach its database right now.
    +
    +
    endedDay() - Method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
    +
    +
    Final stats of the day that just ended, captured before the counters reset.
    +
    +
    equals(Object) - Method in record class com.patelheet.capitalengine.api.PluginFlow
    +
    +
    Indicates whether some other object is "equal to" this one.
    +
    +
    equals(Object) - Method in record class com.patelheet.capitalengine.api.PolicyStatus
    +
    +
    Indicates whether some other object is "equal to" this one.
    +
    +
    equals(Object) - Method in record class com.patelheet.capitalengine.api.Posting
    +
    +
    Indicates whether some other object is "equal to" this one.
    +
    +
    equals(Object) - Method in record class com.patelheet.capitalengine.api.service.Indicator
    +
    +
    Indicates whether some other object is "equal to" this one.
    +
    +
    equals(Object) - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Indicates whether some other object is "equal to" this one.
    +
    +
    equals(Object) - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Indicates whether some other object is "equal to" this one.
    +
    +
    equals(Object) - Method in record class com.patelheet.capitalengine.api.TxResult
    +
    +
    Indicates whether some other object is "equal to" this one.
    +
    +
    EXTERNAL - Enum constant in enum class com.patelheet.capitalengine.api.AccountKind
    +
    +
    A non-player account made by a Vault plugin (for example a Towny town).
    +
    +
    +

    F

    +
    +
    failure() - Method in record class com.patelheet.capitalengine.api.TxResult
    +
    +
    Returns the value of the failure record component.
    +
    +
    Failure - Enum Class in com.patelheet.capitalengine.api
    +
    +
    Why a mutation failed.
    +
    +
    find(String) - Method in interface com.patelheet.capitalengine.api.Accounts
    +
    +
    Finds an account by its namespaced key, for example "capitalbank:savings:<uuid>".
    +
    +
    findByReference(Plugin, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    Finds this plugin's transaction by its reference, for crash recovery.
    +
    +
    flowsToday() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the flowsToday record component.
    +
    +
    format(long) - Method in interface com.patelheet.capitalengine.api.Currency
    +
    +
    Formats using the owner's configured format, for example "123.45 coins".
    +
    +
    fromTreasury() - Method in record class com.patelheet.capitalengine.api.TxResult
    +
    +
    Returns the value of the fromTreasury record component.
    +
    +
    +

    G

    +
    +
    getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
    +
    +
    Bukkit handler list.
    +
    +
    getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalAuditEvent
    +
    +
    Bukkit handler list.
    +
    +
    getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
    +
    +
    Bukkit handler list.
    +
    +
    getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
    +
    +
    Bukkit handler list.
    +
    +
    getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalTransactionEvent
    +
    +
    Bukkit handler list.
    +
    +
    getHandlerList() - Static method in class com.patelheet.capitalengine.api.event.CapitalWeekEvent
    +
    +
    Bukkit handler list.
    +
    +
    getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
    +
     
    +
    getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalAuditEvent
    +
     
    +
    getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalDayEvent
    +
     
    +
    getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
    +
     
    +
    getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalTransactionEvent
    +
     
    +
    getHandlers() - Method in class com.patelheet.capitalengine.api.event.CapitalWeekEvent
    +
     
    +
    +

    H

    +
    +
    hashCode() - Method in record class com.patelheet.capitalengine.api.PluginFlow
    +
    +
    Returns a hash code value for this object.
    +
    +
    hashCode() - Method in record class com.patelheet.capitalengine.api.PolicyStatus
    +
    +
    Returns a hash code value for this object.
    +
    +
    hashCode() - Method in record class com.patelheet.capitalengine.api.Posting
    +
    +
    Returns a hash code value for this object.
    +
    +
    hashCode() - Method in record class com.patelheet.capitalengine.api.service.Indicator
    +
    +
    Returns a hash code value for this object.
    +
    +
    hashCode() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns a hash code value for this object.
    +
    +
    hashCode() - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Returns a hash code value for this object.
    +
    +
    hashCode() - Method in record class com.patelheet.capitalengine.api.TxResult
    +
    +
    Returns a hash code value for this object.
    +
    +
    history(Account, int, long) - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    An account's transactions, newest first.
    +
    +
    +

    I

    +
    +
    id() - Method in interface com.patelheet.capitalengine.api.Account
    +
    +
    Stable unique id of the account.
    +
    +
    id() - Method in interface com.patelheet.capitalengine.api.service.IndicatorProvider
    +
    +
    Short id, for example "capitalmarket".
    +
    +
    INDEX - Enum constant in enum class com.patelheet.capitalengine.api.service.Unit
    +
     
    +
    Indicator - Record Class in com.patelheet.capitalengine.api.service
    +
    +
    A named number an add-on publishes for dashboards.
    +
    +
    Indicator(String, String, double, Unit) - Constructor for record class com.patelheet.capitalengine.api.service.Indicator
    +
    +
    Creates an instance of a Indicator record class.
    +
    +
    IndicatorProvider - Interface in com.patelheet.capitalengine.api.service
    +
    +
    Implemented by add-ons and registered with Bukkit's ServicesManager.
    +
    +
    indicators() - Method in interface com.patelheet.capitalengine.api.service.IndicatorProvider
    +
    +
    Current numbers.
    +
    +
    INFO - Enum constant in enum class com.patelheet.capitalengine.api.Severity
    +
     
    +
    INSUFFICIENT_FUNDS - Enum constant in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    An account would go below zero.
    +
    +
    INTERNAL - Enum constant in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    Unexpected error inside core.
    +
    +
    INVALID_AMOUNT - Enum constant in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    Zero, negative or overflowing amount, or a bad type/memo.
    +
    +
    isCompatible(String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    Whether the running API is at least minVersion (semantic versioning).
    +
    +
    issue(Account, long) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
    +
    +
    Creates coins (Mint → to).
    +
    +
    issue(Plugin, Account, long, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    Creates coins: Mint → to.
    +
    +
    ISSUE - Enum constant in enum class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
    +
     
    +
    issued() - Method in record class com.patelheet.capitalengine.api.PluginFlow
    +
    +
    Returns the value of the issued record component.
    +
    +
    issued() - Method in record class com.patelheet.capitalengine.api.TxResult
    +
    +
    Returns the value of the issued record component.
    +
    +
    issuedToday() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the issuedToday record component.
    +
    +
    issueRemainingToday() - Method in record class com.patelheet.capitalengine.api.PolicyStatus
    +
    +
    Returns the value of the issueRemainingToday record component.
    +
    +
    +

    K

    +
    +
    key() - Method in record class com.patelheet.capitalengine.api.service.Indicator
    +
    +
    Returns the value of the key record component.
    +
    +
    kind() - Method in interface com.patelheet.capitalengine.api.Account
    +
    +
    What kind of account this is.
    +
    +
    kind() - Method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
    +
    +
    Which limit.
    +
    +
    +

    L

    +
    +
    label() - Method in record class com.patelheet.capitalengine.api.service.Indicator
    +
    +
    Returns the value of the label record component.
    +
    +
    loanRatePerDay() - Method in interface com.patelheet.capitalengine.api.service.MonetaryPolicy
    +
    +
    Loan rate per day.
    +
    +
    +

    M

    +
    +
    memo() - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Returns the value of the memo record component.
    +
    +
    message() - Method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
    +
    +
    Plain-language message.
    +
    +
    message() - Method in record class com.patelheet.capitalengine.api.TxResult
    +
    +
    Returns the value of the message record component.
    +
    +
    MINT - Enum constant in enum class com.patelheet.capitalengine.api.AccountKind
    +
    +
    Creates and destroys money.
    +
    +
    monetaryPolicy() - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    The registered MonetaryPolicy service with the highest priority, if any.
    +
    +
    MonetaryPolicy - Interface in com.patelheet.capitalengine.api.service
    +
    +
    Shared economic settings, implemented by an add-on (for example CapitalMarket) and registered with Bukkit's + ServicesManager.
    +
    +
    moneySupply() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the moneySupply record component.
    +
    +
    move(Account, Account, long) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
    +
    +
    Moves coins between two accounts.
    +
    +
    +

    N

    +
    +
    name() - Method in interface com.patelheet.capitalengine.api.Account
    +
    +
    Display name (player name, or the namespaced key for plugin accounts).
    +
    +
    NO_ACCOUNT - Enum constant in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    An account doesn't exist.
    +
    +
    NONE - Enum constant in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    Not a failure.
    +
    +
    NOT_ACCOUNT_OWNER - Enum constant in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    Tried to take money out of another plugin's account, or out of the Treasury directly.
    +
    +
    +

    O

    +
    +
    ok() - Method in class com.patelheet.capitalengine.api.event.CapitalAuditEvent
    +
    +
    Whether the books balanced.
    +
    +
    ownerPlayer() - Method in interface com.patelheet.capitalengine.api.Account
    +
    +
    The player who owns this account, for AccountKind.PLAYER.
    +
    +
    ownerPlugin() - Method in interface com.patelheet.capitalengine.api.Account
    +
    +
    The plugin that owns this account, for AccountKind.PLUGIN and AccountKind.EXTERNAL.
    +
    +
    +

    P

    +
    +
    parse(String) - Method in interface com.patelheet.capitalengine.api.Currency
    +
    +
    Parses player input such as "12", "1.5", "1.5k" or "2m".
    +
    +
    PERCENT - Enum constant in enum class com.patelheet.capitalengine.api.service.Unit
    +
     
    +
    player(UUID) - Method in interface com.patelheet.capitalengine.api.Accounts
    +
    +
    The player's account, created on first use.
    +
    +
    PLAYER - Enum constant in enum class com.patelheet.capitalengine.api.AccountKind
    +
    +
    One per player.
    +
    +
    plugin() - Method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
    +
    +
    The plugin that hit the limit.
    +
    +
    plugin(Plugin, String) - Method in interface com.patelheet.capitalengine.api.Accounts
    +
    +
    The calling plugin's own account "<plugin>:<key>" (lower-case), created on first use.
    +
    +
    PLUGIN - Enum constant in enum class com.patelheet.capitalengine.api.AccountKind
    +
    +
    An add-on's own account (escrow, savings, ...).
    +
    +
    PluginFlow - Record Class in com.patelheet.capitalengine.api
    +
    +
    One plugin's money flows for the current economic day.
    +
    +
    PluginFlow(long, long, long, long, long) - Constructor for record class com.patelheet.capitalengine.api.PluginFlow
    +
    +
    Creates an instance of a PluginFlow record class.
    +
    +
    plural() - Method in interface com.patelheet.capitalengine.api.Currency
    +
    +
    Plural name, for example "coins".
    +
    +
    policy(Plugin) - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    The caller's remaining limits today.
    +
    +
    POLICY_LIMIT - Enum constant in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    The caller's owner-set daily limit would be exceeded.
    +
    +
    PolicyStatus - Record Class in com.patelheet.capitalengine.api
    +
    +
    A plugin's remaining owner-set limits today.
    +
    +
    PolicyStatus(long, long, boolean) - Constructor for record class com.patelheet.capitalengine.api.PolicyStatus
    +
    +
    Creates an instance of a PolicyStatus record class.
    +
    +
    Posting - Record Class in com.patelheet.capitalengine.api
    +
    +
    One signed leg of a transaction.
    +
    +
    Posting(UUID, long) - Constructor for record class com.patelheet.capitalengine.api.Posting
    +
    +
    Creates an instance of a Posting record class.
    +
    +
    postings() - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Returns the value of the postings record component.
    +
    +
    problems() - Method in class com.patelheet.capitalengine.api.event.CapitalAuditEvent
    +
    +
    What was wrong; empty when CapitalAuditEvent.ok().
    +
    +
    +

    R

    +
    +
    RATE_PER_DAY - Enum constant in enum class com.patelheet.capitalengine.api.service.Unit
    +
     
    +
    record() - Method in class com.patelheet.capitalengine.api.event.CapitalTransactionEvent
    +
    +
    The committed transaction.
    +
    +
    reference() - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Returns the value of the reference record component.
    +
    +
    reference(String) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
    +
    +
    Idempotency key, unique per plugin.
    +
    +
    remaining() - Method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
    +
    +
    Coins it had left.
    +
    +
    requested() - Method in class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent
    +
    +
    Coins it asked for.
    +
    +
    reversesTxId() - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Returns the value of the reversesTxId record component.
    +
    +
    +

    S

    +
    +
    savingsRatePerDay() - Method in interface com.patelheet.capitalengine.api.service.MonetaryPolicy
    +
    +
    Savings rate per day, for example 0.0028 for about 2% a week.
    +
    +
    serverPay(Account, long) - Method in interface com.patelheet.capitalengine.api.TransactionBuilder
    +
    +
    Pays from the server: Treasury first, newly created coins for any shortfall, within the caller's limits.
    +
    +
    serverPay(Plugin, Account, long, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    Pays from the server: Treasury first, newly created coins for any shortfall, within the caller's limits.
    +
    +
    severity() - Method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
    +
    +
    Severity.
    +
    +
    Severity - Enum Class in com.patelheet.capitalengine.api
    +
    +
    How serious an alert is.
    +
    +
    singular() - Method in interface com.patelheet.capitalengine.api.Currency
    +
    +
    Singular name, for example "coin".
    +
    +
    source() - Method in class com.patelheet.capitalengine.api.event.CapitalAlertEvent
    +
    +
    Name of the plugin that raised it.
    +
    +
    sourcePlugin() - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Returns the value of the sourcePlugin record component.
    +
    +
    stats() - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    Instant economy-wide snapshot.
    +
    +
    Stats - Record Class in com.patelheet.capitalengine.api
    +
    +
    Instant economy-wide snapshot, read from memory.
    +
    +
    Stats(long, long, long, long, long, long, long, Map<String, PluginFlow>, int, long, double, long, long) - Constructor for record class com.patelheet.capitalengine.api.Stats
    +
    +
    Creates an instance of a Stats record class.
    +
    +
    success() - Method in record class com.patelheet.capitalengine.api.TxResult
    +
    +
    Returns the value of the success record component.
    +
    +
    symbol() - Method in interface com.patelheet.capitalengine.api.Currency
    +
    +
    Symbol, for example "⛁".
    +
    +
    +

    T

    +
    +
    time() - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Returns the value of the time record component.
    +
    +
    toString() - Method in record class com.patelheet.capitalengine.api.PluginFlow
    +
    +
    Returns a string representation of this record class.
    +
    +
    toString() - Method in record class com.patelheet.capitalengine.api.PolicyStatus
    +
    +
    Returns a string representation of this record class.
    +
    +
    toString() - Method in record class com.patelheet.capitalengine.api.Posting
    +
    +
    Returns a string representation of this record class.
    +
    +
    toString() - Method in record class com.patelheet.capitalengine.api.service.Indicator
    +
    +
    Returns a string representation of this record class.
    +
    +
    toString() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns a string representation of this record class.
    +
    +
    toString() - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Returns a string representation of this record class.
    +
    +
    toString() - Method in record class com.patelheet.capitalengine.api.TxResult
    +
    +
    Returns a string representation of this record class.
    +
    +
    transaction(Plugin, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    Starts a multi-leg transaction.
    +
    +
    TransactionBuilder - Interface in com.patelheet.capitalengine.api
    +
    +
    Builds a multi-leg transaction that applies completely or not at all.
    +
    +
    transfer(Plugin, Account, Account, long, String, String) - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    Moves coins between two accounts.
    +
    +
    transferred() - Method in record class com.patelheet.capitalengine.api.PluginFlow
    +
    +
    Returns the value of the transferred record component.
    +
    +
    treasury() - Method in interface com.patelheet.capitalengine.api.CapitalApi
    +
    +
    The server's wallet.
    +
    +
    TREASURY - Enum constant in enum class com.patelheet.capitalengine.api.AccountKind
    +
    +
    The server's wallet.
    +
    +
    TREASURY - Enum constant in enum class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
    +
     
    +
    treasuryBalance() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the treasuryBalance record component.
    +
    +
    treasuryIn() - Method in record class com.patelheet.capitalengine.api.PluginFlow
    +
    +
    Returns the value of the treasuryIn record component.
    +
    +
    treasuryInToday() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the treasuryInToday record component.
    +
    +
    treasuryOut() - Method in record class com.patelheet.capitalengine.api.PluginFlow
    +
    +
    Returns the value of the treasuryOut record component.
    +
    +
    treasuryOutToday() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the treasuryOutToday record component.
    +
    +
    treasuryRemainingToday() - Method in record class com.patelheet.capitalengine.api.PolicyStatus
    +
    +
    Returns the value of the treasuryRemainingToday record component.
    +
    +
    txId() - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Returns the value of the txId record component.
    +
    +
    txId() - Method in record class com.patelheet.capitalengine.api.TxResult
    +
    +
    Returns the value of the txId record component.
    +
    +
    TxRecord - Record Class in com.patelheet.capitalengine.api
    +
    +
    A committed transaction, as returned by history lookups and carried by events.
    +
    +
    TxRecord(long, Instant, String, String, String, UUID, String, Long, List<Posting>) - Constructor for record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Creates an instance of a TxRecord record class.
    +
    +
    TxResult - Record Class in com.patelheet.capitalengine.api
    +
    +
    Outcome of a mutation.
    +
    +
    TxResult(boolean, long, Failure, String, long, long) - Constructor for record class com.patelheet.capitalengine.api.TxResult
    +
    +
    Creates an instance of a TxResult record class.
    +
    +
    type() - Method in record class com.patelheet.capitalengine.api.TxRecord
    +
    +
    Returns the value of the type record component.
    +
    +
    +

    U

    +
    +
    unit() - Method in record class com.patelheet.capitalengine.api.service.Indicator
    +
    +
    Returns the value of the unit record component.
    +
    +
    Unit - Enum Class in com.patelheet.capitalengine.api.service
    +
    +
    The unit of an Indicator.
    +
    +
    +

    V

    +
    +
    value() - Method in record class com.patelheet.capitalengine.api.service.Indicator
    +
    +
    Returns the value of the value record component.
    +
    +
    valueOf(String) - Static method in enum class com.patelheet.capitalengine.api.AccountKind
    +
    +
    Returns the enum constant of this class with the specified name.
    +
    +
    valueOf(String) - Static method in enum class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
    +
    +
    Returns the enum constant of this class with the specified name.
    +
    +
    valueOf(String) - Static method in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    Returns the enum constant of this class with the specified name.
    +
    +
    valueOf(String) - Static method in enum class com.patelheet.capitalengine.api.service.Unit
    +
    +
    Returns the enum constant of this class with the specified name.
    +
    +
    valueOf(String) - Static method in enum class com.patelheet.capitalengine.api.Severity
    +
    +
    Returns the enum constant of this class with the specified name.
    +
    +
    values() - Static method in enum class com.patelheet.capitalengine.api.AccountKind
    +
    +
    Returns an array containing the constants of this enum class, in +the order they are declared.
    +
    +
    values() - Static method in enum class com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind
    +
    +
    Returns an array containing the constants of this enum class, in +the order they are declared.
    +
    +
    values() - Static method in enum class com.patelheet.capitalengine.api.Failure
    +
    +
    Returns an array containing the constants of this enum class, in +the order they are declared.
    +
    +
    values() - Static method in enum class com.patelheet.capitalengine.api.service.Unit
    +
    +
    Returns an array containing the constants of this enum class, in +the order they are declared.
    +
    +
    values() - Static method in enum class com.patelheet.capitalengine.api.Severity
    +
    +
    Returns an array containing the constants of this enum class, in +the order they are declared.
    +
    +
    +

    W

    +
    +
    WARN - Enum constant in enum class com.patelheet.capitalengine.api.Severity
    +
     
    +
    weekIndex() - Method in class com.patelheet.capitalengine.api.event.CapitalWeekEvent
    +
    +
    The week that is starting.
    +
    +
    weekIndex() - Method in record class com.patelheet.capitalengine.api.Stats
    +
    +
    Returns the value of the weekIndex record component.
    +
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    All Classes and Interfaces|All Packages
    +
    +
    + + diff --git a/docs/latest/index.html b/docs/latest/index.html new file mode 100644 index 0000000..93bfc4f --- /dev/null +++ b/docs/latest/index.html @@ -0,0 +1,69 @@ + + + + +Overview (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +
    +

    api 1.0.0 API

    +
    + +
    +
    +
    + + diff --git a/docs/latest/legal/ADDITIONAL_LICENSE_INFO b/docs/latest/legal/ADDITIONAL_LICENSE_INFO new file mode 100644 index 0000000..ff700cd --- /dev/null +++ b/docs/latest/legal/ADDITIONAL_LICENSE_INFO @@ -0,0 +1,37 @@ + ADDITIONAL INFORMATION ABOUT LICENSING + +Certain files distributed by Oracle America, Inc. and/or its affiliates are +subject to the following clarification and special exception to the GPLv2, +based on the GNU Project exception for its Classpath libraries, known as the +GNU Classpath Exception. + +Note that Oracle includes multiple, independent programs in this software +package. Some of those programs are provided under licenses deemed +incompatible with the GPLv2 by the Free Software Foundation and others. +For example, the package includes programs licensed under the Apache +License, Version 2.0 and may include FreeType. Such programs are licensed +to you under their original licenses. + +Oracle facilitates your further distribution of this package by adding the +Classpath Exception to the necessary parts of its GPLv2 code, which permits +you to use that code in combination with other independent modules not +licensed under the GPLv2. However, note that this would not permit you to +commingle code under an incompatible license with Oracle's GPLv2 licensed +code by, for example, cutting and pasting such code into a file also +containing Oracle's GPLv2 licensed code and then distributing the result. + +Additionally, if you were to remove the Classpath Exception from any of the +files to which it applies and distribute the result, you would likely be +required to license some or all of the other code in that distribution under +the GPLv2 as well, and since the GPLv2 is incompatible with the license terms +of some items included in the distribution by Oracle, removing the Classpath +Exception could therefore effectively compromise your ability to further +distribute the package. + +Failing to distribute notices associated with some files may also create +unexpected legal consequences. + +Proceed with caution and we recommend that you obtain the advice of a lawyer +skilled in open source matters before removing the Classpath Exception or +making modifications to this package which may subsequently be redistributed +and/or involve the use of third party software. diff --git a/docs/latest/legal/ASSEMBLY_EXCEPTION b/docs/latest/legal/ASSEMBLY_EXCEPTION new file mode 100644 index 0000000..4296666 --- /dev/null +++ b/docs/latest/legal/ASSEMBLY_EXCEPTION @@ -0,0 +1,27 @@ + +OPENJDK ASSEMBLY EXCEPTION + +The OpenJDK source code made available by Oracle America, Inc. (Oracle) at +openjdk.org ("OpenJDK Code") is distributed under the terms of the GNU +General Public License version 2 +only ("GPL2"), with the following clarification and special exception. + + Linking this OpenJDK Code statically or dynamically with other code + is making a combined work based on this library. Thus, the terms + and conditions of GPL2 cover the whole combination. + + As a special exception, Oracle gives you permission to link this + OpenJDK Code with certain code licensed by Oracle as indicated at + https://openjdk.org/legal/exception-modules-2007-05-08.html + ("Designated Exception Modules") to produce an executable, + regardless of the license terms of the Designated Exception Modules, + and to copy and distribute the resulting executable under GPL2, + provided that the Designated Exception Modules continue to be + governed by the licenses under which they were offered by Oracle. + +As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code +to build an executable that includes those portions of necessary code that +Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 +with the Classpath exception). If you modify or add to the OpenJDK code, +that new GPL2 code may still be combined with Designated Exception Modules +if the new code is made subject to this exception by its copyright holder. diff --git a/docs/latest/legal/LICENSE b/docs/latest/legal/LICENSE new file mode 100644 index 0000000..8b400c7 --- /dev/null +++ b/docs/latest/legal/LICENSE @@ -0,0 +1,347 @@ +The GNU General Public License (GPL) + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software is +covered by the GNU Library General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish), +that you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs; and that you know you +can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny +you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must +make sure that they, too, receive or can get the source code. And you must +show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients to +know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will +individually obtain patent licenses, in effect making the program proprietary. +To prevent this, we have made it clear that any patent must be licensed for +everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms of +this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or +translated into another language. (Hereinafter, translation is included +without limitation in the term "modification".) Each licensee is addressed as +"you". + +Activities other than copying, distribution and modification are not covered by +this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made by +running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as +you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may +at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus +forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all of +these conditions: + + a) You must cause the modified files to carry prominent notices stating + that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or + in part contains or is derived from the Program or any part thereof, to be + licensed as a whole at no charge to all third parties under the terms of + this License. + + c) If the modified program normally reads commands interactively when run, + you must cause it, when started running for such interactive use in the + most ordinary way, to print or display an announcement including an + appropriate copyright notice and a notice that there is no warranty (or + else, saying that you provide a warranty) and that users may redistribute + the program under these conditions, and telling the user how to view a copy + of this License. (Exception: if the Program itself is interactive but does + not normally print such an announcement, your work based on the Program is + not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, and +its terms, do not apply to those sections when you distribute them as separate +works. But when you distribute the same sections as part of a whole which is a +work based on the Program, the distribution of the whole must be on the terms +of this License, whose permissions for other licensees extend to the entire +whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise the +right to control the distribution of derivative or collective works based on +the Program. + +In addition, mere aggregation of another work not based on the Program with the +Program (or with a work based on the Program) on a volume of a storage or +distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 and +2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source + code, which must be distributed under the terms of Sections 1 and 2 above + on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to + give any third party, for a charge no more than your cost of physically + performing source distribution, a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed only + for noncommercial distribution and only if you received the program in + object code or executable form with such an offer, in accord with + Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code +distributed need not include anything that is normally distributed (in either +source or binary form) with the major components (compiler, kernel, and so on) +of the operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the source +code from the same place counts as distribution of the source code, even though +third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, or +rights, from you under this License will not have their licenses terminated so +long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the Program +or its derivative works. These actions are prohibited by law if you do not +accept this License. Therefore, by modifying or distributing the Program (or +any work based on the Program), you indicate your acceptance of this License to +do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor to +copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of the +rights granted herein. You are not responsible for enforcing compliance by +third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose that +choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original +copyright holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In +such case, this License incorporates the limitation as if written in the body +of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the +General Public License from time to time. Such new versions will be similar in +spirit to the present version, but may differ in detail to address new problems +or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any later +version", you have the option of following the terms and conditions either of +that version or of any later version published by the Free Software Foundation. +If the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status of +all derivatives of our free software and of promoting the sharing and reuse of +software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE +PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, +YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE +PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA +BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER +OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + + Copyright (C) + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it +starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes + with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free + software, and you are welcome to redistribute it under certain conditions; + type 'show c' for details. + +The hypothetical commands 'show w' and 'show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than 'show w' and 'show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + 'Gnomovision' (which makes passes at compilers) written by James Hacker. + + signature of Ty Coon, 1 April 1989 + + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General Public +License instead of this License. + + +"CLASSPATH" EXCEPTION TO THE GPL + +Certain source files distributed by Oracle America and/or its affiliates are +subject to the following clarification and special exception to the GPL, but +only where Oracle has expressly included in the particular source file's header +the words "Oracle designates this particular file as subject to the "Classpath" +exception as provided by Oracle in the LICENSE file that accompanied this code." + + Linking this library statically or dynamically with other modules is making + a combined work based on this library. Thus, the terms and conditions of + the GNU General Public License cover the whole combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent modules, + and to copy and distribute the resulting executable under terms of your + choice, provided that you also meet, for each linked independent module, + the terms and conditions of the license of that module. An independent + module is a module which is not derived from or based on this library. If + you modify this library, you may extend this exception to your version of + the library, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. diff --git a/docs/latest/legal/jquery.md b/docs/latest/legal/jquery.md new file mode 100644 index 0000000..a763ec6 --- /dev/null +++ b/docs/latest/legal/jquery.md @@ -0,0 +1,26 @@ +## jQuery v3.7.1 + +### jQuery License +``` +jQuery v 3.7.1 +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +``` diff --git a/docs/latest/legal/jqueryUI.md b/docs/latest/legal/jqueryUI.md new file mode 100644 index 0000000..46bfbaa --- /dev/null +++ b/docs/latest/legal/jqueryUI.md @@ -0,0 +1,49 @@ +## jQuery UI v1.14.1 + +### jQuery UI License +``` +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery-ui + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code contained within the demos directory. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +``` diff --git a/docs/latest/link.svg b/docs/latest/link.svg new file mode 100644 index 0000000..7ccc5ed --- /dev/null +++ b/docs/latest/link.svg @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/docs/latest/member-search-index.js b/docs/latest/member-search-index.js new file mode 100644 index 0000000..63e3b7b --- /dev/null +++ b/docs/latest/member-search-index.js @@ -0,0 +1 @@ +memberSearchIndex = [{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"accountId()"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"accounts()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"activeMinutesToday()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"activeMoneySupply()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"activePlayersToday()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"actor()"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"actor(UUID)","u":"actor(java.util.UUID)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"alert(Plugin, Severity, String, String)","u":"alert(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Severity,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"amount()"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"apiVersion()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"avgActivePlayers7d()"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"balance()"},{"p":"com.patelheet.capitalengine.api.service","c":"MonetaryPolicy","l":"budget(String)","u":"budget(java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"Accounts","l":"byId(UUID)","u":"byId(java.util.UUID)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"CapitalAlertEvent(boolean, String, Severity, String, String)","u":"%3Cinit%3E(boolean,java.lang.String,com.patelheet.capitalengine.api.Severity,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAuditEvent","l":"CapitalAuditEvent(boolean, List)","u":"%3Cinit%3E(boolean,java.util.List)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"CapitalDayEvent(long, LocalDate, boolean, Stats)","u":"%3Cinit%3E(long,java.time.LocalDate,boolean,com.patelheet.capitalengine.api.Stats)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"CapitalPolicyLimitEvent(boolean, String, CapitalPolicyLimitEvent.LimitKind, long, long)","u":"%3Cinit%3E(boolean,java.lang.String,com.patelheet.capitalengine.api.event.CapitalPolicyLimitEvent.LimitKind,long,long)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalTransactionEvent","l":"CapitalTransactionEvent(TxRecord)","u":"%3Cinit%3E(com.patelheet.capitalengine.api.TxRecord)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalWeekEvent","l":"CapitalWeekEvent(long, boolean)","u":"%3Cinit%3E(long,boolean)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"catchUp()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalWeekEvent","l":"catchUp()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"code()"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"COINS"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"collect(Plugin, Account, long, String, String)","u":"collect(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Account,long,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"commit()"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"COUNT"},{"p":"com.patelheet.capitalengine.api","c":"Severity","l":"CRITICAL"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"currency()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"date()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"dayIndex()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"dayIndex()"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"decimals()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent.LimitKind","l":"DENIED"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"DENIED"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"denied()"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"destroy(Account, long)","u":"destroy(com.patelheet.capitalengine.api.Account,long)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"destroy(Plugin, Account, long, String, String)","u":"destroy(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Account,long,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"destroyed()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"destroyedToday()"},{"p":"com.patelheet.capitalengine.api.service","c":"IndicatorProvider","l":"displayName()"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"DUPLICATE_REFERENCE"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"ECONOMY_PAUSED"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"endedDay()"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"EXTERNAL"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"failure()"},{"p":"com.patelheet.capitalengine.api","c":"Accounts","l":"find(String)","u":"find(java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"findByReference(Plugin, String)","u":"findByReference(org.bukkit.plugin.Plugin,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"flowsToday()"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"format(long)"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"fromTreasury()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAuditEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalTransactionEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalWeekEvent","l":"getHandlerList()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAuditEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalDayEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalTransactionEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalWeekEvent","l":"getHandlers()"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"hashCode()"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"history(Account, int, long)","u":"history(com.patelheet.capitalengine.api.Account,int,long)"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"id()"},{"p":"com.patelheet.capitalengine.api.service","c":"IndicatorProvider","l":"id()"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"INDEX"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"Indicator(String, String, double, Unit)","u":"%3Cinit%3E(java.lang.String,java.lang.String,double,com.patelheet.capitalengine.api.service.Unit)"},{"p":"com.patelheet.capitalengine.api.service","c":"IndicatorProvider","l":"indicators()"},{"p":"com.patelheet.capitalengine.api","c":"Severity","l":"INFO"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"INSUFFICIENT_FUNDS"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"INTERNAL"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"INVALID_AMOUNT"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"isCompatible(String)","u":"isCompatible(java.lang.String)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent.LimitKind","l":"ISSUE"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"issue(Account, long)","u":"issue(com.patelheet.capitalengine.api.Account,long)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"issue(Plugin, Account, long, String, String)","u":"issue(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Account,long,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"issued()"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"issued()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"issuedToday()"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"issueRemainingToday()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"key()"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"kind()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"kind()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"label()"},{"p":"com.patelheet.capitalengine.api.service","c":"MonetaryPolicy","l":"loanRatePerDay()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"memo()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"message()"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"message()"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"MINT"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"monetaryPolicy()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"moneySupply()"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"move(Account, Account, long)","u":"move(com.patelheet.capitalengine.api.Account,com.patelheet.capitalengine.api.Account,long)"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"name()"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"NO_ACCOUNT"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"NONE"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"NOT_ACCOUNT_OWNER"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAuditEvent","l":"ok()"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"ownerPlayer()"},{"p":"com.patelheet.capitalengine.api","c":"Account","l":"ownerPlugin()"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"parse(String)","u":"parse(java.lang.String)"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"PERCENT"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"PLAYER"},{"p":"com.patelheet.capitalengine.api","c":"Accounts","l":"player(UUID)","u":"player(java.util.UUID)"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"PLUGIN"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"plugin()"},{"p":"com.patelheet.capitalengine.api","c":"Accounts","l":"plugin(Plugin, String)","u":"plugin(org.bukkit.plugin.Plugin,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"PluginFlow(long, long, long, long, long)","u":"%3Cinit%3E(long,long,long,long,long)"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"plural()"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"POLICY_LIMIT"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"policy(Plugin)","u":"policy(org.bukkit.plugin.Plugin)"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"PolicyStatus(long, long, boolean)","u":"%3Cinit%3E(long,long,boolean)"},{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"Posting(UUID, long)","u":"%3Cinit%3E(java.util.UUID,long)"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"postings()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAuditEvent","l":"problems()"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"RATE_PER_DAY"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalTransactionEvent","l":"record()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"reference()"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"reference(String)","u":"reference(java.lang.String)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"remaining()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent","l":"requested()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"reversesTxId()"},{"p":"com.patelheet.capitalengine.api.service","c":"MonetaryPolicy","l":"savingsRatePerDay()"},{"p":"com.patelheet.capitalengine.api","c":"TransactionBuilder","l":"serverPay(Account, long)","u":"serverPay(com.patelheet.capitalengine.api.Account,long)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"serverPay(Plugin, Account, long, String, String)","u":"serverPay(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Account,long,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"severity()"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"singular()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalAlertEvent","l":"source()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"sourcePlugin()"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"stats()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"Stats(long, long, long, long, long, long, long, Map, int, long, double, long, long)","u":"%3Cinit%3E(long,long,long,long,long,long,long,java.util.Map,int,long,double,long,long)"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"success()"},{"p":"com.patelheet.capitalengine.api","c":"Currency","l":"symbol()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"time()"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"Posting","l":"toString()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"toString()"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"transaction(Plugin, String, String)","u":"transaction(org.bukkit.plugin.Plugin,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"transfer(Plugin, Account, Account, long, String, String)","u":"transfer(org.bukkit.plugin.Plugin,com.patelheet.capitalengine.api.Account,com.patelheet.capitalengine.api.Account,long,java.lang.String,java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"transferred()"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"TREASURY"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent.LimitKind","l":"TREASURY"},{"p":"com.patelheet.capitalengine.api","c":"CapitalApi","l":"treasury()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"treasuryBalance()"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"treasuryIn()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"treasuryInToday()"},{"p":"com.patelheet.capitalengine.api","c":"PluginFlow","l":"treasuryOut()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"treasuryOutToday()"},{"p":"com.patelheet.capitalengine.api","c":"PolicyStatus","l":"treasuryRemainingToday()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"txId()"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"txId()"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"TxRecord(long, Instant, String, String, String, UUID, String, Long, List)","u":"%3Cinit%3E(long,java.time.Instant,java.lang.String,java.lang.String,java.lang.String,java.util.UUID,java.lang.String,java.lang.Long,java.util.List)"},{"p":"com.patelheet.capitalengine.api","c":"TxResult","l":"TxResult(boolean, long, Failure, String, long, long)","u":"%3Cinit%3E(boolean,long,com.patelheet.capitalengine.api.Failure,java.lang.String,long,long)"},{"p":"com.patelheet.capitalengine.api","c":"TxRecord","l":"type()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"unit()"},{"p":"com.patelheet.capitalengine.api.service","c":"Indicator","l":"value()"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent.LimitKind","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"Severity","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.patelheet.capitalengine.api","c":"AccountKind","l":"values()"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalPolicyLimitEvent.LimitKind","l":"values()"},{"p":"com.patelheet.capitalengine.api","c":"Failure","l":"values()"},{"p":"com.patelheet.capitalengine.api.service","c":"Unit","l":"values()"},{"p":"com.patelheet.capitalengine.api","c":"Severity","l":"values()"},{"p":"com.patelheet.capitalengine.api","c":"Severity","l":"WARN"},{"p":"com.patelheet.capitalengine.api.event","c":"CapitalWeekEvent","l":"weekIndex()"},{"p":"com.patelheet.capitalengine.api","c":"Stats","l":"weekIndex()"}];updateSearchResults(); \ No newline at end of file diff --git a/docs/latest/module-search-index.js b/docs/latest/module-search-index.js new file mode 100644 index 0000000..0d59754 --- /dev/null +++ b/docs/latest/module-search-index.js @@ -0,0 +1 @@ +moduleSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/docs/latest/overview-summary.html b/docs/latest/overview-summary.html new file mode 100644 index 0000000..c8afbee --- /dev/null +++ b/docs/latest/overview-summary.html @@ -0,0 +1,25 @@ + + + + +api 1.0.0 API + + + + + + + + + + +
    + +

    index.html

    +
    + + diff --git a/docs/latest/overview-tree.html b/docs/latest/overview-tree.html new file mode 100644 index 0000000..dabbd12 --- /dev/null +++ b/docs/latest/overview-tree.html @@ -0,0 +1,131 @@ + + + + +Class Hierarchy (api 1.0.0 API) + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Hierarchy For All Packages

    +
    +Package Hierarchies: + +
    +

    Class Hierarchy

    + +
    +
    +

    Interface Hierarchy

    + +
    +
    +

    Enum Class Hierarchy

    + +
    +
    +

    Record Class Hierarchy

    +
      +
    • java.lang.Object +
        +
      • java.lang.Record +
          +
        • com.patelheet.capitalengine.api.service.Indicator
        • +
        • com.patelheet.capitalengine.api.PluginFlow
        • +
        • com.patelheet.capitalengine.api.PolicyStatus
        • +
        • com.patelheet.capitalengine.api.Posting
        • +
        • com.patelheet.capitalengine.api.Stats
        • +
        • com.patelheet.capitalengine.api.TxRecord
        • +
        • com.patelheet.capitalengine.api.TxResult
        • +
        +
      • +
      +
    • +
    +
    +
    +
    +
    + + diff --git a/docs/latest/package-search-index.js b/docs/latest/package-search-index.js new file mode 100644 index 0000000..a73c292 --- /dev/null +++ b/docs/latest/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"l":"com.patelheet.capitalengine.api"},{"l":"com.patelheet.capitalengine.api.event"},{"l":"com.patelheet.capitalengine.api.service"}];updateSearchResults(); \ No newline at end of file diff --git a/docs/latest/resources/glass.png b/docs/latest/resources/glass.png new file mode 100644 index 0000000..a7f591f Binary files /dev/null and b/docs/latest/resources/glass.png differ diff --git a/docs/latest/resources/x.png b/docs/latest/resources/x.png new file mode 100644 index 0000000..30548a7 Binary files /dev/null and b/docs/latest/resources/x.png differ diff --git a/docs/latest/script-dir/jquery-3.7.1.min.js b/docs/latest/script-dir/jquery-3.7.1.min.js new file mode 100644 index 0000000..7f37b5d --- /dev/null +++ b/docs/latest/script-dir/jquery-3.7.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0{"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(x){x.ui=x.ui||{};x.ui.version="1.14.1";var n,s,C,k,o,l,a,r,u,i,h=0,c=Array.prototype.hasOwnProperty,d=Array.prototype.slice;x.cleanData=(n=x.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");n(t)}),x.widget=function(t,i,e){var s,n,o,l,a={},r=t.split(".")[0];return"__proto__"===(t=t.split(".")[1])||"constructor"===t?x.error("Invalid widget name: "+t):(l=r+"-"+t,e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[l.toLowerCase()]=function(t){return!!x.data(t,l)},x[r]=x[r]||{},s=x[r][t],n=x[r][t]=function(t,e){if(!this||!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},x.extend(n,s,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(o=new i).options=x.widget.extend({},o.options),x.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}a[e]="function"!=typeof s?s:function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}}),n.prototype=x.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},a,{constructor:n,namespace:r,widgetName:t,widgetFullName:l}),s?(x.each(s._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),x.widget.bridge(t,n),n)},x.widget.extend=function(t){for(var e,i,s=d.call(arguments,1),n=0,o=s.length;n",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=h++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=x.widget.extend({},this.options[t]),n=0;n{var i=[];n.element.each(function(t,e){x.map(l.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),l._on(x(i),{remove:"_untrackClassesElement"})})(),x(x.uniqueSort(i.get().concat(n.element.get())))):x(i.not(n.element).get()),l.classesElementLookup[t[s]]=i,o.push(t[s]),e&&n.classes[t[s]]&&o.push(n.classes[t[s]])}return(n=x.extend({element:this.element,classes:this.options.classes||{}},n)).keys&&t(n.keys.match(/\S+/g)||[],!0),n.extra&&t(n.extra.match(/\S+/g)||[]),o.join(" ")},_untrackClassesElement:function(i){var s=this;x.each(s.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(s.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){var n="string"==typeof t||null===t,e={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s="boolean"==typeof s?s:i};return e.element.toggleClass(this._classes(e),s),this},_on:function(n,o,t){var l,a=this;"boolean"!=typeof n&&(t=o,o=n,n=!1),t?(o=l=x(o),this.bindings=this.bindings.add(o)):(t=o,o=this.element,l=this.widget()),x.each(t,function(t,e){function i(){if(n||!0!==a.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?a[e]:e).apply(a,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),s=t[1]+a.eventNamespace,t=t[2];t?l.on(s,t,i):o.on(s,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var s,n,o=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],n=e.originalEvent)for(s in n)s in e||(e[s]=n[s]);return this.element.trigger(e,i),!("function"==typeof o&&!1===o.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(o,l){x.Widget.prototype["_"+o]=function(e,t,i){var s,n=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||l:o;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),s=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),s&&x.effects&&x.effects.effect[n]?e[o](t):n!==o&&e[n]?e[n](t.duration,t.easing,i):e.queue(function(t){x(this)[o](),i&&i.call(e[0]),t()})}}),x.widget;function E(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function T(t,e){return parseInt(x.css(t,e),10)||0}function W(t){return null!=t&&t===t.window}C=Math.max,k=Math.abs,o=/left|center|right/,l=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,r=/^\w+/,u=/%$/,i=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==s?s:(i=(e=x("
    ")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthC(k(s),k(n))?o.important="horizontal":o.important="vertical",c.using.call(this,t,o)}),l.offset(x.extend(u,{using:t}))})):i.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,s=s.width,o=t.left-e.collisionPosition.marginLeft,l=n-o,a=o+e.collisionWidth-s-n;s",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(t){var e=x(t.target),i=x(this.document[0].activeElement);!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active)&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this._menuItems().first();e||this.focus(t,i)},blur:function(t){this._delay(function(){x.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(t){var e,i;this.previousFilter||t.clientX===this.lastMousePosition.x&&t.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:t.clientX,y:t.clientY},e=x(t.target).closest(".ui-menu-item"),i=x(t.currentTarget),e[0]!==i[0])||i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i))},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=x(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,s,n=!0;switch(t.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(t);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case x.ui.keyCode.HOME:this._move("first","first",t);break;case x.ui.keyCode.END:this._move("last","last",t);break;case x.ui.keyCode.UP:this.previous(t);break;case x.ui.keyCode.DOWN:this.next(t);break;case x.ui.keyCode.LEFT:this.collapse(t);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(t);break;case x.ui.keyCode.ESCAPE:this.collapse(t);break;default:e=this.previousFilter||"",s=n=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?s=!0:i=e+i,e=this._filterMenuItems(i),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),t=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=x(this),e=t.prev(),i=x("").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+n),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(t,"ui-menu","ui-widget ui-widget-content ui-front"),(t=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=x(this);s._isDivider(t)&&s._addClass(t,"ui-menu-divider","ui-widget-content")}),e=(i=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(e,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(e=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-e-i,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):s",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var i,s,n,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&"true"===this.element.prop("contentEditable"),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)i=!1,this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault();else if(!s){var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){n?(n=!1,t.preventDefault()):this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=x("
      ").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault()},menufocus:function(t,e){var i,s;this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent)&&/^mouse/.test(t.originalEvent.type)?(this.menu.blur(),this.document.one("mousemove",function(){x(t.target).trigger(t.originalEvent)})):(s=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:s})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(s.value),(i=e.item.attr("aria-label")||s.value)&&String.prototype.trim.call(i).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(x("
      ").text(i))},100)))},menuselect:function(t,e){var e=e.item.data("ui-autocomplete-item"),i=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.trigger("focus"),this.previous=i),!1!==this._trigger("select",t,{item:e})&&this._value(e.value),this.term=this._value(),this.close(t),this.selectedItem=e}}),this.liveRegion=x("
      ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||x.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t=(t=(t=t&&(t.jquery||t.nodeType?x(t):this.document.find(t).eq(0)))&&t[0]?t:this.element.closest(".ui-front, dialog")).length?t:this.document[0].body},_initSource:function(){var i,s,n=this;Array.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(x.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(s=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=x.ajax({url:s,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(s){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=s.altKey||s.ctrlKey||s.metaKey||s.shiftKey;t&&(e||i)||(this.selectedItem=null,this.search(null,s))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(x("
      ").text(e.label)).appendTo(t)},_move:function(t,e){this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),this.menu.blur()):this.menu[t](e):this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())}}),x.extend(x.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(x.ui.autocomplete.escapeRegex(e),"i");return x.grep(t,function(t){return i.test(t.label||t.value||t)})}}),x.widget("ui.autocomplete",x.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1").text(e))},100))}}),x.ui.autocomplete}); \ No newline at end of file diff --git a/docs/latest/script.js b/docs/latest/script.js new file mode 100644 index 0000000..bb9c8a2 --- /dev/null +++ b/docs/latest/script.js @@ -0,0 +1,253 @@ +/* + * Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; + +var oddRowColor = "odd-row-color"; +var evenRowColor = "even-row-color"; +var sortAsc = "sort-asc"; +var sortDesc = "sort-desc"; +var tableTab = "table-tab"; +var activeTableTab = "active-table-tab"; + +function loadScripts(doc, tag) { + createElem(doc, tag, 'search.js'); + + createElem(doc, tag, 'module-search-index.js'); + createElem(doc, tag, 'package-search-index.js'); + createElem(doc, tag, 'type-search-index.js'); + createElem(doc, tag, 'member-search-index.js'); + createElem(doc, tag, 'tag-search-index.js'); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +// Helper for making content containing release names comparable lexicographically +function makeComparable(s) { + return s.toLowerCase().replace(/(\d+)/g, + function(n, m) { + return ("000" + m).slice(-4); + }); +} + +// Switches between two styles depending on a condition +function toggleStyle(classList, condition, trueStyle, falseStyle) { + if (condition) { + classList.remove(falseStyle); + classList.add(trueStyle); + } else { + classList.remove(trueStyle); + classList.add(falseStyle); + } +} + +// Sorts the rows in a table lexicographically by the content of a specific column +function sortTable(header, columnIndex, columns) { + var container = header.parentElement; + var descending = header.classList.contains(sortAsc); + container.querySelectorAll("div.table-header").forEach( + function(header) { + header.classList.remove(sortAsc); + header.classList.remove(sortDesc); + } + ) + var cells = container.children; + var rows = []; + for (var i = columns; i < cells.length; i += columns) { + rows.push(Array.prototype.slice.call(cells, i, i + columns)); + } + var comparator = function(a, b) { + var ka = makeComparable(a[columnIndex].textContent); + var kb = makeComparable(b[columnIndex].textContent); + if (ka < kb) + return descending ? 1 : -1; + if (ka > kb) + return descending ? -1 : 1; + return 0; + }; + var sorted = rows.sort(comparator); + var visible = 0; + sorted.forEach(function(row) { + if (row[0].style.display !== 'none') { + var isEvenRow = visible++ % 2 === 0; + } + row.forEach(function(cell) { + toggleStyle(cell.classList, isEvenRow, evenRowColor, oddRowColor); + container.appendChild(cell); + }) + }); + toggleStyle(header.classList, descending, sortDesc, sortAsc); +} + +// Toggles the visibility of a table category in all tables in a page +function toggleGlobal(checkbox, selected, columns) { + var display = checkbox.checked ? '' : 'none'; + document.querySelectorAll("div.table-tabs").forEach(function(t) { + var id = t.parentElement.getAttribute("id"); + var selectedClass = id + "-tab" + selected; + // if selected is empty string it selects all uncategorized entries + var selectUncategorized = !Boolean(selected); + var visible = 0; + document.querySelectorAll('div.' + id) + .forEach(function(elem) { + if (selectUncategorized) { + if (elem.className.indexOf(selectedClass) === -1) { + elem.style.display = display; + } + } else if (elem.classList.contains(selectedClass)) { + elem.style.display = display; + } + if (elem.style.display === '') { + var isEvenRow = visible++ % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + } + }); + var displaySection = visible === 0 ? 'none' : ''; + t.parentElement.style.display = displaySection; + document.querySelector("li#contents-" + id).style.display = displaySection; + }) +} + +// Shows the elements of a table belonging to a specific category +function show(tableId, selected, columns) { + if (tableId !== selected) { + document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')') + .forEach(function(elem) { + elem.style.display = 'none'; + }); + } + document.querySelectorAll('div.' + selected) + .forEach(function(elem, index) { + elem.style.display = ''; + var isEvenRow = index % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + }); + updateTabs(tableId, selected); +} + +function updateTabs(tableId, selected) { + document.getElementById(tableId + '.tabpanel') + .setAttribute('aria-labelledby', selected); + document.querySelectorAll('button[id^="' + tableId + '"]') + .forEach(function(tab, index) { + if (selected === tab.id || (tableId === selected && index === 0)) { + tab.className = activeTableTab; + tab.setAttribute('aria-selected', true); + tab.setAttribute('tabindex',0); + } else { + tab.className = tableTab; + tab.setAttribute('aria-selected', false); + tab.setAttribute('tabindex',-1); + } + }); +} + +function switchTab(e) { + var selected = document.querySelector('[aria-selected=true]'); + if (selected) { + if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) { + // left or up arrow key pressed: move focus to previous tab + selected.previousSibling.click(); + selected.previousSibling.focus(); + e.preventDefault(); + } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) { + // right or down arrow key pressed: move focus to next tab + selected.nextSibling.click(); + selected.nextSibling.focus(); + e.preventDefault(); + } + } +} + +var updateSearchResults = function() {}; + +function indexFilesLoaded() { + return moduleSearchIndex + && packageSearchIndex + && typeSearchIndex + && memberSearchIndex + && tagSearchIndex; +} +// Copy the contents of the local snippet to the clipboard +function copySnippet(button) { + copyToClipboard(button.nextElementSibling.innerText); + switchCopyLabel(button, button.firstElementChild); +} +function copyToClipboard(content) { + var textarea = document.createElement("textarea"); + textarea.style.height = 0; + document.body.appendChild(textarea); + textarea.value = content; + textarea.select(); + document.execCommand("copy"); + document.body.removeChild(textarea); +} +function switchCopyLabel(button, span) { + var copied = span.getAttribute("data-copied"); + button.classList.add("visible"); + var initialLabel = span.innerHTML; + span.innerHTML = copied; + setTimeout(function() { + button.classList.remove("visible"); + setTimeout(function() { + if (initialLabel !== copied) { + span.innerHTML = initialLabel; + } + }, 100); + }, 1900); +} +// Workaround for scroll position not being included in browser history (8249133) +document.addEventListener("DOMContentLoaded", function(e) { + var contentDiv = document.querySelector("div.flex-content"); + window.addEventListener("popstate", function(e) { + if (e.state !== null) { + contentDiv.scrollTop = e.state; + } + }); + window.addEventListener("hashchange", function(e) { + history.replaceState(contentDiv.scrollTop, document.title); + }); + var timeoutId; + contentDiv.addEventListener("scroll", function(e) { + if (timeoutId) { + clearTimeout(timeoutId); + } + timeoutId = setTimeout(function() { + history.replaceState(contentDiv.scrollTop, document.title); + }, 100); + }); + if (!location.hash) { + history.replaceState(contentDiv.scrollTop, document.title); + } +}); diff --git a/docs/latest/search-page.js b/docs/latest/search-page.js new file mode 100644 index 0000000..540c90f --- /dev/null +++ b/docs/latest/search-page.js @@ -0,0 +1,284 @@ +/* + * Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +"use strict"; +$(function() { + var copy = $("#page-search-copy"); + var expand = $("#page-search-expand"); + var searchLink = $("span#page-search-link"); + var redirect = $("input#search-redirect"); + function setSearchUrlTemplate() { + var href = document.location.href.split(/[#?]/)[0]; + href += "?q=" + "%s"; + if (redirect.is(":checked")) { + href += "&r=1"; + } + searchLink.html(href); + copy[0].onmouseenter(); + } + function copyLink(e) { + copyToClipboard(this.previousSibling.innerText); + switchCopyLabel(this, this.lastElementChild); + } + copy.click(copyLink); + copy[0].onmouseenter = function() {}; + redirect.click(setSearchUrlTemplate); + setSearchUrlTemplate(); + copy.prop("disabled", false); + redirect.prop("disabled", false); + expand.click(function (e) { + var searchInfo = $("div.page-search-info"); + if(this.parentElement.hasAttribute("open")) { + searchInfo.attr("style", "border-width: 0;"); + } else { + searchInfo.attr("style", "border-width: 1px;").height(searchInfo.prop("scrollHeight")); + } + }); +}); +$(window).on("load", function() { + var input = $("#page-search-input"); + var reset = $("#page-search-reset"); + var notify = $("#page-search-notify"); + var resultSection = $("div#result-section"); + var resultContainer = $("div#result-container"); + var searchTerm = ""; + var activeTab = ""; + var fixedTab = false; + var visibleTabs = []; + var feelingLucky = false; + function renderResults(result) { + if (!result.length) { + notify.html(messages.noResult); + } else if (result.length === 1) { + notify.html(messages.oneResult); + } else { + notify.html(messages.manyResults.replace("{0}", result.length)); + } + resultContainer.empty(); + var r = { + "types": [], + "members": [], + "packages": [], + "modules": [], + "searchTags": [] + }; + for (var i in result) { + var item = result[i]; + var arr = r[item.category]; + arr.push(item); + } + if (!activeTab || r[activeTab].length === 0 || !fixedTab) { + Object.keys(r).reduce(function(prev, curr) { + if (r[curr].length > 0 && r[curr][0].score > prev) { + activeTab = curr; + return r[curr][0].score; + } + return prev; + }, 0); + } + if (feelingLucky && activeTab) { + notify.html(messages.redirecting) + var firstItem = r[activeTab][0]; + window.location = getURL(firstItem.indexItem, firstItem.category); + return; + } + if (result.length > 20) { + if (searchTerm[searchTerm.length - 1] === ".") { + if (activeTab === "types" && r["members"].length > r["types"].length) { + activeTab = "members"; + } else if (activeTab === "packages" && r["types"].length > r["packages"].length) { + activeTab = "types"; + } + } + } + var categoryCount = Object.keys(r).reduce(function(prev, curr) { + return prev + (r[curr].length > 0 ? 1 : 0); + }, 0); + visibleTabs = []; + var tabContainer = $("
      ").appendTo(resultContainer); + for (var key in r) { + var id = "#result-tab-" + key.replace("searchTags", "search_tags"); + if (r[key].length) { + var count = r[key].length >= 1000 ? "999+" : r[key].length; + if (result.length > 20 && categoryCount > 1) { + var button = $("").appendTo(tabContainer); + button.click(key, function(e) { + fixedTab = true; + renderResult(e.data, $(this)); + }); + visibleTabs.push(key); + } else { + $("" + categories[key] + + " (" + count + ")").appendTo(tabContainer); + renderTable(key, r[key]).appendTo(resultContainer); + tabContainer = $("
      ").appendTo(resultContainer); + + } + } + } + if (activeTab && result.length > 20 && categoryCount > 1) { + $("button#result-tab-" + activeTab).addClass("active-table-tab"); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + } + resultSection.show(); + function renderResult(category, button) { + activeTab = category; + setSearchUrl(); + resultContainer.find("div.summary-table").remove(); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + button.siblings().removeClass("active-table-tab"); + button.addClass("active-table-tab"); + } + } + function selectTab(category) { + $("button#result-tab-" + category).click(); + } + function renderTable(category, items) { + var table = $("
      ") + .addClass(category === "modules" + ? "one-column-search-results" + : "two-column-search-results"); + var col1, col2; + if (category === "modules") { + col1 = "Module"; + } else if (category === "packages") { + col1 = "Module"; + col2 = "Package"; + } else if (category === "types") { + col1 = "Package"; + col2 = "Class" + } else if (category === "members") { + col1 = "Class"; + col2 = "Member"; + } else if (category === "searchTags") { + col1 = "Location"; + col2 = "Name"; + } + $("
      " + col1 + "
      ").appendTo(table); + if (category !== "modules") { + $("
      " + col2 + "
      ").appendTo(table); + } + $.each(items, function(index, item) { + var rowColor = index % 2 ? "odd-row-color" : "even-row-color"; + renderItem(item, table, rowColor); + }); + return table; + } + function renderItem(item, table, rowColor) { + var label = getHighlightedText(item.input, item.boundaries, item.prefix.length, item.input.length); + var link = $("") + .attr("href", getURL(item.indexItem, item.category)) + .attr("tabindex", "0") + .addClass("search-result-link") + .html(label); + var container = getHighlightedText(item.input, item.boundaries, 0, item.prefix.length - 1); + if (item.category === "searchTags") { + container = item.indexItem.h || ""; + } + if (item.category !== "modules") { + $("
      ").html(container).addClass("col-plain").addClass(rowColor).appendTo(table); + } + $("
      ").html(link).addClass("col-last").addClass(rowColor).appendTo(table); + } + var timeout; + function schedulePageSearch() { + if (timeout) { + clearTimeout(timeout); + } + timeout = setTimeout(function () { + doPageSearch() + }, 100); + } + function doPageSearch() { + setSearchUrl(); + var term = searchTerm = input.val().trim(); + if (term === "") { + notify.html(messages.enterTerm); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + resultSection.hide(); + } else { + notify.html(messages.searching); + doSearch({ term: term, maxResults: 1200 }, renderResults); + } + } + function setSearchUrl() { + var query = input.val().trim(); + var url = document.location.pathname; + if (query) { + url += "?q=" + encodeURI(query); + if (activeTab && fixedTab) { + url += "&c=" + activeTab; + } + } + history.replaceState({query: query}, "", url); + } + input.on("input", function(e) { + feelingLucky = false; + schedulePageSearch(); + }); + $(document).keydown(function(e) { + if ((e.ctrlKey || e.metaKey) && (e.key === "ArrowLeft" || e.key === "ArrowRight")) { + if (activeTab && visibleTabs.length > 1) { + var idx = visibleTabs.indexOf(activeTab); + idx += e.key === "ArrowLeft" ? visibleTabs.length - 1 : 1; + selectTab(visibleTabs[idx % visibleTabs.length]); + return false; + } + } + }); + reset.click(function() { + notify.html(messages.enterTerm); + resultSection.hide(); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + input.val('').focus(); + setSearchUrl(); + }); + input.prop("disabled", false); + reset.prop("disabled", false); + + var urlParams = new URLSearchParams(window.location.search); + if (urlParams.has("q")) { + input.val(urlParams.get("q")) + } + if (urlParams.has("c")) { + activeTab = urlParams.get("c"); + fixedTab = true; + } + if (urlParams.get("r")) { + feelingLucky = true; + } + if (input.val()) { + doPageSearch(); + } else { + notify.html(messages.enterTerm); + } + input.select().focus(); +}); diff --git a/docs/latest/search.html b/docs/latest/search.html new file mode 100644 index 0000000..6555fe3 --- /dev/null +++ b/docs/latest/search.html @@ -0,0 +1,71 @@ + + + + +Search (api 1.0.0 API) + + + + + + + + + + + + + +
      + +
      +
      +

      Search

      +
      + + +
      +Additional resources +
      +
      +
      +

      The help page provides an introduction to the scope and syntax of JavaDoc search.

      +

      You can use the <ctrl> or <cmd> keys in combination with the left and right arrow keys to switch between result tabs in this page.

      +

      The URL template below may be used to configure this page as a search engine in browsers that support this feature. It has been tested to work in Google Chrome and Mozilla Firefox. Note that other browsers may not support this feature or require a different URL format.

      +link +

      + +

      +
      +

      Loading search index...

      + +
      +
      +
      + + diff --git a/docs/latest/search.js b/docs/latest/search.js new file mode 100644 index 0000000..d398670 --- /dev/null +++ b/docs/latest/search.js @@ -0,0 +1,458 @@ +/* + * Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ +"use strict"; +const messages = { + enterTerm: "Enter a search term", + noResult: "No results found", + oneResult: "Found one result", + manyResults: "Found {0} results", + loading: "Loading search index...", + searching: "Searching...", + redirecting: "Redirecting to first result...", + linkIcon: "Link icon", + linkToSection: "Link to this section" +} +const categories = { + modules: "Modules", + packages: "Packages", + types: "Classes and Interfaces", + members: "Members", + searchTags: "Search Tags" +}; +const highlight = "$&"; +const NO_MATCH = {}; +const MAX_RESULTS = 300; +function checkUnnamed(name, separator) { + return name === "" || !name ? "" : name + separator; +} +function escapeHtml(str) { + return str.replace(//g, ">"); +} +function getHighlightedText(str, boundaries, from, to) { + var start = from; + var text = ""; + for (var i = 0; i < boundaries.length; i += 2) { + var b0 = boundaries[i]; + var b1 = boundaries[i + 1]; + if (b0 >= to || b1 <= from) { + continue; + } + text += escapeHtml(str.slice(start, Math.max(start, b0))); + text += ""; + text += escapeHtml(str.slice(Math.max(start, b0), Math.min(to, b1))); + text += ""; + start = Math.min(to, b1); + } + text += escapeHtml(str.slice(start, to)); + return text; +} +function getURLPrefix(item, category) { + var urlPrefix = ""; + var slash = "/"; + if (category === "modules") { + return item.l + slash; + } else if (category === "packages" && item.m) { + return item.m + slash; + } else if (category === "types" || category === "members") { + if (item.m) { + urlPrefix = item.m + slash; + } else { + $.each(packageSearchIndex, function(index, it) { + if (it.m && item.p === it.l) { + urlPrefix = it.m + slash; + } + }); + } + } + return urlPrefix; +} +function getURL(item, category) { + if (item.url) { + return item.url; + } + var url = getURLPrefix(item, category); + if (category === "modules") { + url += "module-summary.html"; + } else if (category === "packages") { + if (item.u) { + url = item.u; + } else { + url += item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (category === "types") { + if (item.u) { + url = item.u; + } else { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.l + ".html"; + } + } else if (category === "members") { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.c + ".html" + "#"; + if (item.u) { + url += item.u; + } else { + url += item.l; + } + } else if (category === "searchTags") { + url += item.u; + } + item.url = url; + return url; +} +function createMatcher(term, camelCase) { + if (camelCase && !isUpperCase(term)) { + return null; // no need for camel-case matcher for lower case query + } + var pattern = ""; + var upperCase = []; + term.trim().split(/\s+/).forEach(function(w, index, array) { + var tokens = w.split(/(?=[A-Z,.()<>?[\/])/); + for (var i = 0; i < tokens.length; i++) { + var s = tokens[i]; + // ',' and '?' are the only delimiters commonly followed by space in java signatures + pattern += "(" + $.ui.autocomplete.escapeRegex(s).replace(/[,?]/g, "$&\\s*?") + ")"; + upperCase.push(false); + var isWordToken = /\w$/.test(s); + if (isWordToken) { + if (i === tokens.length - 1 && index < array.length - 1) { + // space in query string matches all delimiters + pattern += "(.*?)"; + upperCase.push(isUpperCase(s[0])); + } else { + if (!camelCase && isUpperCase(s) && s.length === 1) { + pattern += "()"; + } else { + pattern += "([a-z0-9$<>?[\\]]*?)"; + } + upperCase.push(isUpperCase(s[0])); + } + } else { + pattern += "()"; + upperCase.push(false); + } + } + }); + var re = new RegExp(pattern, "gi"); + re.upperCase = upperCase; + return re; +} +function findMatch(matcher, input, startOfName, endOfName) { + var from = startOfName; + matcher.lastIndex = from; + var match = matcher.exec(input); + // Expand search area until we get a valid result or reach the beginning of the string + while (!match || match.index + match[0].length < startOfName || endOfName < match.index) { + if (from === 0) { + return NO_MATCH; + } + from = input.lastIndexOf(".", from - 2) + 1; + matcher.lastIndex = from; + match = matcher.exec(input); + } + var boundaries = []; + var matchEnd = match.index + match[0].length; + var score = 5; + var start = match.index; + var prevEnd = -1; + for (var i = 1; i < match.length; i += 2) { + var isUpper = isUpperCase(input[start]); + var isMatcherUpper = matcher.upperCase[i]; + // capturing groups come in pairs, match and non-match + boundaries.push(start, start + match[i].length); + // make sure groups are anchored on a left word boundary + var prevChar = input[start - 1] || ""; + var nextChar = input[start + 1] || ""; + if (start !== 0 && !/[\W_]/.test(prevChar) && !/[\W_]/.test(input[start])) { + if (isUpper && (isLowerCase(prevChar) || isLowerCase(nextChar))) { + score -= 0.1; + } else if (isMatcherUpper && start === prevEnd) { + score -= isUpper ? 0.1 : 1.0; + } else { + return NO_MATCH; + } + } + prevEnd = start + match[i].length; + start += match[i].length + match[i + 1].length; + + // lower score for parts of the name that are missing + if (match[i + 1] && prevEnd < endOfName) { + score -= rateNoise(match[i + 1]); + } + } + // lower score if a type name contains unmatched camel-case parts + if (input[matchEnd - 1] !== "." && endOfName > matchEnd) + score -= rateNoise(input.slice(matchEnd, endOfName)); + score -= rateNoise(input.slice(0, Math.max(startOfName, match.index))); + + if (score <= 0) { + return NO_MATCH; + } + return { + input: input, + score: score, + boundaries: boundaries + }; +} +function isUpperCase(s) { + return s !== s.toLowerCase(); +} +function isLowerCase(s) { + return s !== s.toUpperCase(); +} +function rateNoise(str) { + return (str.match(/([.(])/g) || []).length / 5 + + (str.match(/([A-Z]+)/g) || []).length / 10 + + str.length / 20; +} +function doSearch(request, response) { + var term = request.term.trim(); + var maxResults = request.maxResults || MAX_RESULTS; + if (term.length === 0) { + return this.close(); + } + var matcher = { + plainMatcher: createMatcher(term, false), + camelCaseMatcher: createMatcher(term, true) + } + var indexLoaded = indexFilesLoaded(); + + function getPrefix(item, category) { + switch (category) { + case "packages": + return checkUnnamed(item.m, "/"); + case "types": + return checkUnnamed(item.p, "."); + case "members": + return checkUnnamed(item.p, ".") + item.c + "."; + default: + return ""; + } + } + function useQualifiedName(category) { + switch (category) { + case "packages": + return /[\s/]/.test(term); + case "types": + case "members": + return /[\s.]/.test(term); + default: + return false; + } + } + function searchIndex(indexArray, category) { + var matches = []; + if (!indexArray) { + if (!indexLoaded) { + matches.push({ l: messages.loading, category: category }); + } + return matches; + } + $.each(indexArray, function (i, item) { + var prefix = getPrefix(item, category); + var simpleName = item.l; + var qualifiedName = prefix + simpleName; + var useQualified = useQualifiedName(category); + var input = useQualified ? qualifiedName : simpleName; + var startOfName = useQualified ? prefix.length : 0; + var endOfName = category === "members" && input.indexOf("(", startOfName) > -1 + ? input.indexOf("(", startOfName) : input.length; + var m = findMatch(matcher.plainMatcher, input, startOfName, endOfName); + if (m === NO_MATCH && matcher.camelCaseMatcher) { + m = findMatch(matcher.camelCaseMatcher, input, startOfName, endOfName); + } + if (m !== NO_MATCH) { + m.indexItem = item; + m.prefix = prefix; + m.category = category; + if (!useQualified) { + m.input = qualifiedName; + m.boundaries = m.boundaries.map(function(b) { + return b + prefix.length; + }); + } + matches.push(m); + } + return true; + }); + return matches.sort(function(e1, e2) { + return e2.score - e1.score; + }).slice(0, maxResults); + } + + var result = searchIndex(moduleSearchIndex, "modules") + .concat(searchIndex(packageSearchIndex, "packages")) + .concat(searchIndex(typeSearchIndex, "types")) + .concat(searchIndex(memberSearchIndex, "members")) + .concat(searchIndex(tagSearchIndex, "searchTags")); + + if (!indexLoaded) { + updateSearchResults = function() { + doSearch(request, response); + } + } else { + updateSearchResults = function() {}; + } + response(result); +} +// JQuery search menu implementation +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> .result-item"); + // workaround for search result scrolling + this.menu._scrollIntoView = function _scrollIntoView( item ) { + var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight; + if ( this._hasScroll() ) { + borderTop = parseFloat( $.css( this.activeMenu[ 0 ], "borderTopWidth" ) ) || 0; + paddingTop = parseFloat( $.css( this.activeMenu[ 0 ], "paddingTop" ) ) || 0; + offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop; + scroll = this.activeMenu.scrollTop(); + elementHeight = this.activeMenu.height() - 26; + itemHeight = item.outerHeight(); + + if ( offset < 0 ) { + this.activeMenu.scrollTop( scroll + offset ); + } else if ( offset + itemHeight > elementHeight ) { + this.activeMenu.scrollTop( scroll + offset - elementHeight + itemHeight ); + } + } + }; + }, + _renderMenu: function(ul, items) { + var currentCategory = ""; + var widget = this; + widget.menu.bindings = $(); + $.each(items, function(index, item) { + if (item.category && item.category !== currentCategory) { + ul.append("
    • " + categories[item.category] + "
    • "); + currentCategory = item.category; + } + var li = widget._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", categories[item.category] + " : " + item.l); + } else { + li.attr("aria-label", item.l); + } + li.attr("class", "result-item"); + }); + ul.append(""); + }, + _renderItem: function(ul, item) { + var li = $("
    • ").appendTo(ul); + var div = $("
      ").appendTo(li); + var label = item.l + ? item.l + : getHighlightedText(item.input, item.boundaries, 0, item.input.length); + var idx = item.indexItem; + if (item.category === "searchTags" && idx && idx.h) { + if (idx.d) { + div.html(label + " (" + idx.h + ")
      " + + idx.d + "
      "); + } else { + div.html(label + " (" + idx.h + ")"); + } + } else { + div.html(label); + } + return li; + } +}); +$(function() { + var expanded = false; + var windowWidth; + function collapse() { + if (expanded) { + $("div#navbar-top").removeAttr("style"); + $("button#navbar-toggle-button") + .removeClass("expanded") + .attr("aria-expanded", "false"); + expanded = false; + } + } + $("button#navbar-toggle-button").click(function (e) { + if (expanded) { + collapse(); + } else { + var navbar = $("div#navbar-top"); + navbar.height(navbar.prop("scrollHeight")); + $("button#navbar-toggle-button") + .addClass("expanded") + .attr("aria-expanded", "true"); + expanded = true; + windowWidth = window.innerWidth; + } + }); + $("ul.sub-nav-list-small li a").click(collapse); + $("input#search-input").focus(collapse); + $("main").click(collapse); + $("section[id] > :header, :header[id], :header:has(a[id])").each(function(idx, el) { + // Create anchor links for headers with an associated id attribute + var hdr = $(el); + var id = hdr.attr("id") || hdr.parent("section").attr("id") || hdr.children("a").attr("id"); + if (id) { + hdr.append(" " + messages.linkIcon +""); + } + }); + $(window).on("orientationchange", collapse).on("resize", function(e) { + if (expanded && windowWidth !== window.innerWidth) collapse(); + }); + var search = $("#search-input"); + var reset = $("#reset-button"); + search.catcomplete({ + minLength: 1, + delay: 200, + source: doSearch, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push({ l: messages.noResult }); + } else { + $("#search-input").empty(); + } + }, + autoFocus: true, + focus: function(event, ui) { + return false; + }, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.indexItem) { + var url = getURL(ui.item.indexItem, ui.item.category); + window.location.href = pathtoroot + url; + $("#search-input").focus(); + } + } + }); + search.val(''); + search.prop("disabled", false); + reset.prop("disabled", false); + reset.click(function() { + search.val('').focus(); + }); + search.focus(); +}); diff --git a/docs/latest/stylesheet.css b/docs/latest/stylesheet.css new file mode 100644 index 0000000..f71489f --- /dev/null +++ b/docs/latest/stylesheet.css @@ -0,0 +1,1272 @@ +/* + * Javadoc style sheet + */ + +@import url('resources/fonts/dejavu.css'); + +/* + * These CSS custom properties (variables) define the core color and font + * properties used in this stylesheet. + */ +:root { + /* body, block and code fonts */ + --body-font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + --block-font-family: 'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + --code-font-family: 'DejaVu Sans Mono', monospace; + /* Base font sizes for body and code elements */ + --body-font-size: 14px; + --code-font-size: 14px; + /* Text colors for body and block elements */ + --body-text-color: #353833; + --block-text-color: #474747; + /* Background colors for various structural elements */ + --body-background-color: #ffffff; + --section-background-color: #f8f8f8; + --detail-background-color: #ffffff; + /* Colors for navigation bar and table captions */ + --navbar-background-color: #4D7A97; + --navbar-text-color: #ffffff; + /* Background color for subnavigation and various headers */ + --subnav-background-color: #dee3e9; + /* Background and text colors for selected tabs and navigation items */ + --selected-background-color: #f8981d; + --selected-text-color: #253441; + --selected-link-color: #1f389c; + /* Background colors for generated tables */ + --even-row-color: #ffffff; + --odd-row-color: #eeeeef; + /* Text color for page title */ + --title-color: #2c4557; + /* Text colors for links */ + --link-color: #4A6782; + --link-color-active: #bb7a2a; + /* Snippet colors */ + --snippet-background-color: #ebecee; + --snippet-text-color: var(--block-text-color); + --snippet-highlight-color: #f7c590; + /* Border colors for structural elements and user defined tables */ + --border-color: #ededed; + --table-border-color: #000000; + /* Search input colors */ + --search-input-background-color: #ffffff; + --search-input-text-color: #000000; + --search-input-placeholder-color: #909090; + /* Highlight color for active search tag target */ + --search-tag-highlight-color: #ffff00; + /* Adjustments for icon and active background colors of copy-to-clipboard buttons */ + --copy-icon-brightness: 100%; + --copy-button-background-color-active: rgba(168, 168, 176, 0.3); + /* Colors for invalid tag notifications */ + --invalid-tag-background-color: #ffe6e6; + --invalid-tag-text-color: #000000; +} +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ +body { + background-color:var(--body-background-color); + color:var(--body-text-color); + font-family:var(--body-font-family); + font-size:var(--body-font-size); + margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; +} +a:link, a:visited { + text-decoration:none; + color:var(--link-color); +} +a[href]:hover, a[href]:focus { + text-decoration:none; + color:var(--link-color-active); +} +pre { + font-family:var(--code-font-family); + font-size:1em; +} +h1 { + font-size:1.428em; +} +h2 { + font-size:1.285em; +} +h3 { + font-size:1.14em; +} +h4 { + font-size:1.072em; +} +h5 { + font-size:1.001em; +} +h6 { + font-size:0.93em; +} +/* Disable font boosting for selected elements */ +h1, h2, h3, h4, h5, h6, div.member-signature { + max-height: 1000em; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:var(--code-font-family); +} +:not(h1, h2, h3, h4, h5, h6) > code, +:not(h1, h2, h3, h4, h5, h6) > tt { + font-size:var(--code-font-size); + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:var(--code-font-family); + font-size:1em; + padding-top:4px; +} +.summary-table dt code { + font-family:var(--code-font-family); + font-size:1em; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +button { + font-family: var(--body-font-family); + font-size: 1em; +} +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + +/* + * Styles for document title and copyright. + */ +.about-language { + float:right; + padding:0 21px 8px 8px; + font-size:0.915em; + margin-top:-9px; + height:2.9em; +} +.legal-copy { + margin-left:.5em; +} +/* + * Styles for navigation bar. + */ +@media screen { + div.flex-box { + position:fixed; + display:flex; + flex-direction:column; + height: 100%; + width: 100%; + } + header.flex-header { + flex: 0 0 auto; + } + div.flex-content { + flex: 1 1 auto; + overflow-y: auto; + } +} +.top-nav { + background-color:var(--navbar-background-color); + color:var(--navbar-text-color); + float:left; + width:100%; + clear:right; + min-height:2.8em; + padding:10px 0 0 0; + overflow:hidden; + font-size:0.857em; +} +button#navbar-toggle-button { + display:none; +} +ul.sub-nav-list-small { + display: none; +} +.sub-nav { + background-color:var(--subnav-background-color); + float:left; + width:100%; + overflow:hidden; + font-size:0.857em; +} +.sub-nav div { + clear:left; + float:left; + padding:6px; + text-transform:uppercase; +} +.sub-nav .sub-nav-list { + padding-top:4px; +} +ul.nav-list { + display:block; + margin:0 25px 0 0; + padding:0; +} +ul.sub-nav-list { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.nav-list li { + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +.sub-nav .nav-list-search { + float:right; + margin:0; + padding:6px; + clear:none; + text-align:right; + position:relative; +} +ul.sub-nav-list li { + list-style:none; + float:left; +} +.top-nav a:link, .top-nav a:active, .top-nav a:visited { + color:var(--navbar-text-color); + text-decoration:none; + text-transform:uppercase; +} +.top-nav a:hover { + color:var(--link-color-active); +} +.nav-bar-cell1-rev { + background-color:var(--selected-background-color); + color:var(--selected-text-color); + margin: auto 5px; +} +.skip-nav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* + * Hide navigation links and search box in print layout + */ +@media print { + ul.nav-list, div.sub-nav { + display:none; + } +} +/* + * Styles for page header. + */ +.title { + color:var(--title-color); + margin:10px 0; +} +.sub-title { + margin:5px 0 0 0; +} +ul.contents-list { + margin: 0 0 15px 0; + padding: 0; + list-style: none; +} +ul.contents-list li { + font-size:0.93em; +} +/* + * Styles for headings. + */ +body.class-declaration-page .summary h2, +body.class-declaration-page .details h2, +body.class-use-page h2, +body.module-declaration-page .block-list h2 { + font-style: italic; + padding:0; + margin:15px 0; +} +body.class-declaration-page .summary h3, +body.class-declaration-page .details h3, +body.class-declaration-page .summary .inherited-list h2 { + background-color:var(--subnav-background-color); + border:1px solid var(--border-color); + margin:0 0 6px -8px; + padding:7px 5px; +} +/* + * Styles for page layout containers. + */ +main { + clear:both; + padding:10px 20px; + position:relative; +} +dl.notes > dt { + font-family: var(--body-font-family); + font-size:0.856em; + font-weight:bold; + margin:10px 0 0 0; + color:var(--body-text-color); +} +dl.notes > dd { + margin:5px 10px 10px 0; + font-size:1em; + font-family:var(--block-font-family) +} +dl.name-value > dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +dl.name-value > dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* + * Styles for lists. + */ +li.circle { + list-style:circle; +} +ul.horizontal li { + display:inline; + font-size:0.9em; +} +div.inheritance { + margin:0; + padding:0; +} +div.inheritance div.inheritance { + margin-left:2em; +} +ul.block-list, +ul.details-list, +ul.member-list, +ul.summary-list { + margin:10px 0 10px 0; + padding:0; +} +ul.block-list > li, +ul.details-list > li, +ul.member-list > li, +ul.summary-list > li { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.ref-list { + padding:0; + margin:0; +} +ul.ref-list > li { + list-style:none; +} +.summary-table dl, .summary-table dl dt, .summary-table dl dd { + margin-top:0; + margin-bottom:1px; +} +ul.tag-list, ul.tag-list-long { + padding-left: 0; + list-style: none; +} +ul.tag-list li { + display: inline; +} +ul.tag-list li:not(:last-child):after, +ul.tag-list-long li:not(:last-child):after +{ + content: ", "; + white-space: pre-wrap; +} +ul.preview-feature-list { + list-style: none; + margin:0; + padding:0.1em; + line-height: 1.6em; +} +/* + * Styles for tables. + */ +.summary-table, .details-table { + width:100%; + border-spacing:0; + border:1px solid var(--border-color); + border-top:0; + padding:0; +} +.caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:var(--selected-text-color); + clear:none; + overflow:hidden; + padding: 10px 0 0 1px; + margin:0; +} +.caption a:link, .caption a:visited { + color:var(--selected-link-color); +} +.caption a:hover, +.caption a:active { + color:var(--navbar-text-color); +} +.caption span { + font-weight:bold; + white-space:nowrap; + padding:5px 12px 7px 12px; + display:inline-block; + float:left; + background-color:var(--selected-background-color); + border: none; + height:16px; +} +div.table-tabs { + padding:10px 0 0 1px; + margin:10px 0 0 0; +} +div.table-tabs > button { + border: none; + cursor: pointer; + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 8px; +} +div.table-tabs > .active-table-tab { + background: var(--selected-background-color); + color: var(--selected-text-color); +} +div.table-tabs > button.table-tab { + background: var(--navbar-background-color); + color: var(--navbar-text-color); +} +.two-column-search-results { + display: grid; + grid-template-columns: minmax(400px, max-content) minmax(400px, auto); +} +div.checkboxes { + line-height: 2em; +} +div.checkboxes > span { + margin-left: 10px; +} +div.checkboxes > label { + margin-left: 8px; + white-space: nowrap; +} +div.checkboxes > label > input { + margin: 0 2px; +} +.two-column-summary { + display: grid; + grid-template-columns: minmax(25%, max-content) minmax(25%, auto); +} +.three-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(20%, max-content) minmax(20%, auto); +} +.three-column-release-summary { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(10%, max-content) minmax(40%, auto); +} +.four-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, max-content) minmax(15%, auto); +} +@media screen and (max-width: 1000px) { + .four-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(15%, auto); + } +} +@media screen and (max-width: 800px) { + .two-column-search-results { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(40%, auto); + } + .three-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(25%, auto); + } + .three-column-release-summary { + display: grid; + grid-template-columns: minmax(70%, max-content) minmax(30%, max-content) + } + .three-column-summary .col-last, + .three-column-release-summary .col-last{ + grid-column-end: span 2; + } +} +@media screen and (max-width: 600px) { + .two-column-summary { + display: grid; + grid-template-columns: 1fr; + } +} +.summary-table > div, .details-table > div { + text-align:left; + padding: 8px 3px 3px 7px; + overflow-x: auto; + scrollbar-width: thin; +} +.col-first, .col-second, .col-last, .col-constructor-name, .col-summary-item-name { + vertical-align:top; + padding-right:0; + padding-top:8px; + padding-bottom:3px; +} +.table-header { + background:var(--subnav-background-color); + font-weight: bold; +} +/* Sortable table columns */ +.table-header[onclick] { + cursor: pointer; +} +.table-header[onclick]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + '); + background-size:100% 100%; + width:9px; + height:14px; + margin-left:4px; + margin-bottom:-3px; +} +.table-header[onclick].sort-asc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + +} +.table-header[onclick].sort-desc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +.col-first, .col-first { + font-size:0.93em; +} +.col-second, .col-second, .col-last, .col-constructor-name, .col-summary-item-name, .col-last { + font-size:0.93em; +} +.col-first, .col-second, .col-constructor-name { + vertical-align:top; + overflow: auto; +} +.col-last { + white-space:normal; +} +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-constructor-name a:link, .col-constructor-name a:visited, +.col-summary-item-name a:link, .col-summary-item-name a:visited { + font-weight:bold; +} +.even-row-color, .even-row-color .table-header { + background-color:var(--even-row-color); +} +.odd-row-color, .odd-row-color .table-header { + background-color:var(--odd-row-color); +} +/* + * Styles for contents. + */ +div.block { + font-size:var(--body-font-size); + font-family:var(--block-font-family); +} +.col-last div { + padding-top:0; +} +.col-last a { + padding-bottom:3px; +} +.module-signature, +.package-signature, +.type-signature, +.member-signature { + font-family:var(--code-font-family); + font-size:1em; + margin:14px 0; + white-space: pre-wrap; +} +.module-signature, +.package-signature, +.type-signature { + margin-top: 0; +} +.member-signature .type-parameters-long, +.member-signature .parameters, +.member-signature .exceptions { + display: inline-block; + vertical-align: top; + white-space: pre; +} +.member-signature .type-parameters { + white-space: normal; +} +/* + * Styles for formatting effect. + */ +.source-line-no { + /* Color of line numbers in source pages can be set via custom property below */ + color:var(--source-linenumber-color, green); + padding:0 30px 0 0; +} +.block { + display:block; + margin:0 10px 5px 0; + color:var(--block-text-color); +} +.deprecated-label, .description-from-type-label, .implementation-label, .member-name-link, +.module-label-in-package, .module-label-in-type, .package-label-in-type, +.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label { + font-weight:bold; +} +.deprecation-comment, .help-footnote, .preview-comment { + font-style:italic; +} +.deprecation-block { + font-size:1em; + font-family:var(--block-font-family); + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +.preview-block { + font-size:1em; + font-family:var(--block-font-family); + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecation-comment { + font-style:normal; +} +details.invalid-tag, span.invalid-tag { + font-size:1em; + font-family:var(--block-font-family); + color: var(--invalid-tag-text-color); + background: var(--invalid-tag-background-color); + border: thin solid var(--table-border-color); + border-radius:2px; + padding: 2px 4px; + display:inline-block; +} +details summary { + cursor: pointer; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-state-active { + /* Overrides the color of selection used in jQuery UI */ + background: var(--selected-background-color); + border: 1px solid var(--selected-background-color); + color: var(--selected-text-color); +} +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:var(--navbar-background-color); + color:var(--navbar-text-color); +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:auto; + overflow-x:auto; + scrollbar-width: thin; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:1; + background-color: var(--body-background-color); +} +ul.ui-autocomplete li { + float:left; + clear:both; + min-width:100%; +} +ul.ui-autocomplete li.ui-static-link { + position:sticky; + bottom:0; + left:0; + background: var(--subnav-background-color); + padding: 5px 0; + font-family: var(--body-font-family); + font-size: 0.93em; + font-weight: bolder; + z-index: 2; +} +li.ui-static-link a, li.ui-static-link a:visited { + text-decoration:none; + color:var(--link-color); + float:right; + margin-right:20px; +} +.ui-autocomplete .result-item { + font-size: inherit; +} +.ui-autocomplete .result-highlight { + font-weight:bold; +} +#search-input, #page-search-input { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + background-color: var(--search-input-background-color); + color: var(--search-input-text-color); + border-color: var(--border-color); + padding-left:20px; + width: 250px; + margin: 0; +} +#search-input { + margin-left: 4px; +} +#reset-button { + background-color: transparent; + background-image:url('resources/x.png'); + background-repeat:no-repeat; + background-size:contain; + border:0; + border-radius:0; + width:12px; + height:12px; + position:absolute; + right:12px; + top:10px; + font-size:0; +} +::placeholder { + color:var(--search-input-placeholder-color); + opacity: 1; +} +.search-tag-desc-result { + font-style:italic; + font-size:11px; +} +.search-tag-holder-result { + font-style:italic; + font-size:12px; +} +.search-tag-result:target { + background-color:var(--search-tag-highlight-color); +} +details.page-search-details { + display: inline-block; +} +div#result-container { + font-size: 1em; +} +div#result-container a.search-result-link { + padding: 0; + margin: 4px 0; + width: 100%; +} +#result-container .result-highlight { + font-weight:bolder; +} +.page-search-info { + background-color: var(--subnav-background-color); + border-radius: 3px; + border: 0 solid var(--border-color); + padding: 0 8px; + overflow: hidden; + height: 0; + transition: all 0.2s ease; +} +div.table-tabs > button.table-tab { + background: var(--navbar-background-color); + color: var(--navbar-text-color); +} +.page-search-header { + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 3px; + background-color:var(--navbar-background-color); + color:var(--navbar-text-color); + display: inline-block; +} +button.page-search-header { + border: none; + cursor: pointer; +} +span#page-search-link { + text-decoration: underline; +} +.module-graph span, .sealed-graph span { + display:none; + position:absolute; +} +.module-graph:hover span, .sealed-graph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.inherited-list { + margin: 10px 0 10px 0; +} +section.class-description { + line-height: 1.4; +} +.summary section[class$="-summary"], .details section[class$="-details"], +.class-uses .detail, .serialized-class-details { + padding: 0 20px 5px 10px; + border: 1px solid var(--border-color); + background-color: var(--section-background-color); +} +.inherited-list, section[class$="-details"] .detail { + padding:0 0 5px 8px; + background-color:var(--detail-background-color); + border:none; +} +.vertical-separator { + padding: 0 5px; +} +ul.help-section-list { + margin: 0; +} +ul.help-subtoc > li { + display: inline-block; + padding-right: 5px; + font-size: smaller; +} +ul.help-subtoc > li::before { + content: "\2022" ; + padding-right:2px; +} +.help-note { + font-style: italic; +} +/* + * Indicator icon for external links. + */ +main a[href*="://"]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + background-size:100% 100%; + width:7px; + height:7px; + margin-left:2px; + margin-bottom:4px; +} +main a[href*="://"]:hover::after, +main a[href*="://"]:focus::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +/* + * Styles for header/section anchor links + */ +a.anchor-link { + opacity: 0; + transition: opacity 0.1s; +} +:hover > a.anchor-link { + opacity: 80%; +} +a.anchor-link:hover, +a.anchor-link:focus-visible, +a.anchor-link.visible { + opacity: 100%; +} +a.anchor-link > img { + width: 0.9em; + height: 0.9em; +} +/* + * Styles for copy-to-clipboard buttons + */ +button.copy { + opacity: 70%; + border: none; + border-radius: 3px; + position: relative; + background:none; + transition: opacity 0.3s; + cursor: pointer; +} +:hover > button.copy { + opacity: 80%; +} +button.copy:hover, +button.copy:active, +button.copy:focus-visible, +button.copy.visible { + opacity: 100%; +} +button.copy img { + position: relative; + background: none; + filter: brightness(var(--copy-icon-brightness)); +} +button.copy:active { + background-color: var(--copy-button-background-color-active); +} +button.copy span { + color: var(--body-text-color); + position: relative; + top: -0.1em; + transition: all 0.1s; + font-size: 0.76rem; + line-height: 1.2em; + opacity: 0; +} +button.copy:hover span, +button.copy:focus-visible span, +button.copy.visible span { + opacity: 100%; +} +/* search page copy button */ +button#page-search-copy { + margin-left: 0.4em; + padding:0.3em; + top:0.13em; +} +button#page-search-copy img { + width: 1.2em; + height: 1.2em; + padding: 0.01em 0; + top: 0.15em; +} +button#page-search-copy span { + color: var(--body-text-color); + line-height: 1.2em; + padding: 0.2em; + top: -0.18em; +} +div.page-search-info:hover button#page-search-copy span { + opacity: 100%; +} +/* snippet copy button */ +button.snippet-copy { + position: absolute; + top: 6px; + right: 6px; + height: 1.7em; + padding: 2px; +} +button.snippet-copy img { + width: 18px; + height: 18px; + padding: 0.05em 0; +} +button.snippet-copy span { + line-height: 1.2em; + padding: 0.2em; + position: relative; + top: -0.5em; +} +div.snippet-container:hover button.snippet-copy span { + opacity: 100%; +} +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid var(--table-border-color); +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid var(--table-border-color); +} +table.striped { + border-collapse: collapse; + border: 1px solid var(--table-border-color); +} +table.striped > thead { + background-color: var(--subnav-background-color); +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid var(--table-border-color); +} +table.striped > tbody > tr:nth-child(even) { + background-color: var(--odd-row-color) +} +table.striped > tbody > tr:nth-child(odd) { + background-color: var(--even-row-color) +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid var(--table-border-color); + border-right: 1px solid var(--table-border-color); +} +table.striped > tbody > tr > th { + font-weight: normal; +} +/** + * Tweak style for small screens. + */ +@media screen and (max-width: 920px) { + header.flex-header { + max-height: 100vh; + overflow-y: auto; + } + div#navbar-top { + height: 2.8em; + transition: height 0.35s ease; + } + ul.nav-list { + display: block; + width: 40%; + float:left; + clear: left; + margin: 10px 0 0 0; + padding: 0; + } + ul.nav-list li { + float: none; + padding: 6px; + margin-left: 10px; + margin-top: 2px; + } + ul.sub-nav-list-small { + display:block; + height: 100%; + width: 50%; + float: right; + clear: right; + background-color: var(--subnav-background-color); + color: var(--body-text-color); + margin: 6px 0 0 0; + padding: 0; + } + ul.sub-nav-list-small ul { + padding-left: 20px; + } + ul.sub-nav-list-small a:link, ul.sub-nav-list-small a:visited { + color:var(--link-color); + } + ul.sub-nav-list-small a:hover { + color:var(--link-color-active); + } + ul.sub-nav-list-small li { + list-style:none; + float:none; + padding: 6px; + margin-top: 1px; + text-transform:uppercase; + } + ul.sub-nav-list-small > li { + margin-left: 10px; + } + ul.sub-nav-list-small li p { + margin: 5px 0; + } + div#navbar-sub-list { + display: none; + } + .top-nav a:link, .top-nav a:active, .top-nav a:visited { + display: block; + } + button#navbar-toggle-button { + width: 3.4em; + height: 2.8em; + background-color: transparent; + display: block; + float: left; + border: 0; + margin: 0 10px; + cursor: pointer; + font-size: 10px; + } + button#navbar-toggle-button .nav-bar-toggle-icon { + display: block; + width: 24px; + height: 3px; + margin: 1px 0 4px 0; + border-radius: 2px; + transition: all 0.1s; + background-color: var(--navbar-text-color); + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(1) { + transform: rotate(45deg); + transform-origin: 10% 10%; + width: 26px; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(2) { + opacity: 0; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(3) { + transform: rotate(-45deg); + transform-origin: 10% 90%; + width: 26px; + } +} +@media screen and (max-width: 800px) { + .about-language { + padding-right: 16px; + } + ul.nav-list li { + margin-left: 5px; + } + ul.sub-nav-list-small > li { + margin-left: 5px; + } + main { + padding: 10px; + } + .summary section[class$="-summary"], .details section[class$="-details"], + .class-uses .detail, .serialized-class-details { + padding: 0 8px 5px 8px; + } + body { + -webkit-text-size-adjust: none; + } +} +@media screen and (max-width: 400px) { + .about-language { + font-size: 10px; + padding-right: 12px; + } +} +@media screen and (max-width: 400px) { + .nav-list-search { + width: 94%; + } + #search-input, #page-search-input { + width: 70%; + } +} +@media screen and (max-width: 320px) { + .nav-list-search > label { + display: none; + } + .nav-list-search { + width: 90%; + } + #search-input, #page-search-input { + width: 80%; + } +} + +pre.snippet { + background-color: var(--snippet-background-color); + color: var(--snippet-text-color); + padding: 10px; + margin: 12px 0; + overflow: auto; + white-space: pre; +} +div.snippet-container { + position: relative; +} +@media screen and (max-width: 800px) { + pre.snippet { + padding-top: 26px; + } + button.snippet-copy { + top: 4px; + right: 4px; + } +} +pre.snippet .italic { + font-style: italic; +} +pre.snippet .bold { + font-weight: bold; +} +pre.snippet .highlighted { + background-color: var(--snippet-highlight-color); + border-radius: 10%; +} diff --git a/docs/latest/tag-search-index.js b/docs/latest/tag-search-index.js new file mode 100644 index 0000000..0367dae --- /dev/null +++ b/docs/latest/tag-search-index.js @@ -0,0 +1 @@ +tagSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/docs/latest/type-search-index.js b/docs/latest/type-search-index.js new file mode 100644 index 0000000..5cc191e --- /dev/null +++ b/docs/latest/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"p":"com.patelheet.capitalengine.api","l":"Account"},{"p":"com.patelheet.capitalengine.api","l":"AccountKind"},{"p":"com.patelheet.capitalengine.api","l":"Accounts"},{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalAlertEvent"},{"p":"com.patelheet.capitalengine.api","l":"CapitalApi"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalAuditEvent"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalDayEvent"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalPolicyLimitEvent"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalTransactionEvent"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalWeekEvent"},{"p":"com.patelheet.capitalengine.api","l":"Currency"},{"p":"com.patelheet.capitalengine.api","l":"Failure"},{"p":"com.patelheet.capitalengine.api.service","l":"Indicator"},{"p":"com.patelheet.capitalengine.api.service","l":"IndicatorProvider"},{"p":"com.patelheet.capitalengine.api.event","l":"CapitalPolicyLimitEvent.LimitKind"},{"p":"com.patelheet.capitalengine.api.service","l":"MonetaryPolicy"},{"p":"com.patelheet.capitalengine.api","l":"PluginFlow"},{"p":"com.patelheet.capitalengine.api","l":"PolicyStatus"},{"p":"com.patelheet.capitalengine.api","l":"Posting"},{"p":"com.patelheet.capitalengine.api","l":"Severity"},{"p":"com.patelheet.capitalengine.api","l":"Stats"},{"p":"com.patelheet.capitalengine.api","l":"TransactionBuilder"},{"p":"com.patelheet.capitalengine.api","l":"TxRecord"},{"p":"com.patelheet.capitalengine.api","l":"TxResult"},{"p":"com.patelheet.capitalengine.api.service","l":"Unit"}];updateSearchResults(); \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar new file mode 100644 index 0000000..6dd167a Binary files /dev/null and b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar differ diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.md5 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.md5 new file mode 100644 index 0000000..3655d26 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.md5 @@ -0,0 +1 @@ +fbf3ea06663c15c454bd61d244cd871d \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.sha1 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.sha1 new file mode 100644 index 0000000..c63f91c --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.sha1 @@ -0,0 +1 @@ +609ddc577505edce1efc6b05538f0ec3b6ad6397 \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.sha256 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.sha256 new file mode 100644 index 0000000..90d74cd --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.sha256 @@ -0,0 +1 @@ +49c0c4c137e687a0eca9c6e5d2802388b00f6c1ef65c5b514a01ef86cfbd4a40 \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.sha512 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.sha512 new file mode 100644 index 0000000..d26a1e3 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0-javadoc.jar.sha512 @@ -0,0 +1 @@ +7ea728c433322c69cbe0c7731403034fa5ed3e74c3a1024831d88365b351b23e0072a6cfbd7ff3fcf79acd94bdc6c740af4a18ccf3ab8d0b653779c04b086039 \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar new file mode 100644 index 0000000..3acc9d8 Binary files /dev/null and b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar differ diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.md5 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.md5 new file mode 100644 index 0000000..9ae51a8 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.md5 @@ -0,0 +1 @@ +24a2ced4e75a147af6da5d26d4b1f88b \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.sha1 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.sha1 new file mode 100644 index 0000000..3ec6d9f --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.sha1 @@ -0,0 +1 @@ +bd296f21a4c53df713d331c99ba2a0babe90be0b \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.sha256 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.sha256 new file mode 100644 index 0000000..6e34b43 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.sha256 @@ -0,0 +1 @@ +583ddffd4e9ddc567e21fa9b5b35ed8e8a37c844c84f1d6ac0eb298dd6eb33b5 \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.sha512 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.sha512 new file mode 100644 index 0000000..ef0e44e --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.jar.sha512 @@ -0,0 +1 @@ +1487982ddcfa0b0c1b071c7e7e14a9d5b1d743b286139878b3557d168fa52718a9bd847d062a4f5d247bd758489d35e629f97ec59e32272ba3936b6ebf2baf91 \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module new file mode 100644 index 0000000..dd5f017 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module @@ -0,0 +1,80 @@ +{ + "formatVersion": "1.1", + "component": { + "group": "com.patelheet", + "module": "capitalengine-api", + "version": "1.0.0", + "attributes": { + "org.gradle.status": "release" + } + }, + "createdBy": { + "gradle": { + "version": "9.6.1" + } + }, + "variants": [ + { + "name": "apiElements", + "attributes": { + "org.gradle.category": "library", + "org.gradle.dependency.bundling": "external", + "org.gradle.jvm.version": 21, + "org.gradle.libraryelements": "jar", + "org.gradle.usage": "java-api" + }, + "files": [ + { + "name": "capitalengine-api-1.0.0.jar", + "url": "capitalengine-api-1.0.0.jar", + "size": 24483, + "sha512": "1487982ddcfa0b0c1b071c7e7e14a9d5b1d743b286139878b3557d168fa52718a9bd847d062a4f5d247bd758489d35e629f97ec59e32272ba3936b6ebf2baf91", + "sha256": "583ddffd4e9ddc567e21fa9b5b35ed8e8a37c844c84f1d6ac0eb298dd6eb33b5", + "sha1": "bd296f21a4c53df713d331c99ba2a0babe90be0b", + "md5": "24a2ced4e75a147af6da5d26d4b1f88b" + } + ] + }, + { + "name": "runtimeElements", + "attributes": { + "org.gradle.category": "library", + "org.gradle.dependency.bundling": "external", + "org.gradle.jvm.version": 21, + "org.gradle.libraryelements": "jar", + "org.gradle.usage": "java-runtime" + }, + "files": [ + { + "name": "capitalengine-api-1.0.0.jar", + "url": "capitalengine-api-1.0.0.jar", + "size": 24483, + "sha512": "1487982ddcfa0b0c1b071c7e7e14a9d5b1d743b286139878b3557d168fa52718a9bd847d062a4f5d247bd758489d35e629f97ec59e32272ba3936b6ebf2baf91", + "sha256": "583ddffd4e9ddc567e21fa9b5b35ed8e8a37c844c84f1d6ac0eb298dd6eb33b5", + "sha1": "bd296f21a4c53df713d331c99ba2a0babe90be0b", + "md5": "24a2ced4e75a147af6da5d26d4b1f88b" + } + ] + }, + { + "name": "javadocElements", + "attributes": { + "org.gradle.category": "documentation", + "org.gradle.dependency.bundling": "external", + "org.gradle.docstype": "javadoc", + "org.gradle.usage": "java-runtime" + }, + "files": [ + { + "name": "capitalengine-api-1.0.0-javadoc.jar", + "url": "capitalengine-api-1.0.0-javadoc.jar", + "size": 197951, + "sha512": "7ea728c433322c69cbe0c7731403034fa5ed3e74c3a1024831d88365b351b23e0072a6cfbd7ff3fcf79acd94bdc6c740af4a18ccf3ab8d0b653779c04b086039", + "sha256": "49c0c4c137e687a0eca9c6e5d2802388b00f6c1ef65c5b514a01ef86cfbd4a40", + "sha1": "609ddc577505edce1efc6b05538f0ec3b6ad6397", + "md5": "fbf3ea06663c15c454bd61d244cd871d" + } + ] + } + ] +} diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.md5 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.md5 new file mode 100644 index 0000000..40cf656 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.md5 @@ -0,0 +1 @@ +8454af8574c6190f6cfa106ecec32c9c \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.sha1 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.sha1 new file mode 100644 index 0000000..c294946 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.sha1 @@ -0,0 +1 @@ +07fc7e2814240cf9f1cd833c50020a7cd2ef8ab5 \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.sha256 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.sha256 new file mode 100644 index 0000000..e7dd8b8 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.sha256 @@ -0,0 +1 @@ +6463e94b540a6e069099b9a1eb811d7e204f486c975ee419c1c28daf99eccb28 \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.sha512 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.sha512 new file mode 100644 index 0000000..3cc24d7 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.module.sha512 @@ -0,0 +1 @@ +004d80f277b91c3612ca0a96c7ff5062ba9d10f468092077039e5bb9d7d9e7dda8896dd8a4cedd93b8172bcd5595eb4f2a43bfc7e5bb8ee4da1a94467a4a0e3d \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom new file mode 100644 index 0000000..ed2a594 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom @@ -0,0 +1,13 @@ + + + + + + + + 4.0.0 + com.patelheet + capitalengine-api + 1.0.0 + diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.md5 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.md5 new file mode 100644 index 0000000..154028e --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.md5 @@ -0,0 +1 @@ +49c2abe3635a3fc2890135fd2827ac24 \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.sha1 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.sha1 new file mode 100644 index 0000000..2342e6e --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.sha1 @@ -0,0 +1 @@ +e2d50c0e067f0c9d8ebb23e4a1bbb860b70dcfe5 \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.sha256 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.sha256 new file mode 100644 index 0000000..3f55148 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.sha256 @@ -0,0 +1 @@ +b24108e44ef781a14377572a1db51c23a673a53e683941a3f4378f7892648c58 \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.sha512 b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.sha512 new file mode 100644 index 0000000..325ddcd --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/1.0.0/capitalengine-api-1.0.0.pom.sha512 @@ -0,0 +1 @@ +b30d05382e59c7517ce0a8bbf39e057b910a4e5c0b5bd5748166fd06502e2dac38b6f4e4dd81245cda92f651621e4c804ad527a65c9a9f4ab00a2ebc2feee5cf \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/maven-metadata.xml b/m2/com/patelheet/capitalengine-api/maven-metadata.xml new file mode 100644 index 0000000..cff2b32 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/maven-metadata.xml @@ -0,0 +1,13 @@ + + + com.patelheet + capitalengine-api + + 1.0.0 + 1.0.0 + + 1.0.0 + + 20261012221227 + + diff --git a/m2/com/patelheet/capitalengine-api/maven-metadata.xml.md5 b/m2/com/patelheet/capitalengine-api/maven-metadata.xml.md5 new file mode 100644 index 0000000..1ef2a43 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/maven-metadata.xml.md5 @@ -0,0 +1 @@ +4c99baa774dba8122685b1abc5b351bf \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/maven-metadata.xml.sha1 b/m2/com/patelheet/capitalengine-api/maven-metadata.xml.sha1 new file mode 100644 index 0000000..57b095e --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +2630091865a4129892fc7aa302945720631a773b \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/maven-metadata.xml.sha256 b/m2/com/patelheet/capitalengine-api/maven-metadata.xml.sha256 new file mode 100644 index 0000000..d38e652 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/maven-metadata.xml.sha256 @@ -0,0 +1 @@ +551aa2f2e0bc2563ff8dae5a28583c362602216921446f2cbdff3d0f999f53b2 \ No newline at end of file diff --git a/m2/com/patelheet/capitalengine-api/maven-metadata.xml.sha512 b/m2/com/patelheet/capitalengine-api/maven-metadata.xml.sha512 new file mode 100644 index 0000000..eb736e5 --- /dev/null +++ b/m2/com/patelheet/capitalengine-api/maven-metadata.xml.sha512 @@ -0,0 +1 @@ +4a0cab0650ec673f22726d8791f8b2a63798f4f63909574f0583496d8a735e5120c4965f514eed778df5c66224cb84f31d29ef9ef40302769f8e434c6d99f506 \ No newline at end of file