Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 68 for getParameters (0.07 seconds)

  1. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java

            param1.setName("param1");
            param1.setDefaultValue("value1");
            mojoDescriptor.addParameter(param1);
    
            assertEquals(1, mojoDescriptor.getParameters().size());
    
            assertEquals(
                    mojoDescriptor.getParameters().size(),
                    mojoDescriptor.getParameterMap().size());
    
            Parameter param2 = new Parameter();
            param2.setName("param2");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            return emptyInstance;
          }
        }
        Method generate = GENERATORS.get(rawType);
        if (generate != null) {
          ImmutableList<Parameter> params = Invokable.from(generate).getParameters();
          List<Object> args = Lists.newArrayListWithCapacity(params.size());
          TypeVariable<?>[] typeVars = rawType.getTypeParameters();
          for (int i = 0; i < params.size(); i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            return emptyInstance;
          }
        }
        Method generate = GENERATORS.get(rawType);
        if (generate != null) {
          ImmutableList<Parameter> params = Invokable.from(generate).getParameters();
          List<Object> args = Lists.newArrayListWithCapacity(params.size());
          TypeVariable<?>[] typeVars = rawType.getTypeParameters();
          for (int i = 0; i < params.size(); i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                    }
                    PropertyDoc property = classDoc.findProperty(methodName);
                    boolean multiValued = false;
                    if (property != null && method.getParameters().size() == 1 && method.getParameters().get(0).getType().getSignature().equals(Closure.class.getName())) {
                        TypeMetaData type = property.getMetaData().getType();
                        if (type.getName().equals("java.util.List")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

            }
    
            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
            // in first step get parameter names of current goal
            Set<String> parametersNamesGoal = mojoDescriptor.getParameters().stream()
                    .flatMap(this::getParameterNames)
                    .collect(Collectors.toSet());
    
            Set<String> unknownParameters = getUnknownParameters(mojoExecution, parametersNamesGoal);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals("2.2", md.getSince());
            assertEquals("deprecated-mojo", md.getDeprecated());
            assertEquals(1, md.getRequirements().size());
            assertEquals(1, md.getParameters().size());
    
            assertNotNull(md.getMojoConfiguration());
            assertEquals(1, md.getMojoConfiguration().getChildCount());
    
            PlexusConfiguration pc = md.getMojoConfiguration().getChild(0);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/WebAuthenticationService.java

         *
         * @param webAuthentication The web authentication configuration to store
         */
        public void store(final WebAuthentication webAuthentication) {
            webAuthentication.setParameters(ParameterUtil.encrypt(webAuthentication.getParameters()));
            webAuthenticationBhv.insertOrUpdate(webAuthentication, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/testing/DummyProxy.java

        protected @Nullable Object handleInvocation(
            Object proxy, Method method, @Nullable Object[] args) {
          Invokable<?, ?> invokable = interfaceType.method(method);
          ImmutableList<Parameter> params = invokable.getParameters();
          for (int i = 0; i < args.length; i++) {
            Parameter param = params.get(i);
            if (!isNullable(param)) {
              checkNotNull(args[i]);
            }
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

         *
         * @param fileAuthentication the file authentication configuration to store
         */
        public void store(final FileAuthentication fileAuthentication) {
            fileAuthentication.setParameters(ParameterUtil.encrypt(fileAuthentication.getParameters()));
            fileAuthenticationBhv.insertOrUpdate(fileAuthentication, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            }
    
            XmlNode defaultConfiguration = getMojoConfiguration(mojoDescriptor);
    
            List<XmlNode> children = new ArrayList<>();
            if (mojoDescriptor.getParameters() != null) {
                for (Parameter parameter : mojoDescriptor.getParameters()) {
                    XmlNode parameterConfiguration = executionConfiguration.child(parameter.getName());
    
                    if (parameterConfiguration == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
Back to Top