org.apache.maven.wagon.events
public class WagonEvent extends EventObject
Wagon
objects.
Version: $Id: WagonEvent.java 162476 2005-04-19 02:49:45Z brett $
Field Summary | |
---|---|
protected Repository | repository
Repository to which the Wagon
object which emitted this event is connected |
protected long | timestamp
The time when event occured |
Constructor Summary | |
---|---|
WagonEvent(Wagon source) |
Method Summary | |
---|---|
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
|
Parameters: source The Wagon object on which the WagonEvent initially occurred
Returns: Returns the timestamp.
Returns: The Wagon object on which the WagonEvent initially occurred
Parameters: timestamp The timestamp to set.