Uses of Class
org.eclipse.aether.transfer.TransferEvent.Builder
Packages that use TransferEvent.Builder
Package
Description
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
-
Uses of TransferEvent.Builder in org.eclipse.aether.transfer
Methods in org.eclipse.aether.transfer that return TransferEvent.BuilderModifier and TypeMethodDescriptionTransferEvent.Builder.addTransferredBytes(long transferredBytes) Increments the total number of bytes that have been transferred so far during the download/upload.TransferEvent.Builder.copy()Creates a new transfer event builder from the current values of this builder.TransferEvent.Builder.resetType(TransferEvent.EventType type) Sets the type of the event and resets event-specific fields.TransferEvent.Builder.setDataBuffer(byte[] buffer, int offset, int length) Sets the byte buffer holding the transferred bytes since the last event.TransferEvent.Builder.setDataBuffer(ByteBuffer dataBuffer) Sets the byte buffer holding the transferred bytes since the last event.TransferEvent.Builder.setException(Exception exception) Sets the error that occurred during the transfer.TransferEvent.Builder.setRequestType(TransferEvent.RequestType requestType) Sets the type of the request/transfer.TransferEvent.Builder.setTransferredBytes(long transferredBytes) Sets the total number of bytes that have been transferred so far during the download/upload of the resource.TransferEvent.Builder.setType(TransferEvent.EventType type) Sets the type of the event.