Package com.redwood.scheduler.api.model
Interface JobDefinitionParameter
- 
- All Superinterfaces:
- BusinessKeyObject,- Detail,- JobDefinitionParameterComp,- NamedDetailObject,- Readable,- SchedulerEntity,- SchedulerEntityComp
 
 public interface JobDefinitionParameter extends JobDefinitionParameterComp, NamedDetailObject, BusinessKeyObject, Readable Parameters defined for a job definition Parameters enable you to define generic job definitions that behave differently according to the values of the parameters.
- 
- 
Field SummaryFields Modifier and Type Field Description static LongBEHAVIOR_REACTIONBehavior for parameters that were created when the job became a reaction type.static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "JobDefinitionParameter" objects.static StringSEC_RANK_ALLThis rank is made of the following privileges:static StringSEC_RANK_NONEThis rank has no privileges assigned to it.static QueryObjectType<JobDefinitionParameter>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).- 
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntityACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String[]evaluateDefaultExpressionForToArrayFunction()Special method, which attempts to evaluate an Array.toXXXArray default expression of the JobDefinitionParameter and converts it to String[] or null.LonggetArrayMaxLength()Get the value for ArrayMaxLength.LonggetArrayMinLength()Get the value for ArrayMinLength.LonggetDataLength()Get the value for DataLength.LonggetDataPrecision()Get the value for DataPrecision.LonggetDataScale()Get the value for DataScale.ParameterTypegetDataType()Get the value for DataType.StringgetDefaultExpression()Get the value for DefaultExpression.ValueEditablegetDefaultValueEditable()Get the value for DefaultValueEditable.ParameterDirectiongetDirection()Get the value for Direction.LonggetDisplayOrder()Get the value for DisplayOrder.EditableTypegetEditable()Deprecated.This value is not used by the product, usegetDefaultValueEditable()insteadStringgetGroupName()Get the value for GroupName.JobDefinitiongetJobDefinition()Get the JobDefinition.StringgetJobDefinitionParameterSubType()Get the value for JobDefinitionParameterSubType.StringgetJobFormat()Get the value for JobFormat.JobChainCallInExpressionParametergetLocalJobChainCallInExpressionParameterByJobChainCall(JobChainCall jobChainCall)Get the JobChainCallInExpressionParameter by DestinationJobDefinitionParameter.RWIterable<JobChainCallInExpressionParameter>getLocalJobChainCallInExpressionParameters()Get anRWIterableover an ordered collection ofLocalJobChainCallInExpressionParameters.JobChainCallInReferenceParametergetLocalJobChainCallInReferenceParameterByJobChainCall(JobChainCall jobChainCall)Get the JobChainCallInReferenceParameter by DestinationJobDefinitionParameter.RWIterable<JobChainCallInReferenceParameter>getLocalJobChainCallInReferenceParameters()Get anRWIterableover an ordered collection ofLocalJobChainCallInReferenceParameters.RWIterable<JobChainCallOutReferenceParameter>getLocalJobChainCallOutReferenceParameters()Get anRWIterableover an ordered collection ofLocalJobChainCallOutReferenceParameters.ParameterMappingTypegetParameterMappingType()Get the value for ParameterMappingType.StringgetSimpleConstraintData()Get the value for SimpleConstraintData.StringgetSimpleConstraintMessage()Get the value for SimpleConstraintMessage.SimpleConstraintSortgetSimpleConstraintSort()Get the value for SimpleConstraintSort.SimpleConstraintTypegetSimpleConstraintType()Get the value for SimpleConstraintType.RWIterable<JobChainCallOutReferenceParameter>getSourceJobChainCallOutReferenceParameters()Get anRWIterableover an ordered collection ofSourceJobChainCallOutReferenceParameters.RWIterable<JobChainCallInReferenceParameter>getTargetJobChainCallInReferenceParameters()Get anRWIterableover an ordered collection ofTargetJobChainCallInReferenceParameters.booleanisArray()Get the value for Array.booleanisArrayDuplicateValuesAllowed()Get the value for ArrayDuplicateValuesAllowed.booleanisArraySorted()Get the value for ArraySorted.booleanisDisplay()Get the value for Display.booleanisNullable()Get the value for Nullable.booleanisPartOfKey()Get the value for PartOfKey.booleanisPassword()Get the value for Password.booleanisRuntime()Get the value for Runtime.booleanisSimpleConstraintOptional()Get the value for SimpleConstraintOptional.voidsetArray(boolean newArray)Set the value for Array.voidsetArrayDuplicateValuesAllowed(boolean newArrayDuplicateValuesAllowed)Set the value for ArrayDuplicateValuesAllowed.voidsetArrayMaxLength(Long newArrayMaxLength)Set the value for ArrayMaxLength.voidsetArrayMinLength(Long newArrayMinLength)Set the value for ArrayMinLength.voidsetArraySorted(boolean newArraySorted)Set the value for ArraySorted.voidsetDataLength(Long newDataLength)Set the value for DataLength.voidsetDataPrecision(Long newDataPrecision)Set the value for DataPrecision.voidsetDataScale(Long newDataScale)Set the value for DataScale.voidsetDataType(ParameterType newDataType)Set the value for DataType.voidsetDefaultExpression(String newDefaultExpression)Set the value for DefaultExpression.voidsetDefaultValueEditable(ValueEditable newDefaultValueEditable)Set the value for DefaultValueEditable.voidsetDirection(ParameterDirection newDirection)Set the value for Direction.voidsetDisplay(boolean newDisplay)Set the value for Display.voidsetDisplayOrder(Long newDisplayOrder)Set the value for DisplayOrder.voidsetEditable(EditableType newEditable)Deprecated.This value is not used by the product, usegetDefaultValueEditable()insteadvoidsetGroupName(String newGroupName)Set the value for GroupName.voidsetJobDefinitionParameterSubType(String newJobDefinitionParameterSubType)Set the value for JobDefinitionParameterSubType.voidsetJobFormat(String newJobFormat)Set the value for JobFormat.voidsetNullable(boolean newNullable)Set the value for Nullable.voidsetParameterMappingType(ParameterMappingType newParameterMappingType)Set the value for ParameterMappingType.voidsetPartOfKey(boolean newPartOfKey)Set the value for PartOfKey.voidsetPassword(boolean newPassword)Set the value for Password.voidsetRuntime(boolean newRuntime)Set the value for Runtime.voidsetSimpleConstraintData(String newSimpleConstraintData)Set the value for SimpleConstraintData.voidsetSimpleConstraintMessage(String newSimpleConstraintMessage)Set the value for SimpleConstraintMessage.voidsetSimpleConstraintOptional(boolean newSimpleConstraintOptional)Set the value for SimpleConstraintOptional.voidsetSimpleConstraintSort(SimpleConstraintSort newSimpleConstraintSort)Set the value for SimpleConstraintSort.voidsetSimpleConstraintType(SimpleConstraintType newSimpleConstraintType)Set the value for SimpleConstraintType.- 
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObjectgetBusinessKey
 - 
Methods inherited from interface com.redwood.scheduler.api.model.NamedDetailObjectgetComment, getDescription, getName, getSearchName, setComment, setDescription, setName
 - 
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntitycanPerform, 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_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "JobDefinitionParameter" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<JobDefinitionParameter> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
BEHAVIOR_REACTIONstatic final Long BEHAVIOR_REACTION Behavior for parameters that were created when the job became a reaction type. When a jobdefinition is of a Reaction type, it will get default parameters that are being used by the reaction type. To make sure these parameters are detected by the reaction helper, the behavior is set to this one.
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges:- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getDataLengthLong getDataLength() Get the value for DataLength. (The maximum length that a string parameter can be. If this value is null then the length will not be checked. This value is ignored for non-string parameters.)- 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.
 
 - 
getDataPrecisionLong getDataPrecision() Get the value for DataPrecision. (The precision, or the total number of digits. Currently this field is ignored. Setting this value to anything other than null may cause unexpected behaviour in future releases.)- 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.
 
 - 
getDataScaleLong getDataScale() Get the value for DataScale. (The number of digits to the right of the decimal pointi. Currently this field is ignored. Setting this value to anything other than null may cause unexpected behaviour in future releases.)- 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.
 
 - 
getDataTypeParameterType getDataType() Get the value for DataType. (The datatype of the parameter) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- 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.
 
 - 
getDefaultExpressionString getDefaultExpression() Get the value for DefaultExpression. (The definition of the default parameter value. The interpretation of this expression is based upon the DefaultExpressionType.)- 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.
 
 - 
getDefaultValueEditableValueEditable getDefaultValueEditable() Get the value for DefaultValueEditable. (When is the DefaultValue Editable.)- 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.
 
 - 
getDirectionParameterDirection getDirection() Get the value for Direction. (What direction is the parameter passed.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- 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.
 
 - 
getSimpleConstraintTypeSimpleConstraintType getSimpleConstraintType() Get the value for SimpleConstraintType. (The type of simple constraint to apply.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- 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.
 
 - 
getSimpleConstraintDataString getSimpleConstraintData() Get the value for SimpleConstraintData. (The data for the simple constraint.)- 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.
 
 - 
getSimpleConstraintMessageString getSimpleConstraintMessage() Get the value for SimpleConstraintMessage. (The message to display if the simple constraint fails to validate.)- 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.
 
 - 
isSimpleConstraintOptionalboolean isSimpleConstraintOptional() Get the value for SimpleConstraintOptional. (Is the constraint optional?)- 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.
 
 - 
getSimpleConstraintSortSimpleConstraintSort getSimpleConstraintSort() Get the value for SimpleConstraintSort. (Sort order of constraint.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- 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.
 
 - 
isDisplayboolean isDisplay() Get the value for Display. (Is the parameter displayed?)- 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.
 
 - 
isPasswordboolean isPassword() Get the value for Password. (Is the parameter concealed?)- 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.
 
 - 
getDisplayOrderLong getDisplayOrder() Get the value for DisplayOrder. (In which position is this parameter displayed by a front end?) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- 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.
 
 - 
getEditable@Deprecated EditableType getEditable() Deprecated.This value is not used by the product, usegetDefaultValueEditable()insteadGet the value for Editable. (Deprecated Method, do not use, this value is not used in the product. This method remains purely for binary compatibility concerns.) This value is mandatory, and therefore will not be nullif this object has been retrieved from the database.- 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.
 
 - 
getGroupNameString getGroupName() Get the value for GroupName. (The GUI name of the parameter group)- 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.
 
 - 
isPartOfKeyboolean isPartOfKey() Get the value for PartOfKey. (Is this a parameter a part of the key for this JobDefinition? That is if getJobDefinition().getKeepType() == JobDefinitionKeepType.Key, then should this parameter be used to filter the results.)- 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.
 
 - 
isNullableboolean isNullable() Get the value for Nullable. (Is the parameter optional?)- 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.
 
 - 
isRuntimeboolean isRuntime() Get the value for Runtime. (Is the parameter determined at runtime?)- 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.
 
 - 
getJobFormatString getJobFormat() Get the value for JobFormat. (The format mask for the parameter in which the Job uses its 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.
 
 - 
isArrayboolean isArray() Get the value for Array. (If true, the parameter is an array parameter.)- 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.
 
 - 
getArrayMinLengthLong getArrayMinLength() Get the value for ArrayMinLength. (The minimum length the array must have, defaults to 0.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- 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.
 
 - 
getArrayMaxLengthLong getArrayMaxLength() Get the value for ArrayMaxLength. (The maximum length the array must have, no default.)- 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.
 
 - 
isArrayDuplicateValuesAllowedboolean isArrayDuplicateValuesAllowed() Get the value for ArrayDuplicateValuesAllowed. (If true, duplicates are allowed. Defaults to false.)- 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.
 
 - 
isArraySortedboolean isArraySorted() Get the value for ArraySorted. (If true, the elements in the array are sorted in natural order. Defaults to true.)- 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.
 
 - 
getParameterMappingTypeParameterMappingType getParameterMappingType() Get the value for ParameterMappingType. (The role this parameter plays in JobChain parameter mappings. Used by the JobChain editor.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- 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.
 
 - 
getJobDefinitionParameterSubTypeString getJobDefinitionParameterSubType() Get the value for JobDefinitionParameterSubType. ( The sub type of the parameter, contains a weak reference to JobDefinitionParameterSubType. )- 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.
 
 - 
setDataLengthvoid setDataLength(Long newDataLength) Set the value for DataLength. (The maximum length that a string parameter can be. If this value is null then the length will not be checked. This value is ignored for non-string parameters.) This value is optional.- Parameters:
- newDataLength- the new value for DataLength.
- 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.
 
 - 
setDataPrecisionvoid setDataPrecision(Long newDataPrecision) Set the value for DataPrecision. (The precision, or the total number of digits. Currently this field is ignored. Setting this value to anything other than null may cause unexpected behaviour in future releases.) This value is optional.- Parameters:
- newDataPrecision- the new value for DataPrecision.
- 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.
 
 - 
setDataScalevoid setDataScale(Long newDataScale) Set the value for DataScale. (The number of digits to the right of the decimal pointi. Currently this field is ignored. Setting this value to anything other than null may cause unexpected behaviour in future releases.) This value is optional.- Parameters:
- newDataScale- the new value for DataScale.
- 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.
 
 - 
setDataTypevoid setDataType(ParameterType newDataType) Set the value for DataType. (The datatype of the parameter) This value is mandatory.- Parameters:
- newDataType- the new value for DataType. If this is- null, then the object cannot be persisted.
- 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.
 
 - 
setDefaultExpressionvoid setDefaultExpression(String newDefaultExpression) Set the value for DefaultExpression. (The definition of the default parameter value. The interpretation of this expression is based upon the DefaultExpressionType.) This value is optional.- Parameters:
- newDefaultExpression- the new value for DefaultExpression.
- 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.
 
 - 
setDefaultValueEditablevoid setDefaultValueEditable(ValueEditable newDefaultValueEditable) Set the value for DefaultValueEditable. (When is the DefaultValue Editable.) This value is optional.- Parameters:
- newDefaultValueEditable- the new value for DefaultValueEditable.
- 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.
 
 - 
setDirectionvoid setDirection(ParameterDirection newDirection) Set the value for Direction. (What direction is the parameter passed.) This value is mandatory.- Parameters:
- newDirection- the new value for Direction. If this is- null, then the object cannot be persisted.
- 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.
 
 - 
setSimpleConstraintTypevoid setSimpleConstraintType(SimpleConstraintType newSimpleConstraintType) Set the value for SimpleConstraintType. (The type of simple constraint to apply.) This value is mandatory.- Parameters:
- newSimpleConstraintType- the new value for SimpleConstraintType. If this is- null, then the object cannot be persisted.
- 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.
 
 - 
setSimpleConstraintDatavoid setSimpleConstraintData(String newSimpleConstraintData) Set the value for SimpleConstraintData. (The data for the simple constraint.) This value is optional.- Parameters:
- newSimpleConstraintData- the new value for SimpleConstraintData.
- 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.
 
 - 
setSimpleConstraintMessagevoid setSimpleConstraintMessage(String newSimpleConstraintMessage) Set the value for SimpleConstraintMessage. (The message to display if the simple constraint fails to validate.) This value is optional.- Parameters:
- newSimpleConstraintMessage- the new value for SimpleConstraintMessage.
- 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.
 
 - 
setSimpleConstraintOptionalvoid setSimpleConstraintOptional(boolean newSimpleConstraintOptional) Set the value for SimpleConstraintOptional. (Is the constraint optional?)- Parameters:
- newSimpleConstraintOptional- the new value for SimpleConstraintOptional.
- 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.
 
 - 
setSimpleConstraintSortvoid setSimpleConstraintSort(SimpleConstraintSort newSimpleConstraintSort) Set the value for SimpleConstraintSort. (Sort order of constraint.) This value is mandatory.- Parameters:
- newSimpleConstraintSort- the new value for SimpleConstraintSort. If this is- null, then the object cannot be persisted.
- 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.
 
 - 
setDisplayvoid setDisplay(boolean newDisplay) Set the value for Display. (Is the parameter displayed?)- Parameters:
- newDisplay- the new value for Display.
- 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.
 
 - 
setPasswordvoid setPassword(boolean newPassword) Set the value for Password. (Is the parameter concealed?)- Parameters:
- newPassword- the new value for Password.
- 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.
 
 - 
setDisplayOrdervoid setDisplayOrder(Long newDisplayOrder) Set the value for DisplayOrder. (In which position is this parameter displayed by a front end?) This value is mandatory.- Parameters:
- newDisplayOrder- the new value for DisplayOrder. If this is- null, then the object cannot be persisted.
- 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.
 
 - 
setEditable@Deprecated void setEditable(EditableType newEditable) Deprecated.This value is not used by the product, usegetDefaultValueEditable()insteadSet the value for Editable. (Deprecated Method, do not use, this value is not used in the product. This method remains purely for binary compatibility concerns.) This value is mandatory. - Parameters:
- newEditable- the new value for Editable. If this is- null, then the object cannot be persisted.
- 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.
 
 - 
setGroupNamevoid setGroupName(String newGroupName) Set the value for GroupName. (The GUI name of the parameter group) This value is optional.- Parameters:
- newGroupName- the new value for GroupName.
- 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.
 
 - 
setPartOfKeyvoid setPartOfKey(boolean newPartOfKey) Set the value for PartOfKey. (Is this a parameter a part of the key for this JobDefinition? That is if getJobDefinition().getKeepType() == JobDefinitionKeepType.Key, then should this parameter be used to filter the results.)- Parameters:
- newPartOfKey- the new value for PartOfKey.
- 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.
 
 - 
setNullablevoid setNullable(boolean newNullable) Set the value for Nullable. (Is the parameter optional?)- Parameters:
- newNullable- the new value for Nullable.
- 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.
 
 - 
setRuntimevoid setRuntime(boolean newRuntime) Set the value for Runtime. (Is the parameter determined at runtime?)- Parameters:
- newRuntime- the new value for Runtime.
- 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.
 
 - 
setJobFormatvoid setJobFormat(String newJobFormat) Set the value for JobFormat. (The format mask for the parameter in which the Job uses its value.) This value is optional.- Parameters:
- newJobFormat- the new value for JobFormat.
- 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.
 
 - 
setArrayvoid setArray(boolean newArray) Set the value for Array. (If true, the parameter is an array parameter.)- Parameters:
- newArray- the new value for Array.
- 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.
 
 - 
setArrayMinLengthvoid setArrayMinLength(Long newArrayMinLength) Set the value for ArrayMinLength. (The minimum length the array must have, defaults to 0.) This value is mandatory.- Parameters:
- newArrayMinLength- the new value for ArrayMinLength. If this is- null, then the object cannot be persisted.
- 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.
 
 - 
setArrayMaxLengthvoid setArrayMaxLength(Long newArrayMaxLength) Set the value for ArrayMaxLength. (The maximum length the array must have, no default.) This value is optional.- Parameters:
- newArrayMaxLength- the new value for ArrayMaxLength.
- 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.
 
 - 
setArrayDuplicateValuesAllowedvoid setArrayDuplicateValuesAllowed(boolean newArrayDuplicateValuesAllowed) Set the value for ArrayDuplicateValuesAllowed. (If true, duplicates are allowed. Defaults to false.)- Parameters:
- newArrayDuplicateValuesAllowed- the new value for ArrayDuplicateValuesAllowed.
- 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.
 
 - 
setArraySortedvoid setArraySorted(boolean newArraySorted) Set the value for ArraySorted. (If true, the elements in the array are sorted in natural order. Defaults to true.)- Parameters:
- newArraySorted- the new value for ArraySorted.
- 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.
 
 - 
setParameterMappingTypevoid setParameterMappingType(ParameterMappingType newParameterMappingType) Set the value for ParameterMappingType. (The role this parameter plays in JobChain parameter mappings. Used by the JobChain editor.) This value is mandatory.- Parameters:
- newParameterMappingType- the new value for ParameterMappingType. If this is- null, then the object cannot be persisted.
- 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.
 
 - 
setJobDefinitionParameterSubTypevoid setJobDefinitionParameterSubType(String newJobDefinitionParameterSubType) Set the value for JobDefinitionParameterSubType. ( The sub type of the parameter, contains a weak reference to JobDefinitionParameterSubType. ) This value is optional.- Parameters:
- newJobDefinitionParameterSubType- the new value for JobDefinitionParameterSubType.
- 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.
 
 - 
evaluateDefaultExpressionForToArrayFunctionString[] evaluateDefaultExpressionForToArrayFunction() Special method, which attempts to evaluate an Array.toXXXArray default expression of the JobDefinitionParameter and converts it to String[] or null. If the parameter is not an array parameter throws a RuntimeException. If the expression is null, the method returns null. If the expression is a literal value the method returns an array with 1 element (the literal value). If the expression contains non-literal parameters (e.g another function call), the array will contain the function call as element. If compiling fails, or conversion of array parameters fails, the method returns null. If however the expression contains valid literals or some function calls, for example: =Array.toStringArray('a','b','c') returns an array with 3 elements: 'a', 'b' and 'c'. Another example: =Array.toNumberArray('1',2,Custom_Lib.getNumberValue()) returns an array with 3 elements: '1', 2 and Custom_Lib.getNumberValue() Note: This method will never evaluate non-literals (function calls) of the toXXXArray functions, to prevent side-effects. Strings will be returned quotes as they originally were.- Returns:
- String array or null
 
 - 
getJobDefinitionJobDefinition getJobDefinition() Get the JobDefinition.- Returns:
- JobDefinition
- 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.
 
 - 
getTargetJobChainCallInReferenceParametersRWIterable<JobChainCallInReferenceParameter> getTargetJobChainCallInReferenceParameters() Get anRWIterableover an ordered collection ofTargetJobChainCallInReferenceParameters. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The JobDefinitionParameter that this JobChainCallInReferenceParameter will read the results of. It must be associated with the this.getSourceJobChainCall().getJobDefinition() or with this.getJobChain().- Specified by:
- getTargetJobChainCallInReferenceParametersin interface- JobDefinitionParameterComp
- Returns:
- An RWIterableover an ordered collection ofJobChainCallInReferenceParameterobjects .
 
 - 
getSourceJobChainCallOutReferenceParametersRWIterable<JobChainCallOutReferenceParameter> getSourceJobChainCallOutReferenceParameters() Get anRWIterableover an ordered collection ofSourceJobChainCallOutReferenceParameters. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The JobChains JobDefinitionParameter that this JobChainCallOutParameter will update. This must be associated with this.getJobChainCall().getJobChainStep().getJobChain().getJobDefinition().- Specified by:
- getSourceJobChainCallOutReferenceParametersin interface- JobDefinitionParameterComp
- Returns:
- An RWIterableover an ordered collection ofJobChainCallOutReferenceParameterobjects .
 
 - 
getLocalJobChainCallInExpressionParametersRWIterable<JobChainCallInExpressionParameter> getLocalJobChainCallInExpressionParameters() Get anRWIterableover an ordered collection ofLocalJobChainCallInExpressionParameters. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The JobDefinitionParameter that this JobChainCallParameter will read or update.- Specified by:
- getLocalJobChainCallInExpressionParametersin interface- JobDefinitionParameterComp
- Returns:
- An RWIterableover an ordered collection ofJobChainCallInExpressionParameterobjects .
 
 - 
getLocalJobChainCallInExpressionParameterByJobChainCallJobChainCallInExpressionParameter getLocalJobChainCallInExpressionParameterByJobChainCall(JobChainCall jobChainCall) Get the JobChainCallInExpressionParameter by DestinationJobDefinitionParameter.- Parameters:
- jobChainCall-
- Returns:
- the JobChainCallInExpressionParameter, or nullif it could not be found
 
 - 
getLocalJobChainCallInReferenceParametersRWIterable<JobChainCallInReferenceParameter> getLocalJobChainCallInReferenceParameters() Get anRWIterableover an ordered collection ofLocalJobChainCallInReferenceParameters. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The JobDefinitionParameter that this JobChainCallParameter will read or update.- Specified by:
- getLocalJobChainCallInReferenceParametersin interface- JobDefinitionParameterComp
- Returns:
- An RWIterableover an ordered collection ofJobChainCallInReferenceParameterobjects .
 
 - 
getLocalJobChainCallInReferenceParameterByJobChainCallJobChainCallInReferenceParameter getLocalJobChainCallInReferenceParameterByJobChainCall(JobChainCall jobChainCall) Get the JobChainCallInReferenceParameter by DestinationJobDefinitionParameter.- Parameters:
- jobChainCall-
- Returns:
- the JobChainCallInReferenceParameter, or nullif it could not be found
 
 - 
getLocalJobChainCallOutReferenceParametersRWIterable<JobChainCallOutReferenceParameter> getLocalJobChainCallOutReferenceParameters() Get anRWIterableover an ordered collection ofLocalJobChainCallOutReferenceParameters. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The JobDefinitionParameter that this JobChainCallParameter will read or update.- Specified by:
- getLocalJobChainCallOutReferenceParametersin interface- JobDefinitionParameterComp
- Returns:
- An RWIterableover an ordered collection ofJobChainCallOutReferenceParameterobjects .
 
 
- 
 
-