Package org.apache.maven.wagon.observers
Class Debug
java.lang.Object
org.apache.maven.wagon.observers.Debug
- All Implemented Interfaces:
SessionListener,TransferListener
- Author:
- Michal Maczka
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method allows to send arbitrary debug messages.getOut()voidsessionConnectionRefused(SessionEvent sessionEvent) This method will be called when Wagon when connection to the repository was refused.voidsessionDisconnected(SessionEvent sessionEvent) This method will be called when Wagon has closed connection to the repository.voidsessionDisconnecting(SessionEvent sessionEvent) This method will be called when Wagon has closed connection to to the repository.voidsessionError(SessionEvent sessionEvent) This method will be called by Wagon when an error occurred.voidsessionLoggedIn(SessionEvent sessionEvent) This method will be called by Wagon when Wagon managed to login to the repository.voidsessionLoggedOff(SessionEvent sessionEvent) This method will be called by Wagon has logged off from the repository.voidsessionOpened(SessionEvent sessionEvent) This method will be called when Wagon has successfully connected to to the repository.voidsessionOpening(SessionEvent sessionEvent) This method will be called when Wagon is about to open connection to the repository.voidtransferCompleted(TransferEvent transferEvent) voidtransferError(TransferEvent transferEvent) voidtransferInitiated(TransferEvent transferEvent) voidtransferProgress(TransferEvent transferEvent, byte[] buffer, int length) voidtransferStarted(TransferEvent transferEvent)
-
Constructor Details
-
Debug
public Debug() -
Debug
-
-
Method Details
-
sessionOpening
Description copied from interface:SessionListenerThis 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- Specified by:
sessionOpeningin interfaceSessionListener- Parameters:
sessionEvent- the session event- See Also:
-
sessionOpened
Description copied from interface:SessionListenerThis method will be called when Wagon has successfully connected to to the repository. The type of the event should be set toSessionEvent.SESSION_OPENED- Specified by:
sessionOpenedin interfaceSessionListener- Parameters:
sessionEvent- the session event- See Also:
-
sessionDisconnecting
Description copied from interface:SessionListenerThis method will be called when Wagon has closed connection to to the repository. The type of the event should be set toSessionEvent.SESSION_DISCONNECTING- Specified by:
sessionDisconnectingin interfaceSessionListener- Parameters:
sessionEvent- the session event- See Also:
-
sessionDisconnected
Description copied from interface:SessionListenerThis method will be called when Wagon has closed connection to the repository. The type of the event should be set toSessionEvent.SESSION_DISCONNECTED- Specified by:
sessionDisconnectedin interfaceSessionListener- Parameters:
sessionEvent- the session event- See Also:
-
sessionConnectionRefused
Description copied from interface:SessionListenerThis 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- Specified by:
sessionConnectionRefusedin interfaceSessionListener- Parameters:
sessionEvent- the session event- See Also:
-
sessionLoggedIn
Description copied from interface:SessionListenerThis method will be called by Wagon when Wagon managed to login to the repository.- Specified by:
sessionLoggedInin interfaceSessionListener- Parameters:
sessionEvent- the session event- See Also:
-
sessionLoggedOff
Description copied from interface:SessionListenerThis method will be called by Wagon has logged off from the repository. The type of the event should be set toSessionEvent.SESSION_LOGGED_OFF- Specified by:
sessionLoggedOffin interfaceSessionListener- Parameters:
sessionEvent- the session event- See Also:
-
debug
Description copied from interface:SessionListenerThis method allows to send arbitrary debug messages.- Specified by:
debugin interfaceSessionListener- Specified by:
debugin interfaceTransferListener- Parameters:
message- the debug message- See Also:
-
transferInitiated
- Specified by:
transferInitiatedin interfaceTransferListener- Parameters:
transferEvent-
-
transferStarted
- Specified by:
transferStartedin interfaceTransferListener- Parameters:
transferEvent-- See Also:
-
transferProgress
- Specified by:
transferProgressin interfaceTransferListener- Parameters:
transferEvent-- See Also:
-
transferCompleted
- Specified by:
transferCompletedin interfaceTransferListener- Parameters:
transferEvent-- See Also:
-
transferError
- Specified by:
transferErrorin interfaceTransferListener- Parameters:
transferEvent-- See Also:
-
sessionError
Description copied from interface:SessionListenerThis method will be called by Wagon when an error occurred. The type of the event should be set toSessionEvent.SESSION_ERROR_OCCURRED- Specified by:
sessionErrorin interfaceSessionListener- Parameters:
sessionEvent- the session event- See Also:
-
getOut
-