Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getRoleHint (0.07 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Requirement.java

        public Requirement(String role, String roleHint) {
            this.role = role;
            this.roleHint = roleHint;
        }
    
        public String getRole() {
            return role;
        }
    
        public String getRoleHint() {
            return roleHint;
        }
    
        /**
         * Creates a shallow copy of this requirement.
         */
        @Override
        public Requirement clone() {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals("3.0.0", mp.getSince());
    
            ComponentRequirement cr = md.getRequirements().get(0);
    
            assertEquals("org.codehaus.plexus.archiver.Archiver", cr.getRole());
            assertEquals("jar", cr.getRoleHint());
            assertEquals("jarArchiver", cr.getFieldName());
    
            ComponentDependency cd = pd.getDependencies().get(0);
    
            assertEquals("org.apache.maven", cd.getGroupId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        }
    
        /** {@inheritDoc} */
        public String getRole() {
            return isV4Api() ? "org.apache.maven.api.plugin.Mojo" : Mojo.ROLE;
        }
    
        /** {@inheritDoc} */
        public String getRoleHint() {
            return getId();
        }
    
        /**
         * @return the id of the mojo, based on the goal name
         */
        public String getId() {
            return getPluginDescriptor().getId() + ":" + getGoal();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top