public class EventTaskTrigger extends CloneableDataObject
Title: Service Event Fabric Core
Description: Implements the EventTaskTrigger
interface.
Copyright: Copyright (c) 2013
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Modifier and Type | Method and Description |
---|---|
void |
disable()
Disables the trigger (breaks processing of the current event).
|
void |
enable()
Enables the trigger.
|
boolean |
equals(java.lang.Object other) |
java.lang.String |
getAuthor()
Returns a name of the user that created this object.
|
java.util.Date |
getCreationTime()
Returns a timestamp indicating when the object was created.
|
java.lang.String |
getDescription()
Returns a description of the object.
|
DispatchMode |
getDispatchMode()
Returns a dispatch mode of the trigger.
|
EventScope |
getEventScope()
Returns an event scope of the trigger.
|
java.lang.String |
getEventSelector()
Returns an event selector that is used by the trigger to filter incoming events.
|
java.lang.String |
getJobName()
Returns a name of the job associated with the the trigger
If the name is set the trigger will process only events raised by this job. |
java.util.Date |
getLastUpdateTime()
Returns a timestamp indicating when the object was updated last time.
|
java.lang.String |
getListName()
Returns a name of the task list associated with the the trigger
If the name is set the trigger will process only events raised by this task list. |
java.lang.String |
getName()
Returns a name of the object.
|
java.lang.String |
getNodeName()
Returns a name of the Fabric node associated with the the trigger.
|
java.util.UUID |
getOID()
Returns an unique identifier of the object.
|
java.lang.String |
getOwner()
Returns a name of the owner (user or group) of the object.
|
java.lang.String |
getScript()
Returns the
RPL script of the trigger. |
java.lang.String |
getTaskName()
Returns a name of the task associated with the the trigger
If the name is set the trigger will process only events raised by this task. |
java.lang.String |
getUserName()
Returns a name of the user associated with the the trigger.
|
boolean |
isEnabled()
Checks if the trigger is enabled.
|
void |
setDescription(java.lang.String description)
Sets the specified description of the object.
|
void |
setDispatchMode(DispatchMode dispatchMode)
Sets a dispatch mode of the trigger.
|
void |
setEventScope(EventScope eventScope)
Sets an event scope of the trigger.
|
void |
setJobName(java.lang.String jobName)
Sets a name of the job associated with the the trigger.
|
void |
setListName(java.lang.String listName)
Sets a name of the task list associated with the the trigger.
|
void |
setName(java.lang.String name)
Sets the specified object name.
|
void |
setNodeName(java.lang.String nodeName)
Sets a name of the Fabric node associated with the the trigger.
|
void |
setScript(java.lang.String script)
Sets the
RPL of the trigger. |
void |
setTaskName(java.lang.String taskName)
Sets a name of the task associated with the the trigger.
|
void |
setUserName(java.lang.String userName)
Sets a name of the user associated with the the trigger.
|
java.lang.String |
toString() |
clone, getSerialVersionUID
public java.lang.String getJobName()
public void setJobName(java.lang.String jobName) throws SchedulerException
jobName
- the job name to be set.SchedulerException
- if the trigger is enabled.public java.lang.String getListName()
public void setListName(java.lang.String listName) throws SchedulerException
listName
- the task list name to be set.SchedulerException
- if the trigger is enabled.public java.lang.String getTaskName()
public void setTaskName(java.lang.String taskName) throws SchedulerException
taskName
- the task name to be set.SchedulerException
- if the trigger is enabled.public java.lang.String getNodeName()
public void setNodeName(java.lang.String nodeName) throws SchedulerException
nodeName
- the node name to be set.SchedulerException
- if the trigger is enabled.public java.lang.String getUserName()
public void setUserName(java.lang.String userName) throws SchedulerException
nodeName
- the user name to be set.SchedulerException
- if the trigger is enabled.public EventScope getEventScope()
OBSERVABLE
.public void setEventScope(EventScope eventScope) throws SchedulerException
eventScope
- the event scope to be set.SchedulerException
- if the trigger is enabled.public DispatchMode getDispatchMode()
ASYNC
.public void setDispatchMode(DispatchMode dispatchMode) throws SchedulerException
dispatchMode
- the dispatch mode to be set.SchedulerException
- if the trigger is enabled.public java.lang.String getScript()
RPL
script of the trigger.RPL
script.public void setScript(java.lang.String script) throws SchedulerException
RPL
of the trigger.script
- the script to be set.SchedulerException
- if the trigger is enabled.public boolean isEnabled()
true
if the trigger is enabled, false
otherwise.public void enable() throws SchedulerException
If the trigger is already enabled this method will do nothing.
SchedulerException
- if some error occurs.public java.lang.String getEventSelector() throws SchedulerException
SchedulerException
public void disable()
If the trigger is already disabled this method will do nothing.
public java.lang.String toString()
public java.util.UUID getOID()
SchedulerObject
getOID
in interface SchedulerObject
public java.lang.String getName()
NamedObject
getName
in interface NamedObject
public void setName(java.lang.String name) throws SchedulerException
DescribedNamedObject
setName
in interface DescribedNamedObject
name
- the name to be set.SchedulerException
- if the name has wrong format.public java.lang.String getDescription()
DescribedNamedObject
getDescription
in interface DescribedNamedObject
public void setDescription(java.lang.String description)
DescribedNamedObject
setDescription
in interface DescribedNamedObject
description
- the value to be set.public java.lang.String getAuthor()
SchedulerObject
getAuthor
in interface SchedulerObject
public java.lang.String getOwner()
SchedulerObject
getOwner
in interface SchedulerObject
public java.util.Date getCreationTime()
SchedulerObject
getCreationTime
in interface SchedulerObject
public java.util.Date getLastUpdateTime()
SchedulerObject
getLastUpdateTime
in interface SchedulerObject
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.