org.jbpm.jpdl.exe
Class MilestoneInstance
java.lang.Object
org.jbpm.jpdl.exe.MilestoneInstance
- All Implemented Interfaces:
- Serializable
public class MilestoneInstance
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected long id
name
protected String name
reached
protected boolean reached
token
protected Token token
listeners
protected Collection listeners
MilestoneInstance
public MilestoneInstance()
MilestoneInstance
public MilestoneInstance(String name)
getMilestoneInstance
public static MilestoneInstance getMilestoneInstance(String milestoneName,
Token token)
addListener
public void addListener(Token token)
notifyListeners
public void notifyListeners()
getId
public long getId()
setId
public void setId(long id)
- Deprecated. database identified is not meant to be mutable
- This method has no effect.
getListeners
public Collection getListeners()
setListeners
public void setListeners(Collection listeners)
getName
public String getName()
setName
public void setName(String name)
isReached
public boolean isReached()
setReached
public void setReached(boolean reached)
getToken
public Token getToken()
setToken
public void setToken(Token token)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.