net.sourceforge.basher.events
Class PhaseTransitionEvent
java.lang.Object
java.util.EventObject
net.sourceforge.basher.events.BasherEvent
net.sourceforge.basher.events.PhaseTransitionEvent
- All Implemented Interfaces:
- Serializable
public class PhaseTransitionEvent
- extends BasherEvent
Signals a phase transition within the system. The event carries information about the phase transition, the next run
duration and the applicable BasherContext.
- Version:
- $Revision$
- Author:
- Johan Lindquist
- See Also:
- Serialized Form
PhaseTransitionEvent
public PhaseTransitionEvent(BasherContext basherContext,
Phase oldPhase,
Phase newPhase,
long durationNextPhase)
- Parameters:
basherContext - oldPhase - newPhase - durationNextPhase -
getDurationNextPhase
public long getDurationNextPhase()
getBasherContext
public BasherContext getBasherContext()
getOldPhase
public Phase getOldPhase()
getNewPhase
public Phase getNewPhase()
equals
public boolean equals(Object o)
- Overrides:
equals in class BasherEvent
hashCode
public int hashCode()
- Overrides:
hashCode in class BasherEvent
toString
public String toString()
- Overrides:
toString in class BasherEvent
Copyright © 2006-2010 Basher Team. All Rights Reserved.