Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for getRole (0.14 sec)

  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
    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);
    
    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

         */
        public void setMojoConfiguration(PlexusConfiguration mojoConfiguration) {
            this.mojoConfiguration = mojoConfiguration;
        }
    
        /** {@inheritDoc} */
        public String getRole() {
            return isV4Api() ? "org.apache.maven.api.plugin.Mojo" : Mojo.ROLE;
        }
    
        /** {@inheritDoc} */
        public String getRoleHint() {
            return getId();
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (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 += "  ";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            }
            mergedItem.languages = langList.toArray(new String[langList.size()]);
    
            final List<String> roleList = new ArrayList<>(item1.getRoles().length + item2.getRoles().length);
            Collections.addAll(roleList, item1.getRoles());
            for (final String role : item2.getRoles()) {
                if (!roleList.contains(role)) {
                    roleList.add(role);
                }
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    /** Unit tests for {@link Futures#getDone}. */
    @GwtCompatible
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
        assertThat(getDone(immediateFuture("a"))).isEqualTo("a");
      }
    
      public void testSuccessfulNull() throws ExecutionException {
        assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    /** Unit tests for {@link Futures#getDone}. */
    @GwtCompatible
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
        assertThat(getDone(immediateFuture("a"))).isEqualTo("a");
      }
    
      public void testSuccessfulNull() throws ExecutionException {
        assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. 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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. 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());
        }
    
        public void artifactInstalling(RepositoryEvent event) {
            println("artifactInstalling", event.getArtifact() + " to " + event.getFile());
        }
    
        public void artifactResolved(RepositoryEvent event) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Callables.returning;
    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.util.concurrent.TestPlatform.verifyThreadWasNotInterrupted;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top