Package com.uc4.api.objects
Class RuleEvent
java.lang.Object
com.uc4.api.objects.UC4Object
com.uc4.api.objects.RuleEvent
- All Implemented Interfaces:
LifecycleSaveAware
IA Event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled 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.booleanReturnstrueif this Object can be executed.booleanbooleanprotected voidloadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session) rollback()This method provides access to the rollback tab of an executable object.runtime()Returns runtime information of this job.voidsetEventProcess(String script) Sets the content of the "!Process" tab.voidWhen this method is called the remains active after the first condition applied.voidWhen this method is called the EVENT ends when specified condition applies.voidsetProcess(String script) Sets the content of the "Process" tab.settings()Provides the settings of an IAEvent for read and write operations.protected voidstoreContent(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) syncs()Returns aSyncListobject which contains sync conditions of this object.values()Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validate
-
Constructor Details
-
RuleEvent
public RuleEvent()
-
-
Method Details
-
loadContent
-
rollback
This method provides access to the rollback tab of an executable object.- Returns:
- Rollback settings
-
storeContent
protected void storeContent(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) -
settings
Provides the settings of an IAEvent for read and write operations.- Returns:
- the IA Event settings
-
isExecutionRepeated
public boolean isExecutionRepeated()- Returns:
- true if EVENT should remain active after the first condition applied.
-
isExecutionUntilFirstHit
public boolean isExecutionUntilFirstHit()- Returns:
- true if the EVENT ends when specified condition applies.
-
setExecutionRepeated
public void setExecutionRepeated()When this method is called the remains active after the first condition applied. -
setExecutionUntilFirstHit
public void setExecutionUntilFirstHit()When this method is called the EVENT ends when specified condition applies. -
header
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
syncs
Returns aSyncListobject 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:UC4ObjectReturnstrueif this Object can be executed.- Specified by:
isExecutablein classUC4Object- Returns:
- true if the Object can be executed, false if not.
-
afterSaveObject
public void afterSaveObject()Description copied from interface:LifecycleSaveAwareCalled after an object is saved.- Specified by:
afterSaveObjectin interfaceLifecycleSaveAware
-