Package com.uc4.api.objects
Class TimeEvent
java.lang.Object
com.uc4.api.objects.UC4Object
com.uc4.api.objects.TimeEvent
- All Implemented Interfaces:
LifecycleSaveAware
Time Event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called after an object is saved.Returns the content of the "!Process" tab.Returns the content of the "Process" tab.header()
Returns the header data of this object.boolean
Returnstrue
if this Object can be executed.rollback()
This method provides access to the rollback tab of an executable object.runtime()
Returns runtime information of this job.void
setEventProcess
(String script) Sets the content of the "!Process" tab.void
setProcess
(String script) Sets the content of the "Process" tab.settings()
Returns the "Event" tab of this object.syncs()
Returns aSyncList
object which contains sync conditions of this object.void
validate()
Validates the object.values()
Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store
-
Constructor Details
-
TimeEvent
public TimeEvent()
-
-
Method Details
-
rollback
This method provides access to the rollback tab of an executable object.- Returns:
- Rollback settings
-
validate
Description copied from class:UC4Object
Validates the object. If the object is not valid anInvalidObjectException
is thrown.- Overrides:
validate
in classUC4Object
- Throws:
InvalidObjectException
- If the object is not valid
-
header
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
settings
Returns the "Event" tab of this object. The returned instance can be used to modify this Event.- Returns:
- EventSettings instance
-
syncs
Returns aSyncList
object which contains sync conditions of this object.- Returns:
- sync conditions
-
values
- Returns:
- Variables of this object
-
runtime
Returns runtime information of this job. This corresponds to the "Runtime" tab in the dialog client.- Returns:
- Runtime information
-
getProcess
Returns the content of the "Process" tab.- Returns:
- JCL
-
setProcess
Sets the content of the "Process" tab.- Parameters:
script
- Script
-
getEventProcess
Returns the content of the "!Process" tab.- Returns:
- JCL
-
setEventProcess
Sets the content of the "!Process" tab.- Parameters:
script
- Script
-
eventCalendar
- Returns:
- Calendar condition of this event
-
attributes
- Returns:
- "Attributes" tab of this event
-
isExecutable
public boolean isExecutable()Description copied from class:UC4Object
Returnstrue
if this Object can be executed.- Specified by:
isExecutable
in classUC4Object
- Returns:
- true if the Object can be executed, false if not.
-
afterSaveObject
public void afterSaveObject()Description copied from interface:LifecycleSaveAware
Called after an object is saved.- Specified by:
afterSaveObject
in interfaceLifecycleSaveAware
-