Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 114 for getRole (0.14 seconds)

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

            this.role = role;
            this.roleHint = null;
        }
    
        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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (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);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         */
        public void setMojoConfiguration(PlexusConfiguration mojoConfiguration) {
            this.mojoConfiguration = mojoConfiguration;
        }
    
        /** {@inheritDoc} */
        @Override
        public String getRole() {
            return isV4Api() ? "org.apache.maven.api.plugin.Mojo" : Mojo.ROLE;
        }
    
        /** {@inheritDoc} */
        @Override
        public String getRoleHint() {
            return getId();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                }
    
                Artifact resolvedArtifact = event.getArtifact();
                Artifact nodeArtifact = collectStepTrace.getNode().getArtifact();
    
                if (isInScope(resolvedArtifact, nodeArtifact) || "pom".equals(resolvedArtifact.getExtension())) {
                    Dependency node = collectStepTrace.getNode();
                    trackingData.add(resolvedArtifact.toString());
                    indent.append("  ");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    /** Unit tests for {@link Futures#getDone}. */
    @GwtCompatible
    @NullUnmarked
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
        assertThat(getDone(immediateFuture("a"))).isEqualTo("a");
      }
    
      public void testSuccessfulNull() throws ExecutionException {
        assertThat(getDone(immediateVoidFuture())).isEqualTo(null);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

        public URI getLocationURI() {
            return getFile().toURI();
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof FileModelSource)) {
                return false;
            }
            FileModelSource other = (FileModelSource) obj;
            return getFile().equals(other.getFile());
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

        @Override
        public void artifactInstalling(RepositoryEvent event) {
            logger.info("Installing {} to {}", event.getArtifact().getFile(), event.getFile());
        }
    
        @Override
        public void metadataInstalling(RepositoryEvent event) {
            logger.debug("Installing {} to {}", event.getMetadata(), event.getFile());
        }
    
        @Override
        public void metadataResolved(RepositoryEvent event) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java

        public void artifactInstalled(RepositoryEvent event) {
            println("artifactInstalled", event.getArtifact() + " to " + event.getFile());
        }
    
        @Override
        public void artifactInstalling(RepositoryEvent event) {
            println("artifactInstalling", event.getArtifact() + " to " + event.getFile());
        }
    
        @Override
        public void artifactResolved(RepositoryEvent event) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

            assertEquals(
                    p.getActivation().getFile().getExists(),
                    clone.getActivation().getFile().getExists());
            assertEquals(
                    p.getActivation().getFile().getMissing(),
                    clone.getActivation().getFile().getMissing());
            assertEquals(
                    p.getActivation().getProperty().getName(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertThat(file).isNull();
    
        // Write data to go over the threshold
        if (chunk2 > 0) {
          write(out, data, chunk1, chunk2, singleByte);
          file = out.getFile();
          assertEquals(dataSize, file.length());
          assertTrue(file.exists());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 16:30:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top