- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for transferInitiated (0.11 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java
} synchronized (artifacts) { artifacts.remove(transferEvent.getResource()); } } public void transferInitiated(TransferEvent transferEvent) { listener.transferInitiated(wrap(transferEvent)); } public void transferProgress(TransferEvent transferEvent, byte[] buffer, int length) { Long transferred; synchronized (transfers) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java
listener.transferInitiated(transferInitiatedEvent); listener.transferStarted(transferStartedEvent); listener.transferProgressed(transferProgressedEvent); listener.transferSucceeded(transferSucceededEvent); Thread.sleep(500); // to make sure queue is processed, cancellation applied Mockito.verify(delegate).transferInitiated(transferInitiatedEvent);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
this.out = (out != null) ? out : System.out; } @Override public void transferInitiated(TransferEvent event) { String message = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading"; println( "transferInitiated", message + ": " + event.getResource().getRepositoryUrl()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferListener.java
/** * ArtifactTransferListener */ @Deprecated public interface ArtifactTransferListener { boolean isShowChecksumEvents(); void setShowChecksumEvents(boolean showChecksumEvents); void transferInitiated(ArtifactTransferEvent transferEvent); void transferStarted(ArtifactTransferEvent transferEvent); void transferProgress(ArtifactTransferEvent transferEvent);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
super(messageBuilderFactory, out); this.printResourceNames = printResourceNames; } @Override public void transferInitiated(TransferEvent event) { overridePreviousTransfer(event); super.transferInitiated(event); } @Override public void transferCorrupted(TransferEvent event) throws TransferCancelledException { overridePreviousTransfer(event);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
TransferEvent.EventType type = transferEvent.getType(); try { switch (type) { case INITIATED: delegate.transferInitiated(transferEvent); break; case STARTED: delegate.transferStarted(transferEvent); break;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
this.messageBuilderFactory = messageBuilderFactory; this.out = out; } @Override public void transferInitiated(TransferEvent event) { String action = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
} // TODO should we deprecate? public Slf4jMavenTransferListener(Logger out) { this.out = out; } @Override public void transferInitiated(TransferEvent event) { String action = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java
* */ @Deprecated public class ArtifactTransferEvent extends EventObject { /** * A transfer was attempted, but has not yet commenced. */ public static final int TRANSFER_INITIATED = 0; /** * A transfer was started. */ public static final int TRANSFER_STARTED = 1; /** * A transfer is completed. */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0)