Package com.redwood.scheduler.api.model
Interface JobParameter
-
- All Superinterfaces:
Association
,Readable
,SchedulerEntity
,SchedulerEntityComp
public interface JobParameter extends Association, Readable
Parameter for a job. Input and output parameters are used to pass data to and from a job. Note that when the value of an INOUT parameter is set, the out-value is also set to the same value. The value of an IN or INOUT parameter can be changed at any stage up until its job enters the Executing state.
-
-
Field Summary
Fields Modifier and Type Field Description static Long
BEHAVIOR_EXTERNAL_MAINTENANCE
Behavior for job parameters attached to external imported jobs.static String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "JobParameter" objects.static String
SEC_RANK_ALL
This rank is made of the following privileges:static String
SEC_RANK_NONE
This rank has no privileges assigned to it.static QueryObjectType<JobParameter>
TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getCurrentValue()
Get the value for CurrentValue.DateTimeZone
getCurrentValueDate()
Get the value for CurrentValueDate.BigDecimal
getCurrentValueNumber()
Get the value for CurrentValueNumber.String
getCurrentValueString()
Get the value for CurrentValueString.Object
getInValue()
Get the value for InValue.DateTimeZone
getInValueDate()
Get the value for InValueDate.DateTimeZone[]
getInValueDateTimeZoneArray()
Get the parameter IN value of the corresponding job definition parameter as DateTimeZone array.FileParameter
getInValueFileParameter()
Gets the value of a FileParameter.BigDecimal
getInValueNumber()
Get the value for InValueNumber.BigDecimal[]
getInValueNumberArray()
Get the parameter IN value of the corresponding job definition parameter as number array.String
getInValueString()
Get the value for InValueString.String[]
getInValueStringArray()
Get the parameter IN value of the corresponding job definition parameter as String array.TableParameter
getInValueTableParameter()
Get an instantiated TableParameter value.Job
getJob()
Get the Job.JobDefinitionParameter
getJobDefinitionParameter()
Get the JobDefinitionParameter.Object
getOutValue()
Get the value for OutValue.DateTimeZone
getOutValueDate()
Get the value for OutValueDate.DateTimeZone[]
getOutValueDateTimeZoneArray()
Get the parameter OUT value of the corresponding job definition parameter as DateTimeZone array.FileParameter
getOutValueFileParameter()
Gets the value of a FileParameter.BigDecimal
getOutValueNumber()
Get the value for OutValueNumber.BigDecimal[]
getOutValueNumberArray()
Get the parameter OUT value of the corresponding job definition parameter as number array.String
getOutValueString()
Get the value for OutValueString.String[]
getOutValueStringArray()
Get the parameter OUT value of the corresponding job definition parameter as String array.TableParameter
getOutValueTableParameter()
Get an instantiated TableParameter value.void
setInValue(Object newInValue)
Set the value for InValue.void
setInValueByEvaluatingREL(SchedulerSession session, String expression)
Set the parameter value to the evaluation of the passed in REL expression.void
setInValueDate(DateTimeZone newInValueDate)
Set the value for InValueDate.void
setInValueDateTimeZoneArray(DateTimeZone[] value)
Set the parameter IN value of the corresponding job definition parameter as DateTimeZone array.void
setInValueFileParameter(Document document)
This will set the type of the FileParameter toDocument
, and set the business key correctly to referencedocument
.void
setInValueFileParameter(FileParameterType type, String value)
Set the File Parameter to the appropriate type and value.void
setInValueFileParameter(JobFile jobFile)
This will set aJobFile
in a new instance of the interfaceFileParameter
.void
setInValueFileParameter(String fullParameterValue)
Set the In value of the parameter in full formvoid
setInValueNumber(BigDecimal newInValueNumber)
Set the value for InValueNumber.void
setInValueNumberArray(BigDecimal[] value)
Set the parameter IN value of the corresponding job definition parameter as Number array.void
setInValueString(String newInValueString)
Set the value for InValueString.void
setInValueStringArray(String[] value)
Set the parameter IN value of the corresponding job definition parameter as String array.void
setInValueTableParameter(TableParameterType type, String value)
Set the Table Parameter to the appropriate type and value.void
setInValueTableParameter(JobFile jobFile)
This will set the type of the TableParameter toFile
, and set the business key correctly to referencejobFile
.void
setInValueTableParameter(Table table)
This will set the type of the TableParameter toTable
, and set the business key correctly to referencetable
.void
setInValueTableParameter(String fullParameterValue)
Set the In value of the parameter in full formvoid
setOutValue(Object newOutValue)
Set the value for OutValue.void
setOutValueDate(DateTimeZone newOutValueDate)
Set the value for OutValueDate.void
setOutValueDateTimeZoneArray(DateTimeZone[] value)
Set the parameter OUT value of the corresponding job definition parameter as DateTimeZone array.void
setOutValueFileParameter(Document document)
This will set the type of the FileParameter toDocument
, and set the business key correctly to referencedocument
.void
setOutValueFileParameter(FileParameterType type, String value)
Set the File Parameter to the appropriate type and value.void
setOutValueFileParameter(JobFile jobFile)
This will set aJobFile
in a new instance of the interfaceFileParameter
.void
setOutValueFileParameter(String fullParameterValue)
Set the Out value of the parameter in full formvoid
setOutValueNumber(BigDecimal newOutValueNumber)
Set the value for OutValueNumber.void
setOutValueNumberArray(BigDecimal[] value)
Set the parameter OUT value of the corresponding job definition parameter as Number array.void
setOutValueString(String newOutValueString)
Set the value for OutValueString.void
setOutValueStringArray(String[] value)
Set the parameter OUT value of the corresponding job definition parameter as String array.void
setOutValueTableParameter(TableParameterType type, String value)
Set the Table Parameter to the appropriate type and value.void
setOutValueTableParameter(JobFile jobFile)
This will set the type of the TableParameter toTable
, and set the business key correctly to referencejobFile
.void
setOutValueTableParameter(Table table)
This will set the type of the TableParameter toTable
, and set the business key correctly to referencetable
.void
setOutValueTableParameter(String fullParameterValue)
Set the Out value of the parameter in full formvoid
setValueToDefaultExpression(SchedulerSession session)
Set the parameter value to the default expression of the corresponding job definition parameter.-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
-
-
-
-
Field Detail
-
OBJECT_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "JobParameter" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<JobParameter> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.
-
BEHAVIOR_EXTERNAL_MAINTENANCE
static final Long BEHAVIOR_EXTERNAL_MAINTENANCE
Behavior for job parameters attached to external imported jobs. External jobs with this behavior can't be edited, but should be able to be deleted.
-
SEC_RANK_NONE
static final String SEC_RANK_NONE
This rank has no privileges assigned to it.- See Also:
- Constant Field Values
-
SEC_RANK_ALL
static final String SEC_RANK_ALL
This rank is made of the following privileges:- See Also:
- Constant Field Values
-
-
Method Detail
-
getInValueDate
DateTimeZone getInValueDate()
Get the value for InValueDate. (The date value)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getInValueNumber
BigDecimal getInValueNumber()
Get the value for InValueNumber. (The numeric value)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getInValueString
String getInValueString()
Get the value for InValueString. (The character value)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getInValue
Object getInValue()
Get the value for InValue. ( Effective value of this parameter; the type of the object corresponds to the type in the parameter definition. )- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getOutValueDate
DateTimeZone getOutValueDate()
Get the value for OutValueDate. (The date output value)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getOutValueNumber
BigDecimal getOutValueNumber()
Get the value for OutValueNumber. (The numeric output value)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getOutValueString
String getOutValueString()
Get the value for OutValueString. (The character output value)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getOutValue
Object getOutValue()
Get the value for OutValue. ( Effective out-value of this parameter; the type of the object corresponds to the type in the parameter definition. )- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getCurrentValueDate
DateTimeZone getCurrentValueDate()
Get the value for CurrentValueDate. (The OutValueDate if it is set, otherwise the InValueDate)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getCurrentValueNumber
BigDecimal getCurrentValueNumber()
Get the value for CurrentValueNumber. (The OutValueNumber if it is set, otherwise the InValueNumber)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getCurrentValueString
String getCurrentValueString()
Get the value for CurrentValueString. (The OutValueString if it is set, otherwise the InValueString)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getCurrentValue
Object getCurrentValue()
Get the value for CurrentValue. ( Return the OutValue for Out and InOut parameters, otherwise it returns the InValue )- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setInValueDate
void setInValueDate(DateTimeZone newInValueDate)
Set the value for InValueDate. (The date value) This value is optional.- Parameters:
newInValueDate
- the new value for InValueDate.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setInValueNumber
void setInValueNumber(BigDecimal newInValueNumber)
Set the value for InValueNumber. (The numeric value) This value is optional.- Parameters:
newInValueNumber
- the new value for InValueNumber.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setInValueString
void setInValueString(String newInValueString)
Set the value for InValueString. (The character value) This value is optional.- Parameters:
newInValueString
- the new value for InValueString.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setInValue
void setInValue(Object newInValue)
Set the value for InValue. ( Effective value of this parameter; the type of the object corresponds to the type in the parameter definition. ) This value is optional.- Parameters:
newInValue
- the new value for InValue.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setOutValueDate
void setOutValueDate(DateTimeZone newOutValueDate)
Set the value for OutValueDate. (The date output value) This value is optional.- Parameters:
newOutValueDate
- the new value for OutValueDate.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setOutValueNumber
void setOutValueNumber(BigDecimal newOutValueNumber)
Set the value for OutValueNumber. (The numeric output value) This value is optional.- Parameters:
newOutValueNumber
- the new value for OutValueNumber.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setOutValueString
void setOutValueString(String newOutValueString)
Set the value for OutValueString. (The character output value) This value is optional.- Parameters:
newOutValueString
- the new value for OutValueString.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setOutValue
void setOutValue(Object newOutValue)
Set the value for OutValue. ( Effective out-value of this parameter; the type of the object corresponds to the type in the parameter definition. ) This value is optional.- Parameters:
newOutValue
- the new value for OutValue.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setValueToDefaultExpression
void setValueToDefaultExpression(SchedulerSession session) throws com.redwood.scheduler.api.exception.ParameterDefaultValueUnavailableException
Set the parameter value to the default expression of the corresponding job definition parameter. This retrieves the default expression from the JobDefinitionParameter and sets it as the value of this parameter. Parameters without default expression are set to null.- Parameters:
session
- Session to use when evaluating the default expression. Mandatory.- Throws:
com.redwood.scheduler.api.exception.ParameterDefaultValueUnavailableException
- An error was encountered while evaluating a default parameter value.
-
setInValueByEvaluatingREL
void setInValueByEvaluatingREL(SchedulerSession session, String expression) throws com.redwood.scheduler.api.exception.SchedulerAPIException
Set the parameter value to the evaluation of the passed in REL expression.- Parameters:
session
- Session to use when evaluating the expression. Mandatory.expression
- REL expression, must start with '='. Mandatory.- Throws:
com.redwood.scheduler.api.exception.SchedulerAPIException
- Baseclass for checked exceptions thrown by the API.
-
getInValueNumberArray
BigDecimal[] getInValueNumberArray()
Get the parameter IN value of the corresponding job definition parameter as number array.- Returns:
- The value as number array.
-
setInValueNumberArray
void setInValueNumberArray(BigDecimal[] value)
Set the parameter IN value of the corresponding job definition parameter as Number array.- Parameters:
value
- The value, cannot be null.
-
getInValueStringArray
String[] getInValueStringArray()
Get the parameter IN value of the corresponding job definition parameter as String array.- Returns:
- The value as String array.
-
setInValueStringArray
void setInValueStringArray(String[] value)
Set the parameter IN value of the corresponding job definition parameter as String array.- Parameters:
value
- The value, cannot be null.
-
getInValueDateTimeZoneArray
DateTimeZone[] getInValueDateTimeZoneArray()
Get the parameter IN value of the corresponding job definition parameter as DateTimeZone array.- Returns:
- The value as number array.
-
setInValueDateTimeZoneArray
void setInValueDateTimeZoneArray(DateTimeZone[] value)
Set the parameter IN value of the corresponding job definition parameter as DateTimeZone array.- Parameters:
value
- The value, cannot be null.
-
getOutValueNumberArray
BigDecimal[] getOutValueNumberArray()
Get the parameter OUT value of the corresponding job definition parameter as number array.- Returns:
- The value as number array.
-
setOutValueNumberArray
void setOutValueNumberArray(BigDecimal[] value)
Set the parameter OUT value of the corresponding job definition parameter as Number array.- Parameters:
value
- The value, cannot be null.
-
getOutValueStringArray
String[] getOutValueStringArray()
Get the parameter OUT value of the corresponding job definition parameter as String array.- Returns:
- The value as String array.
-
setOutValueStringArray
void setOutValueStringArray(String[] value)
Set the parameter OUT value of the corresponding job definition parameter as String array.- Parameters:
value
- The value, cannot be null.
-
getOutValueDateTimeZoneArray
DateTimeZone[] getOutValueDateTimeZoneArray()
Get the parameter OUT value of the corresponding job definition parameter as DateTimeZone array.- Returns:
- The value as number array.
-
setOutValueDateTimeZoneArray
void setOutValueDateTimeZoneArray(DateTimeZone[] value)
Set the parameter OUT value of the corresponding job definition parameter as DateTimeZone array.- Parameters:
value
- The value, cannot be null.
-
setInValueTableParameter
void setInValueTableParameter(TableParameterType type, String value)
Set the Table Parameter to the appropriate type and value.- Parameters:
type
- The type of the table parametervalue
- depending on the type of the TableParameter the source can be a reference to:TableParameterType.Inline
: String in RTX format.TableParameterType.Table
: A Table<Table.BusinessKey>
. Note that the Table: is optional in the business key, as is the partition.TableParameterType.JobFile
: A JobFile in the format<Job.JobId>:<JobFile.Name>
.TableParameterType.RelativeFile
: A JobFile in the format <relative job string
>:<JobFile.Name>
-
setInValueTableParameter
void setInValueTableParameter(Table table)
This will set the type of the TableParameter toTable
, and set the business key correctly to referencetable
.- Parameters:
table
- The table parameter to use as the source for the RTXReader
-
setInValueTableParameter
void setInValueTableParameter(JobFile jobFile)
This will set the type of the TableParameter toFile
, and set the business key correctly to referencejobFile
.- Parameters:
jobFile
- The table parameter to use as the source for the RTXReader
-
setInValueTableParameter
void setInValueTableParameter(String fullParameterValue)
Set the In value of the parameter in full form- Parameters:
fullParameterValue
- in the format<type>:<source>
, where depending on the type of the TableParameter the source can be a reference to:TableParameterType.Inline
: String in RTX format.TableParameterType.Table
: A Table<Table.BusinessKey>
. Note that the Table: is optional in the business key, as is the partition.TableParameterType.JobFile
: A JobFile in the format<Job.JobId>:<JobFile.Name>
.TableParameterType.RelativeFile
: A JobFile in the format<
relative job string
>:<JobFile.Name>
-
setOutValueTableParameter
void setOutValueTableParameter(TableParameterType type, String value)
Set the Table Parameter to the appropriate type and value.- Parameters:
type
- The type of the table parametervalue
- depending on the type of the TableParameter the source can be a reference to:TableParameterType.Inline
: String in RTX format.TableParameterType.Table
: A Table<Table.BusinessKey>
. Note that the Table: is optional in the business key, as is the partition.TableParameterType.JobFile
: A JobFile in the format<Job.JobId>:<JobFile.Name>
.TableParameterType.RelativeFile
: A JobFile in the format<
relative job string
>:<JobFile.Name>
-
setOutValueTableParameter
void setOutValueTableParameter(Table table)
This will set the type of the TableParameter toTable
, and set the business key correctly to referencetable
.- Parameters:
table
- The table parameter to use as the source for the RTXReader
-
setOutValueTableParameter
void setOutValueTableParameter(JobFile jobFile)
This will set the type of the TableParameter toTable
, and set the business key correctly to referencejobFile
.- Parameters:
jobFile
- The table parameter to use as the source for the RTXReader
-
setOutValueTableParameter
void setOutValueTableParameter(String fullParameterValue)
Set the Out value of the parameter in full form- Parameters:
fullParameterValue
- in the format<type>:<source>
, where depending on the type of the TableParameter the source can be a reference to:TableParameterType.Inline
: String in RTX format.TableParameterType.Table
: A Table<Table.BusinessKey>
. Note that the Table: is optional in the business key, as is the partition.TableParameterType.JobFile
: A JobFile in the format<Job.JobId>:<JobFile.Name>
.TableParameterType.RelativeFile
: A JobFile in the format<
relative job string
>:<JobFile.Name>
-
getInValueTableParameter
TableParameter getInValueTableParameter()
Get an instantiated TableParameter value.- Returns:
- An instantiated TableParameter value according to the specification set on the parameter
-
getOutValueTableParameter
TableParameter getOutValueTableParameter()
Get an instantiated TableParameter value.- Returns:
- An instantiated TableParameter value according to the specification set on the parameter
-
setInValueFileParameter
void setInValueFileParameter(FileParameterType type, String value)
Set the File Parameter to the appropriate type and value.- Parameters:
type
- The type of the File parametervalue
- depending on the type of the FileParameter, the source can be a reference to:FileParameterType.Document
: A Document<Document.BusinessKey>
. Note that the Document: is optional in the business key, as is the partition.FileParameterType.JobFile
: A JobFile in the format<Job.JobId>:<JobFile.Name>
.FileParameterType.RelativeFile
: A JobFile in the format <relative job string
>:<JobFile.Name>
-
setInValueFileParameter
void setInValueFileParameter(Document document)
This will set the type of the FileParameter toDocument
, and set the business key correctly to referencedocument
.- Parameters:
document
- The document parameter to use as the source
-
setInValueFileParameter
void setInValueFileParameter(JobFile jobFile)
This will set aJobFile
in a new instance of the interfaceFileParameter
.- Parameters:
jobFile
- The JobFile to be set in the FileParameter.
-
setInValueFileParameter
void setInValueFileParameter(String fullParameterValue)
Set the In value of the parameter in full form- Parameters:
fullParameterValue
- in the format<type>:<source>
, where depending on the type of the FileParameter, the source can be a reference to:FileParameterType.Document
: A Document<Document.BusinessKey>
. Note that the Document: is optional in the business key, as is the partition.FileParameterType.JobFile
: A JobFile in the format<Job.JobId>:<JobFile.Name>
.FileParameterType.RelativeFile
: A JobFile in the format <relative job string
>:<JobFile.Name>
-
setOutValueFileParameter
void setOutValueFileParameter(FileParameterType type, String value)
Set the File Parameter to the appropriate type and value.- Parameters:
type
- The type of the File parametervalue
- depending on the type of the FileParameter, the source can be a reference to:FileParameterType.Document
: A Document<Document.BusinessKey>
. Note that the Document: is optional in the business key, as is the partition.FileParameterType.JobFile
: A JobFile in the format<Job.JobId>:<JobFile.Name>
.FileParameterType.RelativeFile
: A JobFile in the format <relative job string
>:<JobFile.Name>
-
setOutValueFileParameter
void setOutValueFileParameter(Document document)
This will set the type of the FileParameter toDocument
, and set the business key correctly to referencedocument
.- Parameters:
document
- The document parameter to use as the source
-
setOutValueFileParameter
void setOutValueFileParameter(JobFile jobFile)
This will set aJobFile
in a new instance of the interfaceFileParameter
.- Parameters:
jobFile
- The JobFile to be set in the FileParameter.
-
setOutValueFileParameter
void setOutValueFileParameter(String fullParameterValue)
Set the Out value of the parameter in full form- Parameters:
fullParameterValue
- in the format<type>:<source>
, where depending on the type of the FileParameter, the source can be a reference to:FileParameterType.Document
: A Document<Document.BusinessKey>
. Note that the Document: is optional in the business key, as is the partition.FileParameterType.JobFile
: A JobFile in the format<Job.JobId>:<JobFile.Name>
.FileParameterType.RelativeFile
: A JobFile in the format <relative job string
>:<JobFile.Name>
-
getInValueFileParameter
FileParameter getInValueFileParameter()
Gets the value of a FileParameter.- Returns:
- Returns the value of a
JobParameter
typeFile
as aFileParameter
object if, and only if, thefileParameter
object has aJobFile
attached to it, otherwise is returnednull
.
-
getOutValueFileParameter
FileParameter getOutValueFileParameter()
Gets the value of a FileParameter.- Returns:
- Returns the value of a
JobParameter
typeFile
as aFileParameter
object if, and only if, thefileParameter
object has aJobFile
attached to it, otherwise is returnednull
.
-
getJobDefinitionParameter
JobDefinitionParameter getJobDefinitionParameter()
Get the JobDefinitionParameter.- Returns:
- JobDefinitionParameter
- Throws:
com.redwood.scheduler.api.exception.ObjectDeletedException
- If this method is called when the object has been marked for deletion.com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- If this method is called when the object has been removed from it's session.
-
getJob
Job getJob()
Get the Job.- Returns:
- Job
- Throws:
com.redwood.scheduler.api.exception.ObjectDeletedException
- If this method is called when the object has been marked for deletion.com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- If this method is called when the object has been removed from it's session.
-
-