Oddjob Reference
- Jobs
-
ant - Run a series of Ant
tasks.
-
check - Checks a value for certain criteria.
-
class - Create an Object of the given class.
-
copy - A Copy job.
-
delete - Delete a file or directory, or files
and directories.
-
depends - A job which depends on another job.
-
echo - Echo text to the console.
-
exec - Execute an external program.
-
exists - Test if a file exists.
-
explorer - Runs Oddjob Explorer.
-
folder - Holds a collection of jobs but does not
execute them.
-
foreach - A job which executes its child jobs for
each of the provided values.
-
is - Create an Object that is the class of the
property.
-
mkdir - Make a directory, including any necessary but
nonexistent parent directories.
-
oddjob - The starting point for a hierarchy of jobs.
-
parallel - A job which executes it's child jobs in parallel.
-
properties - Creates java properties that can be accessed within
Oddjob as text or passed into other components that require java
Properties.
-
rename - Rename a file or directory.
-
repeat - This job will repeatedly run it's
child job.
-
reset - A job which resets another job.
-
rmireg - A job which creates an RMI registry.
-
run - A job which runs another job.
-
sequence - Provide a sequence number which is
incremented each time the job is executed.
-
sequential - Executes it's children in a sequence.
-
set - A job which sets properties in other
jobs when it executes.
-
sql - Runs a SQL query.
-
stop - A job which stops another job.
-
variables - This job provides a 'variables'
like declaration within Oddjob.
-
wait - This Job will either wait a given number of milliseconds
or will wait for a property or job to become available.
-
bsf:script - Execute a script.
-
hsql:hsqldb - Start an instance of the HSQL
Database engine.
-
jmx:client - Connect to an Oddjob jmx:server.
-
jmx:server - A job which allows client a local job hierarchy to
be monitored and managed remotely via JMX.
-
scheduling:retry - This is a timer that runs it's job according to the schedule until
the schedule expires or the job completes successfully.
-
scheduling:timer - Provides a simple timer for periodic or once only
execution of the child job.
-
scheduling:trigger - A trigger runs when the job being triggered
on enters the state specified.
-
spring:beans - An Oddjob job that will load a Spring application.
-
state:and - A job who's return state is a logical AND of the child states.
-
state:equals - Runs it's child job and then compares the state of the child job to
the given state.
-
state:flag - When run it's state becomes the given state.
-
state:if - This job implements an if/then/else logic.
-
state:mirror - When run this job mirrors the state of the given job.
-
state:or - A job who's return state is a logical OR of the child states.
-
state:resets - Captures Reset actions propagating down a job tree and either hardens
soft resets to hard resets or softens hard resets to soft resets before
passing them on to the child job.
- Types
-
buffer - A buffer can be used to accumulate output from
one or more jobs which can then be used as input to another job.
-
class - Create an Object of the given class.
-
connection - Definition for a Database connection.
-
contextClassLoader - Returns the ContextClassLoader of the thread
at the time of configuration.
-
date - Wraps a date type.
-
file - Specify a file.
-
filePersister - Persist and load jobs from and to a file.
-
files - Specify files using a wildcard pattern.
-
format - A type which can either format a
number or a date into the given text format.
-
import - Import XML which is processed as if it's
in-line.
-
is - Create an Object that is the class of the
property.
-
list - A list provides a way of setting properties that are
either
java.util.List types or arrays.
-
now - The date now.
-
properties - A type that allows Properties to be defined.
-
property - Define a property.
-
resource - Specify a resource on
the classpath.
-
sqlPersister - Persists job state to a database.
-
urlClassLoader - A simple wrapper for URLClassloader.
-
value - A simple value, the most common type.
-
xml - A type that converts it's XML contents into
a String.
-
arooa:bean-def - Provide an element to class name mapping for a
java bean.
-
arooa:bean-defs - Provide a set of element to class name
mappings.
-
arooa:descriptor - A definition of an Arooa descriptor.
-
arooa:descriptors - A collection of descriptors.
-
arooa:property - Provide a definition for a property within
a arooa:bean-def.
-
hsql:connection - Definition for a Database connection.
-
jmx:client-credentials - Provide a JMX simple security credentials
environment for a jmx:client.
-
jmx:server-security - Provide a JMX simple security environment for a
jmx:server.
-
schedules:after - Schedule at a point in time immediately
after the nested schedule.
-
schedules:broken - This schedule allows a normal schedule
to be broken by the results of another
schedule.
-
schedules:count - This schedule returns up to count
number of child schedules.
-
schedules:date - Provide a schedule for a
specific date or define an interval between two dates.
-
schedules:dayafter - A schedule that returns the day after when a
nested schedule is due.
-
schedules:dayofmonth - Implement a schedule based on days of the month.
-
schedules:dayofweek - A schedule for the days of the week.
-
schedules:dayofyear - A schedule for the days of the year.
-
schedules:interval - This schedule returns an interval
from the given time to the interval time later.
-
schedules:last - This schedule will return it's last due nested
schedule within the given parent interval.
-
schedules:list - Provide a schedule based on a list of schedules.
-
schedules:month - A schedule for a range of months, or a month.
-
schedules:now - Schedule something now.
-
schedules:occurrence - This schedule counts the occurence's
of it's nested schedule
and returns the required occurrence.
-
schedules:time - A schedule for the times of the day.
(c) Rob Gordon 2005 - 2009