Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 253 for default_value (0.21 sec)

  1. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/NonInteractiveUserInputHandler.java

        }
    
        @Override
        public int askIntQuestion(String question, int minValue, int defaultValue) {
            return defaultValue;
        }
    
        @Override
        public String askQuestion(String question, String defaultValue) {
            return defaultValue;
        }
    
        @Override
        public boolean interrupted() {
            return false;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/test/groovy/org/gradle/api/tasks/scala/BaseScalaOptionTest.groovy

            given:
            assert testObject."${fixture.fieldName}" == fixture.defaultValue
            if (fixture.defaultValue == null) {
                assert doesNotContain(fixture.antProperty)
            } else {
                assert value(fixture.antProperty) == fixture.defaultValue
            }
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/DefaultUserInputHandler.java

            public int askIntQuestion(String question, int minValue, int defaultValue) {
                IntQuestionPromptEvent prompt = new IntQuestionPromptEvent(clock.getCurrentTime(), question, minValue, defaultValue);
                return prompt(prompt, defaultValue, Integer::parseInt);
            }
    
            @Override
            public String askQuestion(String question, final String defaultValue) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

        }
    
        public void setEditable(boolean editable) {
            this.editable = editable;
        }
    
        public void setDefaultValue(String defaultValue) {
            this.defaultValue = defaultValue;
        }
    
        public String getDefaultValue() {
            return defaultValue;
        }
    
        public String toString() {
            return "Mojo parameter [name: '" + getName() + "'; alias: '" + getAlias() + "']";
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/BooleanQuestionPromptEvent.java

        private final String question;
        private final boolean defaultValue;
    
        public BooleanQuestionPromptEvent(long timestamp, String question, boolean defaultValue) {
            super(timestamp);
            this.question = question;
            this.defaultValue = defaultValue;
        }
    
        @Override
        public String getPrompt() {
            StringBuilder builder = new StringBuilder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <description></description>
              <type>boolean</type>
              <defaultValue>false</defaultValue>
            </field>
            <field>
              <name>inheritedByDefault</name>
              <version>1.0.0+</version>
              <description></description>
              <type>boolean</type>
              <defaultValue>true</defaultValue>
            </field>
            <field>
              <name>requiredJavaVersion</name>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Functions.java

       * @return function that returns {@code map.get(a)} when {@code a} is a key, or {@code
       *     defaultValue} otherwise
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Function<K, V> forMap(
          Map<K, ? extends V> map, @ParametricNullness V defaultValue) {
        return new ForMapWithDefault<>(map, defaultValue);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/IntegerInternalOption.java

    public class IntegerInternalOption implements InternalOption<Integer> {
        private final String systemPropertyName;
        private final int defaultValue;
    
        public IntegerInternalOption(String systemPropertyName, int defaultValue) {
            this.systemPropertyName = systemPropertyName;
            this.defaultValue = defaultValue;
        }
    
        @Nullable
        @Override
        public String getSystemPropertyName() {
            return systemPropertyName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. cluster/images/etcd/migrate/options_test.go

    	testCases := []struct {
    		desc          string
    		env           string
    		value         string
    		valueSet      bool
    		defaultValue  string
    		expectedValue string
    		expectedError bool
    	}{
    		{
    			desc:          "value unset",
    			env:           "FOO",
    			valueSet:      false,
    			defaultValue:  "default",
    			expectedValue: "default",
    		},
    		{
    			desc:          "value set empty",
    			env:           "FOO",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:55:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/UserQuestions.java

         *
         * @param question The text of the question.
         * @param defaultValue The option to present to the user as the default choice, and the value to use when not connected to a console
         * @return the answer or the given default if not connected to a console.
         */
        boolean askBooleanQuestion(String question, boolean defaultValue);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top