2009/04/15 - Apache HiveMind has been retired.

For more information, please explore the Attic.

Module panorama.startup
Back to master index

[public] Schema panorama.startup.Tasks
Defines tasks that can be executed by a task executor service.
Element <task>
A task which can invoke an object, or service, that implements Executable.
Attribute after Translator: string
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 Translator: string
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) Translator: string
A unique id for the task, which is used to set the order of execution of all tasks.
Attribute title (required) Translator: string
A short, user presentable description of the task, used in logging output.
Conversion Rules
<conversion class="impl.Task" />
Element <static-task>
A task which can invoke an object, or service, that implements Executable.
Attribute after Translator: string
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 Translator: string
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) Translator: string
A unique id for the task, which is used to set the order of execution of all tasks.
Attribute method Translator: string
The name of a public static method of the class; if not specified, 'init' is used.
Attribute title (required) Translator: string
A short, user presentable description of the task, used in logging output.
Conversion Rules
<create-object class="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="impl.ExecuteStatic" />
<invoke-parent method="setExecutable" />
<read-attribute attribute="class" property="targetClass" />
<read-attribute attribute="method" property="methodName" />
References
Configurations
panorama.startup.Startup

Module panorama.startup
Back to master index