| previous section: Understanding Almo 2.0: The Almo API |
next section: Understanding Almo 2.0: Adding, removing, getting and deleting elements |
Understanding Almo 2.0: The settings of Almo elements
Almo elements can be part of the WorkflowConfiguration or of the WorkflowInstance. We will deal with both and the ontology properties, which represent the different settings.
Element settings
Note: The setting has a light-blue background, if it is only used in the WorkflowConfiguration.
Task objects
| Setting | Ontology property | Meaning | Default | Almo methods |
|---|---|---|---|---|
| label | label | The label of any element must be unique. The label should be set by calling the constructor WorkflowElement(String s) from the super-class of all elements WorkflowElement. | The value conveyed by the constructor. | setLabel(String s) getLabel() |
| package & class | class_specification | The package and class values determine where to find the implementation of the Task. | null | setPackage(String s) getPackageSpec() setClass(String s) getClassSpec() |
| description | description | A short description about the Task. | empty | setDescription(String s) getDescription() |
| usage | usage | Is this Task an required or optional element? | required | setUsage(String s) getUsage() |
| allow restart | allow_restart | May this Task be restarted? | false | setAllowRestart(boolean b) getAllowRestart() |
| execution method | execution_method | How should the Task execute its elements: sequentially or in parallel? | sequential | setExecutionMethod(String s) getExecutionMethod() |
Container objects
| Setting | Ontology property | Meaning | Default | Almo methods |
|---|---|---|---|---|
| label | label | The label of any element must be unique. The label should be set by calling the constructor WorkflowElement(String s) from the super-class of all elements WorkflowElement. | The value conveyed by the constructor. | setLabel(String s) getLabel() |
| package & class | class_specification | The package and class values determine where to find the implementation of the Container. | null | setPackage(String s) getPackageSpec() setClass(String s) getClassSpec() |
| description | description | A short description about the Container. | empty | setDescription(String s) getDescription() |
| usage | usage | Is this Container an required or optional element? | required | setUsage(String s) getUsage() |
Operation objects
| Setting | Ontology property | Meaning | Default | Almo methods |
|---|---|---|---|---|
| label | label | The label of any element must be unique. The label should be set by calling the constructor WorkflowElement(String s) from the super-class of all elements WorkflowElement. | The value conveyed by the constructor. | setLabel(String s) getLabel() |
| package & class | class_specification | The package and class values determine where to find the implementation of the Operation. | null | setPackage(String s) getPackageSpec() setClass(String s) getClassSpec() |
| description | description | A short description about the Operation. | empty | setDescription(String s) getDescription() |
| usage | usage | Is this Container an required or optional element? | required | setUsage(String s) getUsage() |
| error handling | error_handling | What shall happen, if the error method is invoked? There are three alternatives:
|
ignore | setErrorHandling(String s) getErrorHandling() |
| previous section: Understanding Almo 2.0: The Almo API |
next section: Understanding Almo 2.0: Adding, removing, getting and deleting elements |
