Package org.apache.maven.wagon.events
Interface SessionListener
-
- All Known Implementing Classes:
Debug
public interface SessionListener
Interface for classes which wants to receive and respond to any session update events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
debug(java.lang.String message)
This method allows to send arbitrary debug messages.void
sessionConnectionRefused(SessionEvent sessionEvent)
This method will be called when Wagon when connection to the repository was refused.void
sessionDisconnected(SessionEvent sessionEvent)
This method will be called when Wagon has closed connection to the repository.void
sessionDisconnecting(SessionEvent sessionEvent)
This method will be called when Wagon has closed connection to to the repository.void
sessionError(SessionEvent sessionEvent)
This method will be called by Wagon when an error occurred.void
sessionLoggedIn(SessionEvent sessionEvent)
This method will be called by Wagon when Wagon managed to login to the repository.void
sessionLoggedOff(SessionEvent sessionEvent)
This method will be called by Wagon has logged off from the repository.void
sessionOpened(SessionEvent sessionEvent)
This method will be called when Wagon has successfully connected to to the repository.void
sessionOpening(SessionEvent sessionEvent)
This method will be called when Wagon is about to open connection to the repository.
-
-
-
Method Detail
-
sessionOpening
void sessionOpening(SessionEvent sessionEvent)
This method will be called when Wagon is about to open connection to the repository. The type of the event should be set toSessionEvent.SESSION_OPENING
- Parameters:
sessionEvent
- the session event
-
sessionOpened
void sessionOpened(SessionEvent sessionEvent)
This method will be called when Wagon has successfully connected to to the repository. The type of the event should be set toSessionEvent.SESSION_OPENED
- Parameters:
sessionEvent
- the session event
-
sessionDisconnecting
void sessionDisconnecting(SessionEvent sessionEvent)
This method will be called when Wagon has closed connection to to the repository. The type of the event should be set toSessionEvent.SESSION_DISCONNECTING
- Parameters:
sessionEvent
- the session event
-
sessionDisconnected
void sessionDisconnected(SessionEvent sessionEvent)
This method will be called when Wagon has closed connection to the repository. The type of the event should be set toSessionEvent.SESSION_DISCONNECTED
- Parameters:
sessionEvent
- the session event
-
sessionConnectionRefused
void sessionConnectionRefused(SessionEvent sessionEvent)
This method will be called when Wagon when connection to the repository was refused. The type of the event should be set toSessionEvent.SESSION_CONNECTION_REFUSED
- Parameters:
sessionEvent
- the session event
-
sessionLoggedIn
void sessionLoggedIn(SessionEvent sessionEvent)
This method will be called by Wagon when Wagon managed to login to the repository.- Parameters:
sessionEvent
- the session event
-
sessionLoggedOff
void sessionLoggedOff(SessionEvent sessionEvent)
This method will be called by Wagon has logged off from the repository. The type of the event should be set toSessionEvent.SESSION_LOGGED_OFF
- Parameters:
sessionEvent
- the session event
-
sessionError
void sessionError(SessionEvent sessionEvent)
This method will be called by Wagon when an error occurred. The type of the event should be set toSessionEvent.SESSION_ERROR_OCCURRED
- Parameters:
sessionEvent
- the session event
-
debug
void debug(java.lang.String message)
This method allows to send arbitrary debug messages.- Parameters:
message
- the debug message
-
-