Package nxt.addons
Class ContractRunner
java.lang.Object
nxt.addons.ContractRunner
- All Implemented Interfaces:
AddOn,ContractProvider
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the configuration metadata for any properties used by the add-on.getContract(String name) voidinit()voidreset()voidshutdown()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nxt.addons.AddOn
getAPIRequestHandler, getAPIRequestType, getUIPlugins
-
Constructor Details
-
ContractRunner
public ContractRunner()
-
-
Method Details
-
init
public void init() -
getConfigProperties
Description copied from interface:AddOnThis method returns the configuration metadata for any properties used by the add-on. It must be an idempotent method in the sense that no side effects should happen on invocation. It should work independently of initialization (init() method).- Specified by:
getConfigPropertiesin interfaceAddOn- Returns:
- the configuration metadata for this add-on
-
shutdown
public void shutdown() -
reset
public void reset() -
getAPIRequests
- Specified by:
getAPIRequestsin interfaceAddOn
-
getContract
- Specified by:
getContractin interfaceContractProvider
-