Specifications

The update functions do not affect jobs that have already been sent (by calling one of the
Job.sendTo() functions). They do affect any jobs that will be sent after calling the update function.
Replaces the location path in the hierarchy info associated
with the job to the list of segments in the specified Array. The
topmost path segment is stored at index 0.
setHierarchyPath( segments :
String[ ] )
Adds the specified segment to the location path in the
hierarchy info associated with the job, at the end of the list
(i.e. at the bottom).
addBottomHierarchySegment(
segment : String )
Adds the specified segment to the location path in the
hierarchy info associated with the job, at the beginning of the
list (i.e. at the top).
addTopHierarchySegment(
segment : String )
Replaces the email addresses in the email info associated with
the job by the list of email addresses in the specified Array.
setEmailAddresses( addresses :
String[ ] )
Adds the specified email address to the email info associated
with the job.
addEmailAddress( address :
String )
Replaces the email body text in the email info associated with
the job by the specified string.
setEmailBody( body : String )
Appends the specified string to the email body text in the
email info associated with the job, inserting a line break after
the existing body if any.
appendEmailBody( body : String
)
Sets the job state for the job to the specified string.
setJobState( state : String )
Sets the short user name associated with the job. If the
specified string does not match the name of an existing user
setUserName( username: String
)
in the user database a warning is logged (but the set operation
does succeed).
Sets the value of the private data with the specified tag to the
specified string. This supports light-weight persistent job
information.
setPrivateData( tag : String,
value : String )
Sets the job priority for this job to the specified number,
rounded to an integer; see job priorities. Generally speaking,
setPriority( priority : Number )
jobs with a higher priority are processed before jobs with a
lower priority.
Refreshes the job’s arrival stamp so that it seems that the job
just arrived in the flow; see arrival stamps.
refreshArrivalStamp( )
Switch uses the arrival stamp to determine the processing
order for jobs with equal priority (generally speaking, jobs
that arrived in the flow first are handled first). Refreshing the
arrival stamp can be meaningful when releasing a job that
470
Enfocus Switch 10