public class ConsoleEvent extends UC4Object implements LifecycleSaveAware
Constructor and Description |
---|
ConsoleEvent() |
Modifier and Type | Method and Description |
---|---|
void |
afterSaveObject()
Called after an object is saved.
|
EventAttributes |
attributes() |
ConsoleEventSetting |
console()
Access to the "Console" tab.
|
EventCalendar |
eventCalendar() |
java.lang.String |
getEventProcess()
Returns the content of the "!Process" tab.
|
java.lang.String |
getProcess()
Returns the content of the "Process" tab.
|
XHeader |
header()
Returns the header data of this object.
|
boolean |
isExecutable()
Returns
true if this Object can be executed. |
boolean |
isExecutionRepeated() |
boolean |
isExecutionUntilFirstHit() |
protected void |
loadContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
Rollback |
rollback()
This method provides access to the rollback tab of an executable object.
|
Runtime |
runtime()
Returns runtime information of this job.
|
void |
setConsoleType(ConsoleEventSetting console)
Sets the console settings for the specified host type.
|
void |
setEventProcess(java.lang.String script)
Sets the content of the "!Process" tab.
|
void |
setExecutionRepeated()
When this method is called the remains active after the first condition applied.
|
void |
setExecutionUntilFirstHit()
When this method is called the EVENT ends when specified condition applies.
|
void |
setProcess(java.lang.String script)
Sets the content of the "Process" tab.
|
protected void |
storeContent(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element objectElement,
ConnectionAttributes sessionInfo)
Stores the object specific data under the
objectElement element. |
SyncList |
syncs()
Returns a
SyncList object which contains sync conditions
of this object. |
ObjectValues |
values() |
protected void loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
public Rollback rollback()
protected void storeContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)
UC4Object
objectElement
element.doc
- XML Document, used to create subelementsobjectElement
- the newly created elements are children of the objectElement
elementsessionInfo
- Information about the current sessionpublic ConsoleEventSetting console()
ConsoleEventSetting
in order to be able to set or read
fields that are specific to a host type.public void setConsoleType(ConsoleEventSetting console)
console
- Sub class of ConsoleEventSettingpublic boolean isExecutionRepeated()
public boolean isExecutionUntilFirstHit()
public void setExecutionRepeated()
public void setExecutionUntilFirstHit()
public XHeader header()
public SyncList syncs()
SyncList
object which contains sync conditions
of this object.public ObjectValues values()
public Runtime runtime()
public java.lang.String getProcess()
public void setProcess(java.lang.String script)
script
- Scriptpublic java.lang.String getEventProcess()
public void setEventProcess(java.lang.String script)
script
- Scriptpublic EventCalendar eventCalendar()
public EventAttributes attributes()
public boolean isExecutable()
UC4Object
true
if this Object can be executed.isExecutable
in class UC4Object
public void afterSaveObject()
LifecycleSaveAware
afterSaveObject
in interface LifecycleSaveAware