org.apache.maven.wagon.events
Class WagonEvent
EventObject
org.apache.maven.wagon.events.WagonEvent
public class WagonEvent
extends EventObject
Base class for all events emitted by Wagon
objects.
$Id: WagonEvent.java 162476 2005-04-19 02:49:45Z brett $protected Repository | repository - Repository to which the Wagon
object which emitted this event is connected
|
protected long | timestamp - The time when event occured
|
long | getTimestamp() - Returns the timestamp which indicated the time when this event has occured
|
Wagon | getWagon() - Returns The Wagon object on which the WagonEvent initially occurred
|
void | setTimestamp(long timestamp) - Sets the timestamp which indicated the time when this event has occured
|
repository
protected Repository repository
Repository to which the Wagon
object which emitted this event is connected
timestamp
protected long timestamp
The time when event occured
WagonEvent
public WagonEvent(Wagon source)
source
- The Wagon object on which the WagonEvent initially occurred
getTimestamp
public long getTimestamp()
Returns the timestamp which indicated the time when this event has occured
getWagon
public Wagon getWagon()
Returns The Wagon object on which the WagonEvent initially occurred
- The Wagon object on which the WagonEvent initially occurred
setTimestamp
public void setTimestamp(long timestamp)
Sets the timestamp which indicated the time when this event has occured
timestamp
- The timestamp to set.