Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 226 for defaultValues (0.32 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/StringInternalOption.java

    public class StringInternalOption implements InternalOption<String> {
        private final String systemPropertyName;
        private final String defaultValue;
    
        public StringInternalOption(String systemPropertyName, String 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)
  10. api/maven-api-settings/src/main/mdo/settings.mdo

              <type>String</type>
              <defaultValue>default</defaultValue>
              <description>The layout of the mirror repository.
                @since Maven 3.</description>
            </field>
            <field>
              <name>mirrorOfLayouts</name>
              <version>1.1.0+</version>
              <type>String</type>
              <defaultValue>default,legacy</defaultValue>
              <description>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Feb 17 18:40:11 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top