org.apache.maven.wagon.events
public class SessionEvent extends WagonEvent
Wagon
objects when
Version: $Id: SessionEvent.java 162476 2005-04-19 02:49:45Z brett $
Field Summary | |
---|---|
int | eventType
The type of the event. |
Exception | exception |
static int | SESSION_CLOSED
A SESSION was closed. |
static int | SESSION_CONNECTION_REFUSED
A SESSION was refused. |
static int | SESSION_DISCONNECTED
A SESSION was disconnected (not currently used). |
static int | SESSION_DISCONNECTING
A SESSION is about to be disconnected. |
static int | SESSION_ERROR_OCCURRED
A SESSION was opened. |
static int | SESSION_LOGGED_IN
A SESSION was opened. |
static int | SESSION_LOGGED_OFF
A SESSION was opened. |
static int | SESSION_OPENED
A SESSION was opened. |
static int | SESSION_OPENING
A SESSION is about to be opened. |
Constructor Summary | |
---|---|
SessionEvent(Wagon wagon, int eventType)
Creates new instance of SessionEvent
| |
SessionEvent(Wagon wagon, Exception exception)
Creates new instance of SessionEvent. |
Method Summary | |
---|---|
int | getEventType() |
Exception | getException() |
void | setEventType(int eventType) |
void | setException(Exception exception) |
Parameters: wagon Wagon
eventType the type of the event object which created this event
SESSION_ERROR_OCCURRED
Parameters: wagon Wagon
exception the exception object which created this event
Returns: Returns the type.
Returns: Returns the exception.
Parameters: eventType The eventType to set.
Parameters: exception The exception to set.