- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TransferResourceIdentifier (0.19 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java
* making it not very suitable for usage in collections. */ record TransferResourceIdentifier(String repositoryId, String repositoryUrl, String resourceName, @Nullable File file) { TransferResourceIdentifier(TransferResource resource) { this(resource.getRepositoryId(), resource.getRepositoryUrl(), resource.getResourceName(), resource.getFile()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
throw new RuntimeException(e); } } private final ConcurrentHashMap<TransferResourceIdentifier, Boolean> ongoing = new ConcurrentHashMap<>(); @Override public void transferInitiated(TransferEvent event) { ongoing.putIfAbsent(new TransferResourceIdentifier(event.getResource()), Boolean.TRUE); put(event, false); } @Override
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/ConsoleMavenTransferListener.java
public void transferSucceeded(TransferEvent event) { transfers.remove(new TransferResourceIdentifier(event.getResource())); overridePreviousTransfer(event); super.transferSucceeded(event); } @Override public void transferFailed(TransferEvent event) { transfers.remove(new TransferResourceIdentifier(event.getResource())); 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)