public class OperationSet
extends java.lang.Object
Constructor and Description |
---|
OperationSet(GraphanaScriptSystemInterface scriptSystem) |
Modifier and Type | Method and Description |
---|---|
ExecutionError |
addOperation(Operation operation)
Registers an operation in the program so the user can call it.
|
ExecutionError |
addOperations(OperationGroup executerGroup)
Registers every operation of the given operation group.
|
java.lang.Iterable<java.lang.String> |
getAlgorithmKeys()
Returns an Iterator of all algorithm keys, excluding aliases.
|
DescriptionFiles |
getDescFiles()
Returns the DescriptionFiles reference which can be used to add entries and access descriptions.
|
Operation |
getOperation(java.lang.String key)
Returns the operation which has the given key and was registered before.
|
java.lang.Iterable<java.lang.String> |
getOperationKeys()
Returns an Iterator of all operation keys, excluding algorithm keys and aliases.
|
java.lang.Iterable<Operation> |
getOperations()
Returns an Iterator of all registered operations.
|
boolean |
hasOperation(java.lang.String operationKey) |
boolean |
operationExists(java.lang.String key)
Checks whether an operation with the given key exists.
|
public OperationSet(GraphanaScriptSystemInterface scriptSystem)
public DescriptionFiles getDescFiles()
public ExecutionError addOperation(Operation operation)
public ExecutionError addOperations(OperationGroup executerGroup)
public Operation getOperation(java.lang.String key)
public boolean operationExists(java.lang.String key)
public java.lang.Iterable<java.lang.String> getOperationKeys()
public java.lang.Iterable<java.lang.String> getAlgorithmKeys()
public java.lang.Iterable<Operation> getOperations()
public boolean hasOperation(java.lang.String operationKey)