net.dpml.transit.model
Class HostPriorityEvent
java.lang.Object
java.util.EventObject
net.dpml.transit.model.HostEvent
net.dpml.transit.model.HostPriorityEvent
- All Implemented Interfaces:
- Serializable
- public class HostPriorityEvent
- extends HostEvent
An event signalling the change in priority of a host.
- Version:
- 1.0.1
- Author:
- Digital Product Meta Library
- See Also:
- Serialized Form
Method Summary |
int |
getPriority()
Return the new host priority value. |
HostPriorityEvent
public HostPriorityEvent(HostModel host,
int priority)
- Creation of a new host priority change event.
- Parameters:
host
- the host that was changedpriority
- the new host prority value
getPriority
public int getPriority()
- Return the new host priority value.
- Returns:
- the assigned host prority