Package org.eclipse.aether.internal.impl
Class DefaultDeployer.MetadataUploadListener
java.lang.Object
org.eclipse.aether.transfer.AbstractTransferListener
org.eclipse.aether.internal.impl.SafeTransferListener
org.eclipse.aether.internal.impl.DefaultDeployer.MetadataUploadListener
- All Implemented Interfaces:
TransferListener
- Enclosing class:
DefaultDeployer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DefaultDeployer.EventCatapultprivate final MetadataUpload -
Constructor Summary
ConstructorsConstructorDescriptionMetadataUploadListener(DefaultDeployer.EventCatapult catapult, MetadataUpload transfer) -
Method Summary
Modifier and TypeMethodDescriptionvoidtransferFailed(TransferEvent event) Notifies the listener about the unsuccessful termination of a transfer.voidtransferInitiated(TransferEvent event) Notifies the listener about the initiation of a transfer.voidtransferSucceeded(TransferEvent event) Notifies the listener about the successful completion of a transfer.Methods inherited from class org.eclipse.aether.internal.impl.SafeTransferListener
transferCorrupted, transferProgressed, transferStarted, wrap
-
Field Details
-
catapult
-
transfer
-
-
Constructor Details
-
MetadataUploadListener
MetadataUploadListener(DefaultDeployer.EventCatapult catapult, MetadataUpload transfer)
-
-
Method Details
-
transferInitiated
Description copied from interface:TransferListenerNotifies the listener about the initiation of a transfer. This event gets fired before any actual network access to the remote repository and usually indicates some thread is now about to perform the transfer. For a given transfer request, this event is the first one being fired and it must be emitted exactly once.- Specified by:
transferInitiatedin interfaceTransferListener- Overrides:
transferInitiatedin classSafeTransferListener- Parameters:
event- The event details, must not benull.- Throws:
TransferCancelledException- If the transfer should be aborted.
-
transferFailed
Description copied from interface:TransferListenerNotifies the listener about the unsuccessful termination of a transfer.TransferEvent.getException()will provide further information about the failure.- Specified by:
transferFailedin interfaceTransferListener- Overrides:
transferFailedin classSafeTransferListener- Parameters:
event- The event details, must not benull.
-
transferSucceeded
Description copied from interface:TransferListenerNotifies the listener about the successful completion of a transfer. This event must be fired exactly once for a given transfer request unless said request failed.- Specified by:
transferSucceededin interfaceTransferListener- Overrides:
transferSucceededin classSafeTransferListener- Parameters:
event- The event details, must not benull.
-