Visibility |
Public
|
---|
Element static-task |
---|
A task which can invoke an object, or service, that implements Executable. |
| 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 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 class | Required |
---|
| Translator | class |
---|
| A class containing a public static method to execute. |
| Attribute id | Required |
---|
| A unique id for the task, which is used to set the order of execution of all tasks. |
| Attribute method | Optional |
---|
| The name of a public static method of the class; if not specified, 'init' is used. |
| Attribute title | Required |
---|
| A short, user presentable description of the task, used in logging output. |
| 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 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 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 executable | Required |
---|
| Translator | object |
---|
| An object or service that implements Executable. |
| Attribute id | Required |
---|
| A unique id for the task, which is used to set the order of execution of all tasks. |
| Attribute title | Required |
---|
| A short, user presentable description of the task, used in logging output. |
| Conversion Rules- <conversion
class="com.panorama.startup.impl.Task"
/>
|