tml.storage
Class RepositoryEvent
java.lang.Object
java.util.EventObject
tml.storage.RepositoryEvent
- All Implemented Interfaces:
- java.io.Serializable
public class RepositoryEvent
- extends java.util.EventObject
This class represents an event that was fired by a Repository
and indicates the current step of the running process and the
maximum number of steps.
It also includes a descriptive name of the operation being
executed.
- Author:
- Jorge Villalon
- See Also:
- Serialized Form
Constructor Summary |
RepositoryEvent(java.lang.Object source,
java.lang.String action,
int curr,
int max)
|
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RepositoryEvent
public RepositoryEvent(java.lang.Object source,
java.lang.String action,
int curr,
int max)
getAction
public java.lang.String getAction()
setAction
public void setAction(java.lang.String action)
getCurrent
public int getCurrent()
setCurrent
public void setCurrent(int current)
getMaximum
public int getMaximum()
setMaximum
public void setMaximum(int maximum)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject