|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.types.AbstractTimeRestrictions
com.ibm.tws.objects.model.types.TimeRestrictions
This class includes the information required to describe the time restrictions of a job or run cycle.
The following syntax validation constraints must be met on TimeRestrictions objects in distributed environment:
isTimeDependent | Default value is false |
startOffset | An amount of time, expressed in milliseconds |
Allowed range is from 0 to 8,640,000,000 (0-100 days) | |
Lower than latestStartOffset (in the same day) | |
Default is TypeUtility.NULL_OFFSET, used as a null value | |
deadlineOffset | An amount of time, expressed in milliseconds |
Allowed range is from 0 to 8,640,000,000 (0-100 days) | |
Default is TypeUtility.NULL_OFFSET, used as a null value | |
latestStartOffset | An amount of time, expressed in milliseconds |
Allowed range is from 0 to 8,640,000,000 (0-100 days) | |
Lower than deadlineOffset (in the same day) | |
Default is TypeUtility.NULL_OFFSET, used as a null value | |
latestStartAction | One of the values exposed by the LateAction class |
Required if latestStartOffset is specified | |
Must be null if latestStartOffset is missing |
The following syntax validation constraints must be met on TimeRestrictions objects in z/OS environment:
isTimeDependent | Default value is false |
startOffset | An amount of time, expressed in milliseconds |
Allowed range is from 0 to 8,640,000,000 (0-100 days) | |
Lower than latestStartOffset (in the same day) | |
Default is TypeUtility.NULL_OFFSET, used as a null value | |
deadlineOffset | An amount of time, expressed in milliseconds |
Allowed range is from 0 to 8,640,000,000 (0-100 days) | |
Default is TypeUtility.NULL_OFFSET, used as a null value | |
latestStartOffset | N/A |
latestStartAction | N/A |
LateAction
,
TypeUtility
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
TimeRestrictions()
Creates an empty TimeRestrictions object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this TimeRestrictions object are equal to those of the given one. |
long |
getDeadlineOffset()
Returns the deadline offset. |
long |
getLatestStartOffset()
Returns the latest start offset. |
long |
getStartOffset()
Returns the start offset. |
int |
hashCode()
Returns a hash code for this TimeRestrictions object. |
void |
setDeadlineOffset(long value)
Sets the deadline offset. |
void |
setLatestStartOffset(long value)
Sets the latest start offset. |
void |
setStartOffset(long value)
Sets the start offset. |
java.lang.String |
toString()
Returns a string representation of this TimeRestrictions object. |
Methods inherited from class com.ibm.tws.objects.types.AbstractTimeRestrictions |
---|
getLatestStartAction, isTimeDependent, setLatestStartAction, setTimeDependent |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public TimeRestrictions()
Method Detail |
public long getStartOffset()
public long getDeadlineOffset()
public long getLatestStartOffset()
public void setStartOffset(long value)
value
- The start offset.public void setDeadlineOffset(long value)
value
- The deadline offset.public void setLatestStartOffset(long value)
value
- The latest start offset.public boolean equals(java.lang.Object object)
equals
in class AbstractTimeRestrictions
object
- The object to be compared with this one.
public int hashCode()
hashCode
in class AbstractTimeRestrictions
public java.lang.String toString()
toString
in class AbstractTimeRestrictions
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |