| Defines tasks that can be executed by a task executor service. |
Element static-task |
---|
A task which can invoke an object, or service, that implements Executable. |
| Attribute title |
Required
|
| A short, user presentable description of the task, used in logging output. |
| Attribute id |
Required
|
| A unique id for the task, which is used to set the order of execution of all tasks. |
| Attribute before |
Optional
|
| A comma-seperated list of task ids whose execution should follow this task, or * to indicate that this task must run first. |
| Attribute after |
Optional
|
| A comma-seperated list of task ids whose execution should precede this tasks execution, or * to indicate that this task must run last. |
| Attribute class |
Required
|
| Translator | class |
---|
| A class containing a public static method to execute. |
| Attribute method |
Optional
|
| The name of a public static method of the class; if not specified, 'init' is used. |
| Conversion Rules- create-object
(
class=com.panorama.startup.impl.Task
)
- invoke-parent
(
method=addElement
)
- read-attribute
(
attribute=id
property=id
)
- read-attribute
(
attribute=title
property=title
)
- read-attribute
(
attribute=before
property=before
)
- read-attribute
(
attribute=after
property=after
)
- create-object
(
class=com.panorama.startup.impl.ExecuteStatic
)
- invoke-parent
(
method=setExecutable
)
- read-attribute
(
attribute=class
property=targetClass
)
- read-attribute
(
attribute=method
property=methodName
)
|
Element task |
---|
A task which can invoke an object, or service, that implements Executable. |
| Attribute title |
Required
|
| A short, user presentable description of the task, used in logging output. |
| Attribute id |
Required
|
| A unique id for the task, which is used to set the order of execution of all tasks. |
| Attribute before |
Optional
|
| A comma-seperated list of task ids whose execution should follow this task, or * to indicate that this task must run first. |
| Attribute after |
Optional
|
| A comma-seperated list of task ids whose execution should precede this tasks execution, or * to indicate that this task must run last. |
| Attribute executable |
Required
|
| Translator | object |
---|
| An object or service that implements Executable. |
| Conversion Rules- conversion
(
class=com.panorama.startup.impl.Task
)
|