Object failedToStop
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
File file
String[] args
Property:
Description: An array of arguments the Oddjob configuration can use.
Required: No.
Properties properties
Property:
Description: Properties to be set in the nested
configuration. Can be set using a PropertiesType
.
Required: No
OddjobInheritance inheritance
Property:
Description: Set how an Oddjob should share the values and properties of it's parent. Valid values are:
Required: No. Defaults to PROPERTIES.
org.oddjob.Oddjob.Reset lastReset
Property:
Description: Used internally to remember which reset to apply after loading a configuration.
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String classPath
Property:
Description: A class path to use to create Ants class loader. This is often more convenient than providing a separate class loader. If a class loader is also provided then it will be used as the parent class loader of the class loader created from this path, otherwise the class loader of this job will be used as the parent.
Required: No.
Location location
MagicBeanClass beanClass
Map<K,V> values
ConversionStack conversionStack
DesignInstance child
int index
private Object writeReplace() throws ObjectStreamException
ObjectStreamException
JTree tree
JScrollPane treeScroll
JTextField textField
JButton detailButton
String selectedFile
FileSelectionOptions options
Action selected
boolean result
MultiTypeModel model
String[] HEADERS
String[] HEADERS
MultiTypeModel model
JLabel label
JTable table
Action swapUpAction
Action swapDownAction
EditableValue editableValue
String[] HEADERS
ArooaElement element
ConfigOwnerEvent.Change change
String fileName
int lineNumber
int columnNumber
String property
String id
private Object readResolve() throws ObjectStreamException
ObjectStreamException
String serverId
ConfigurationNode child
int index
ConfigurationNodeEvent configurationEvent
Object value
List<E> values
Property: values
Description: Any values.
Required: No.
List<E> extras
boolean merge
Property:
Description: If the element is a list or array the values are merged into this list.
Required: No, defaults to not merging.
boolean unique
Property:
Description: Ensures the list contains only unique elements.
Required: No.
Class<T> elementType
Property:
Description: The required element type. If this is specified all elements of the array will attempt to be converted to this type.
Required: No. Elements will be left being what they want to be.
Map<K,V> values
Property: values
Description: Any values.
Required: No.
Map<K,V> extras
Class<T> elementType
Property:
Description: The required element type. If this is specified all elements of the array will attempt to be converted to this type.
Required: No. Elements will be left being what they want to be.
ArooaValue value
Property:
Description: Any simple value.
Required: No, If missing this value will resolve to be null.
ArooaContext arooaContext
String xml
Property:
Description: This is only used internally. It can't be set via configuration because all contents are converted into text XML.
Required: Irrelevant.
Object badBean
IllegalArgumentException exception
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String beanClassName
Class
which is represented by this
WrapDynaClass
.org.apache.commons.beanutils.DynaProperty[] properties
HashMap<K,V> propertiesMap
properties
list.Set<E> readableProperties
Set<E> writableProperties
String id
private void readObject(ObjectInputStream in)
private Object writeReplace() throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String property
Property:
Description: The property to set.
String prompt
Property:
Description: Prompt to display.
String defaultName
Property: default
Description: The default file name.
FileSelectionOptions options
String message
Property:
Description: The Message.
String prompt
Property:
Description: Prompt to display.
ByteArrayOutputStream buffer
String name
Property:
Description: A name, can be any text.
Required: No.
File[] from
Property:
Description: The from file.
Required: Yes unless input supplied.
File to
Property:
Description: The from file.
Required: Yes unless output supplied.
int filesCopied
Property:
Description: The number of files copied.
Required: Read Only.
int directoriesCopied
Property:
Description: The number of directories copied.
Required: Read Only.
String name
Property:
Description: A name, can be any text.
Required: No.
File[] files
Property:
Description: The file, directory, or files and directories
to delete. Note the files must be valid file name, they can not
contain wildcard characters. This will be the case by default if
the FilesType
is used to specify the files.
Required: Yes.
boolean force
Property:
Description: Forceably delete non empty directories.
Required: No, defaults to false.
int logEvery
Property:
Description: Logs the number of files and directories deleted every n number of items. If this property is 1 then the file or directory path is logged every delete. If this property is less than one then the counts are logged only at the end.
Required: No, defaults to 0.
boolean reallyRoot
Property:
Description: Flag to indicate that it is the intention to
delete files at the root level. This is to catch the situation
where variable substitution is used to specify the file path but
the variable doesn't exists - e.g. The file specification is
${some.dir}/*
but some.dir
has not been
defined.
Required: No, defaults to false.
int maxErrors
Property:
Description: The maximum number of errors to allow before failing. Sometimes when deleting a large number of files, it is not desirable to have one or two locked files from stopping all the other files from being deleted.
Required: No, defaults to 0.
AtomicInteger fileCount
Property:
Description: Count of the files deleted.
AtomicInteger dirCount
Property:
Description: Count of the directories deleted.
AtomicInteger errorCount
Property:
Description: Count of the errors.
String name
Property:
Description: A name, can be any text.
Required: No.
String file
Property:
Description: The file specification. The file specification can contain wild card characters.
Required: Yes.
File[] exists
Property:
Description: The files that match the file specification.
Required: R/O.
File file
Property:
Description: The file path.
Required: Yes.
ObjectName name
String className
HandlerVersion remoteVersion
String className
String id
String originalExcpetionClassName
Address address
ClientHandlerResolver<T>[] clientResolvers
ServerId serverId
String name
Property:
Description: A name, can be any text.
Required: No.
String text
Property:
Description: The text to display.
Required: No, if there is no text and no lines only a blank line will be printed.
String[] lines
Property:
Description: Lines of text to display.
Required: No, if there is no text and no lines only a blank line will be printed. printed.
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
File dir
Property:
Description: The working directory.
Required: No
String command
Property:
Description: The command to execute. The command is interpreted as space delimited text which may be specified over several lines. Arguments that need to include spaces must be quoted. Within quoted arguments quotes may be escaped using a backslash.
Required: yes, unless args are provided instead.
String[] args
Property:
Description: A string list of arguments.
Required: No.
boolean newEnvironment
Map<K,V> environment
boolean redirectStderr
int exitValue
Property:
Description: The exit value of the process.
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String identifier
Property:
Description: This job's identifier which is unique to the Oddjob process, such as server name.
Required: Yes.
Object instance
Property:
Description: The instance of identifier for a single grab. This is an identifier for each run of the grab jobb and will be something like the scheduled date/time.
Required: Yes.
String winner
Property:
Description: The identifier of the winner. Will be equal to this jobs identifier if this job has won.
Required: R/O.
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String name
Property:
Description: The name of this job.
Required: No.
Integer current
Property:
Description: The current sequence number.
Required: Set automatically, but can be changed manually.
int from
Property:
Description: The sequence number to start from.
Required: No, defaults to 0.
boolean join
Property:
Description: Wait for the target job to finish executing.
Required: No, defaults to false.
boolean showJob
Property:
Description: Add the target job as a child of this job. Allows the target job to be easily monitored from a UI.
Required: No, defaults to false.
AsynchJobWait jobWait
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
int preLoad
Property:
Description: The number of values to pre-load configurations for. This property can be used with large sets of values to ensure that only a certain number are pre-loaded before execution starts.
Setting this property to 0 means that all configuration will be initially loaded.
Required: No. Defaults to all configurations being loaded first.
int purgeAfter
Property:
Description: The number of completed jobs to keep. Oddjob configurations can be quite memory intensive, mainly due to logging, purging complete jobs will stop too much memory being taken.
Setting this property to 0 means that no complete jobs will be purged.
Required: No. Defaults to no complete jobs being purged.
File file
boolean join
Property:
Description: Should the execution thread of this job wait for the execution threads of the child jobs.
This property
re-introduces the default behaviour of parallel before version 1.0.
Behaviour was changed to encourage the use of event driven
configuration that didn't cause a thread to wait by using
CascadeJob
or
Trigger
.
There are situations where this is really convenient as otherwise large reworking of the configuration is required. If possible - it is better practice to try and use the job state.
Required: No. Defaults to false
boolean _transient
Property: transient
Description: Is this job transient. If true state will not be persisted.
Required: No, default is false.
Properties properties
Properties properties
Property:
Description: Properties to execute the task with.
Required: No.
boolean join
Property:
Description: Wait for the target job to finish executing.
Required: No, defaults to false.
Object response
File dir
Property:
Description: The directory the file chooser should use when opening and saving Oddjobs.
Required: No.
File file
Property:
Description: A file to load when the explorer starts.
Required: No.
long pollingInterval
Property:
Description: How often to poll in milli seconds for property updates.
Required: No.
FileHistory fileHistory
ScreenPresence screen
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
File dir
Property:
Description: The directory the file chooser should use when opening and saving Oddjobs.
Required: No.
long pollingInterval
Property:
Description: How often to poll in milli seconds for property updates.
Required: No.
File file
Property:
Description: A file to show when the explorer starts.
Required: No.
FileHistory fileHistory
ScreenPresence screen
boolean saveAs
StatePanel statePanel
LogTextPanel consolePanel
LogTextPanel logPanel
PropertyPanel propertyPanel
JTree tree
JScrollPane treeScroll
MonitorMenuBar menuBar
DetailModel detailModel
ExplorerModel explorerModel
PropertyPolling propertyPolling
JSplitPane split
TreeChangeFollower treeChangeFollower
ExplorerAction jobAction
JMenu fileMenu
JMenu[] lastFormMenus
JPopupMenu popupMenu
org.oddjob.monitor.view.MonitorMenuBar.MenuSelection selectionListener
DetailModel detailModel
int screenWidth
PropertyTableModel tableModel
JTextField stateField
JTextField timeField
JTextArea exceptionField
String name
Property:
Description: The name of this Job.
Required: No.
String host
Property:
Description: The FTP server.
Required: Yes.
int port
Property:
Description: The Port.
Required: No.
String username
Property:
Description: The user name to connect to the FTP server with.
Required: Yes.
int result
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
ArooaConfiguration configuration
ComponentPersister archivePersister
Schedule childSchedule
Schedule schedule
Property:
Description: The schedule to be after.
Required: Yes.
Schedule schedule
Property:
Description: The schedule.
Required: Yes.
Schedule breaks
Property:
Description: The breaks.
Required: No, but this schedule is pointless if none are provided.
Schedule alternative
Property:
Description: An alternative schedule to apply during a break. The alternative schedule will be passed the interval that is the break.
Required: No.
int countTo
Property: count
Description: The number to count to.
Required: Yes.
String identifier
Property:
Description: If there are more than one count schedules in a schedule then this key is required to differentiate them. It can be any text.
Required: No.
DayOfMonth fromDay
DayOfMonth toDay
DayOfWeek fromDayOfWeek
DayOfWeek toDayOfWeek
WeekOfMonth fromWeek
WeekOfMonth toWeek
Month fromMonth
Property:
Description: The from month.
Required: No, defaults to 1 (January).
Month toMonth
Property:
Description: The to month.
Required: No, defaults to 12 (December).
String fromDate
Property:
Description: The from month and day.
String toDate
Property:
Description: The to month and day.
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String path
Interval limits
Property:
Description: Used to limit the schedule. Usually this will be configured to be a parent timer's current interval.
Required: No.
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
boolean haltOnFailure
Property:
Description: Don't reschedule if the scheduled job doesn't complete.
Required: No.
boolean skipMissedRuns
Property:
Description: Use the current time, not the last completed time to calculate when the job is next due.
Required: No.
Map<K,V> contextData
ScheduleResult current
Property:
Description: This is the current/next result from the schedule. This properties fromDate is used to set the nextDue date for the schedule and it's useNext (normally the same as toDate) property is used to calculate the following new current property after execution. This property is most useful for the Timer to pass limits to the Retry, but is also useful for diagnostics.
Required: Set automatically.
Date lastDue
Property:
Description: The time the schedule was lastDue. This is set from the nextDue property when the job begins to execute.
Required: Read only.
StateCondition state
Property:
Description: The state condition which will cause the trigger to fire. See the Oddjob User guide for a full list of state conditions.
Required: No, defaults to COMPLETE.
StateCondition cancelWhen
Property:
Description: A state condition that will cause the trigger to cancel.
Required: No, defaults to not cancelling.
Date lastTime
boolean newOnly
Property:
Description: Fire trigger on new events only. If set the time on the event will be compared with the last that this trigger received and only a new event will cause the trigger to fire.
Required: No, defaults to false.
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String function
Property:
Description: The function/method/operation name to call. Note that for a Java static method the method name must be prefixed with the word static (see InvokeType examples).
Required: Yes.
String resultVariable
Property:
Description: The variable in the script that will be used to provide the result. The property is designed for use with scripting languages who's execution does not produce a result. If, however the script does produce a result and this property is set, the variable will override the scripts return value.
Required: No.
Object result
Property:
Description: The result of executing the script or the script variable chosen as the result variable with the resultVariable property.
boolean resultForState
Property:
Description: If true then use the result to determine the completion state of the job. If the result is not a number this property will have no affect. If the result is a number and 0 the job will COMPLETE, any other value and the job will be INCOMPLETE.
Required: No, defaults to false.
String driver
Property:
Description: The driver class name.
Required: Yes.
String url
Property:
Description: The jdbc url.
Required: Yes.
String username
Property:
Description: The database username..
Required: No.
String password
Property:
Description: The users password.
Required: No.
ClassLoader classLoader
Property:
Description: The class loader to use to load the JDBC driver.
Required: No.
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String name
Property:
Description: A name, can be any text.
Required: No.
StateCondition cascadeOn
StateCondition haltOn
StateCondition state
Property:
Description: The state to match.
Required: No, defaults to COMPLETE.
JobState state
Property:
Description: The state to flag.
Required: No, defaults to COMPLETE.
StateCondition state
Object child
int index
String beanConfig
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
ScreenPresence screen
int columns
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String environment
boolean system
boolean override
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Properties properties
String date
Property:
Description: A date in text, if a format is specified it is expected to be in the format provide, otherwise it is expected to be in the default format..
Required: Yes.
String format
Property:
Description: The format the date is in.
Required: No.
String timeZone
Property:
Description: The time zone the date is for.
Required: No.
Clock clock
Property:
Description: The clock to use if a date shortcut is specified. This is mainly here for tests.
Required: No, defaults to the current time clock.
String format
Property:
Description: The format.
Required: Yes.
TimeZone timeZone
Property: timeZone
Description: The time zone to use for a date format.
Required: No.
Date date
Property:
Description: A date to format.
Required: Yes if number isn't supplied.
Number number
Property:
Description: A number to format.
Required: Yes if date isn't supplied.