public class WaitNodeDetail extends NodeDetail
Constructor and Description |
---|
WaitNodeDetail() |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Create EventResponse records to monitor events to wait for.
|
void |
add()
Set new WFWait defaults - none
|
void |
addedAction(boolean wasPositive)
Once an action is added, no more can be.
|
boolean |
canTakeNegative()
Wait nodes can't have negative exits.
|
boolean |
canTakePositive()
Wait nodes can only have one exit which must be positive.
|
void |
deactivate()
Remove EventResponse records - one of the waited for events occurred.
|
void |
delete(long modifier)
Delete the wait list.
|
void |
removedAction(boolean wasPositive)
When the action is removed the node can take another.
|
void |
undelete()
Undo the delete of the wait list.
|
void |
validateNode(java.util.Vector<MXException> errs,
java.util.Hashtable<java.lang.String,java.lang.String> hinfo)
Validate a Wait node in a process.
|
getNode, getNodeDetail, isInput, isInteractive, isStart, isStop, isTask, isWait
public void validateNode(java.util.Vector<MXException> errs, java.util.Hashtable<java.lang.String,java.lang.String> hinfo) throws MXException, java.rmi.RemoteException
validateNode
in class NodeDetail
errs
- A vector of MXExceptions where there are problems in the process.
Any errors found will be added to this list.hinfo
- A hashtable of information that is passed throughout the validation processMXException
java.rmi.RemoteException
public boolean canTakePositive() throws MXException, java.rmi.RemoteException
canTakePositive
in class NodeDetail
MXException
java.rmi.RemoteException
public boolean canTakeNegative() throws MXException, java.rmi.RemoteException
canTakeNegative
in class NodeDetail
MXException
java.rmi.RemoteException
public void addedAction(boolean wasPositive) throws MXException, java.rmi.RemoteException
addedAction
in class NodeDetail
wasPositive
- Was a positive action added?MXException
java.rmi.RemoteException
public void removedAction(boolean wasPositive) throws MXException, java.rmi.RemoteException
removedAction
in class NodeDetail
wasPositive
- Was a positive action added?MXException
java.rmi.RemoteException
public void delete(long modifier) throws java.rmi.RemoteException, MXException
delete
in class NodeDetail
java.rmi.RemoteException
MXException
public void undelete() throws java.rmi.RemoteException, MXException
undelete
in class NodeDetail
java.rmi.RemoteException
MXException
public void add() throws java.rmi.RemoteException, MXException
add
in class NodeDetail
java.rmi.RemoteException
MXException
public void activate() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void deactivate() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException