Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 348 for SetName (0.05 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java

            mojoDescriptor.setPluginDescriptor(pluginDescriptor);
    
            Parameter parameter = new Parameter();
            parameter.setType("java.lang.String[]");
            parameter.setName("toAddresses");
    
            parameter.setRequired(true);
    
            PluginParameterException exception =
                    new PluginParameterException(mojoDescriptor, Collections.singletonList(parameter));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                if (profileProp != null) {
                    ActivationProperty prop = new ActivationProperty();
    
                    prop.setName(profileProp.getName());
                    prop.setValue(profileProp.getValue());
    
                    activation.setProperty(prop);
                }
    
                ActivationOS profileOs = profileActivation.getOs();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java

            Organization org = new Organization();
            org.setName("Testing Maven Unit");
            org.setUrl("https://maven.localdomain");
    
            assertEquals("Organization {name=Testing Maven Unit, url=https://maven.localdomain}", org.toString());
        }
    
        @Test
        public void testToStringNotNonsense10() {
            Organization org = new Organization();
            org.setName("Testing Maven Unit");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            return typeMetaData;
        }
    
        private void extractElementTypeName(Type elementType, TypeMetaData typeMetaData) {
            elementType.ifVoidType(voidType -> typeMetaData.setName("void"));
            elementType.ifPrimitiveType(primitiveType -> typeMetaData.setName(primitiveType.asString()));
            elementType.ifWildcardType(wildcardType -> {
                if (!wildcardType.getExtendedType().isPresent() && !wildcardType.getSuperType().isPresent()) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:07:24 GMT 2024
    - 11.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            syspropActivated.setId("syspropActivated");
    
            Activation syspropActivation = new Activation();
    
            ActivationProperty syspropProperty = new ActivationProperty();
            syspropProperty.setName("java.version");
    
            syspropActivation.setProperty(syspropProperty);
    
            syspropActivated.setActivation(syspropActivation);
    
            Profile defaultActivated = new Profile();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

          }
    
          Thread currentThread = Thread.currentThread();
          String originalName = currentThread.getName();
          currentThread.setName("Crawler " + url);
          try {
            fetch(url);
          } catch (IOException e) {
            System.out.printf("XXX: %s %s%n", url, e);
          } finally {
            currentThread.setName(originalName);
          }
        }
      }
    
      public void fetch(HttpUrl url) throws IOException {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                        model.setPackaging(intPackaging);
                    }
                    // Name
                    String orgName = model.getName();
                    String intName = interpolate(orgName);
                    if (orgName != intName) {
                        model.setName(intName);
                    }
                    // Description
                    String orgDescription = model.getDescription();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.setVersion(original.getVersion());
            this.setGoalPrefix(original.getGoalPrefix());
            this.setInheritedByDefault(original.isInheritedByDefault());
            this.setName(original.getName());
            this.setDescription(original.getDescription());
            this.setRequiredMavenVersion(original.getRequiredMavenVersion());
            this.setRequiredJavaVersion(original.getRequiredJavaVersion());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  9. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.java

    public class IntegrationTestFixturesRule extends AbstractAstVisitorRule {
    
        @Override
        public String getName() {
            return "IntegrationTestFixtures";
        }
    
        @Override
        public int getPriority() {
            return 1;
        }
    
        @Override
        public void setName(String name) {
            throw new UnsupportedOperationException();
        }
    
        @Override
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

                final String originalThreadName = currentThread.getName();
                final MavenProject project = projectBuild.getProject();
    
                final String threadNameSuffix = duplicateArtifactIds.contains(project.getArtifactId())
                        ? project.getGroupId() + ":" + project.getArtifactId()
                        : project.getArtifactId();
                currentThread.setName("mvn-builder-" + threadNameSuffix);
    
                try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 16 03:42:09 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top