- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getRequestType (0.07 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
this.out = out; } @Override public void transferInitiated(TransferEvent event) { String action = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading"; String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from"; TransferResource resource = event.getResource();
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
this.out = out; } @Override public void transferInitiated(TransferEvent event) { String action = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading"; String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from"; TransferResource resource = event.getResource(); StringBuilder message = new StringBuilder();
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/legacy/TransferListenerAdapter.java
if (event.getException() != null) { evt = new ArtifactTransferEvent(wagon, event.getException(), event.getRequestType(), artifact); } else { evt = new ArtifactTransferEvent(wagon, event.getEventType(), event.getRequestType(), artifact); } evt.setLocalFile(event.getLocalFile()); return evt; } }
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-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
public ConsoleTransferListener(PrintStream out) { 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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java
* @see DependencyResolver#collect(Session, Artifact, PathScope) */ @Nonnull default DependencyResolverResult collect(@Nonnull DependencyResolverRequest request) { if (request.getRequestType() != DependencyResolverRequest.RequestType.COLLECT) { throw new IllegalArgumentException("requestType should be COLLECT when calling collect()"); } return resolve(request); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 16 14:15:37 UTC 2024 - 9.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
*/ REQUEST_DOMINANT, } @Nonnull Session getSession(); @Nonnull ModelSource getSource(); @Nonnull RequestType getRequestType(); boolean isLocationTracking(); boolean isRecursive(); /** * Defines external profiles that may be activated for the given model.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 09 11:07:31 UTC 2024 - 13.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
public interface DependencyResolverRequest { enum RequestType { COLLECT, FLATTEN, RESOLVE } @Nonnull Session getSession(); @Nonnull RequestType getRequestType(); @Nonnull Optional<Project> getProject(); @Nonnull Optional<Artifact> getRootArtifact(); @Nonnull Optional<DependencyCoordinates> getRoot(); @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 16 14:15:37 UTC 2024 - 17.9K bytes - Viewed (0)