cstamas commented on code in PR #474:
URL: https://github.com/apache/maven-resolver/pull/474#discussion_r1570983720


##########
maven-resolver-api/src/main/java/org/eclipse/aether/transfer/TransferResource.java:
##########
@@ -23,17 +23,43 @@
 
 import org.eclipse.aether.RequestTrace;
 
+import static java.util.Objects.requireNonNull;
+
 /**
  * Describes a resource being uploaded or downloaded by the repository system.
  */
 public final class TransferResource {
 
+    /**
+     * The type of this resource.
+     *
+     * @since 2.0.0
+     */
+    public enum ResourceType {

Review Comment:
   I kinda agree with you, moreover as these events are emitted ONLY by 
connector. For example, Transport API of Maven4 completely circumvents 
connector, and goes directly to transport... so yeah, due this (connector) type 
can really only be Artifact or Metadata



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to