complexType taskType
diagram ScriptRunner_p10.png
properties
mixed true
children connections xi:include properties task
annotation
documentation
Basic unit and super-class

attribute taskType/@name
type restriction of xs:string
properties
isRef 0
use required
facets
whiteSpace preserve
annotation
documentation
The task's identifying name. Usually each task will have a globaly unique name as the check to see whether a task has finished successfully is by run identifier and name only. However, there can be benefits in having duplicate names, e.g. so that a setup script can be called from multiple places. Hence, this is not an ID.

attribute taskType/@class
type xs:string
properties
isRef 0
use optional
annotation
documentation
If present, the class value will be used to instantiate a Task object. This allows any class implementing the Task interface to be called. One of the type or the class attributes MUST be set.

attribute taskType/@type
type xs:string
properties
isRef 0
use optional
annotation
documentation
If present, the type value will imply a class name com.massimo.tools.scriptrunner.work."value"Task. Some types and classes are provided: Serial, Parallel, Pause, Print, Process and SQL. One of the type or the class attributes MUST be set.

attribute taskType/@class-path
type xs:string
properties
isRef 0
use optional
annotation
documentation
Comma-separated list of jar files to add to the classpath for this Task.

attribute taskType/@ignore-error-codes
type xs:string
properties
isRef 0
use optional
annotation
documentation
Comma-separated list of integer error codes. Tasks will attempt to ignore these codes. 

attribute taskType/@log-progress
type xs:boolean
properties
isRef 0
default true
use optional
annotation
documentation
If false, the Task will not  maintain the audit trail log. The script itself must do this.

attribute taskType/@parameters
type xs:string
properties
isRef 0
use optional
annotation
documentation
List of property names for string substitution. Substitution is performed using the class java.text.MessageFormat, so the order of parameters is important.