|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.mft.workflow.Trigger
public class Trigger
Event trigger.
Constructor Summary | |
---|---|
Trigger()
Creates a new trigger instance. |
|
Trigger(Trigger that)
Copy constructor. |
Method Summary | |
---|---|
boolean |
getAllowErrorEvent()
Returns firing error event flag. |
ActionContext[] |
getContexts()
Returns actions contexts. |
java.lang.String |
getDescription()
Returns trigger description. |
java.lang.Class |
getEventClass()
Returns binded event class. |
Expression |
getExpression()
Returns trigger expression. |
java.lang.String |
getName()
Returns trigger name. |
void |
process(com.jscape.util.event.Event event)
Processes event. |
void |
setAllowErrorEvent(boolean value)
Sets firing error event flag. |
void |
setContexts(ActionContext[] value)
Sets action contexts. |
void |
setDescription(java.lang.String value)
Sets trigger description. |
void |
setDomain(com.jscape.inet.mft.common.Domain domain)
Sets trigger domain. |
void |
setEventClass(java.lang.Class value)
Sets binded event class. |
void |
setExpression(Expression value)
Sets trigger expression. |
void |
setName(java.lang.String value)
Sets trigger name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Trigger()
public Trigger(Trigger that)
that
- instance to copyMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String value)
value
- the trigger namepublic java.lang.String getDescription()
public void setDescription(java.lang.String value)
value
- the trigger descriptionpublic java.lang.Class getEventClass()
public void setEventClass(java.lang.Class value)
value
- the event classpublic Expression getExpression()
public void setExpression(Expression value)
value
- trigger expressionpublic ActionContext[] getContexts()
public void setContexts(ActionContext[] value)
value
- action contextspublic void setDomain(com.jscape.inet.mft.common.Domain domain)
domain
- trigger domainpublic boolean getAllowErrorEvent()
true
if error event firing allowed;
false
otherwisepublic void setAllowErrorEvent(boolean value)
value
- if true
trigger will fire error event if
error appears while trigger runpublic void process(com.jscape.util.event.Event event)
event
- event to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |