public interface SignatureInterface extends StringRepresentation
Modifier and Type | Method and Description |
---|---|
ExecutionError |
createSignature(java.lang.String signatureString,
ScriptSystemInterface<?,?> scriptSystem)
Parses the given string and extracts key, parameters etc.
|
java.lang.String[] |
getKeyArray()
Returns the main key and the aliases as an array.
|
java.lang.String |
getKeysAsString()
Returns the main key and the aliases separated by a |.
|
java.lang.String |
getMainKey()
Returns the main key of the signature.
|
ParameterTuple |
getParameterTuple()
Returns the parameter tuple, including parameter keys, types and default values.
|
java.lang.String |
getReturnValueAsString()
Returns the string representation of the return type, whereas no return type yields "void".
|
getStringRepresentation
ExecutionError createSignature(java.lang.String signatureString, ScriptSystemInterface<?,?> scriptSystem)
signatureString
- the string to parse.scriptSystem
- the script system to calculate default values.ParameterTuple getParameterTuple()
java.lang.String getMainKey()
java.lang.String getKeysAsString()
java.lang.String getReturnValueAsString()
java.lang.String[] getKeyArray()