Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,892 for Option (0.1 sec)

  1. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineParser.java

        }
    
        /**
         * Defines a new option. By default, the option takes no arguments and has no description.
         *
         * @param options The options values.
         * @return The option, which can be further configured.
         */
        public CommandLineOption option(String... options) {
            for (String option : options) {
                if (optionsByString.containsKey(option)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc

    The absence of the option uses the default value of the property.
    For each boolean option, an opposite option is created automatically.
    For example, `--no-foo` is created for the provided option `--foo` and `--bar` is created for `--no-bar`.
    Options whose name starts with `--no` are disabled options and set the option value to `false`.
    An opposite option is only created if no option with the same name already exists for the task.
    
    `Double`, `Property<Double>`::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 25 15:21:05 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/OptionReader.java

                Option option = findOption(field);
                if (option != null) {
                    fieldOptionElements.add(FieldOptionElement.create(option, field, optionValueNotationParserFactory));
                }
            }
            return fieldOptionElements;
        }
    
        private Option findOption(Field field) {
            Option option = field.getAnnotation(Option.class);
            if (option != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 06 09:51:34 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/CommandLineParserTest.groovy

            parser.option('a-option-other').hasDescription('this is option --a-option-other')
            parser.option('no-a-option').hasDescription('Disables option --a-option')
            parser.option('c-option')
            parser.option('no-c-option')
            def outstr = new StringWriter()
    
            expect:
            parser.printUsage(outstr)
            outstr.toString().readLines() == [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 20.8K bytes
    - Viewed (0)
  5. pkg/bootstrap/option/instances_test.go

    			key:      "discovery_address",
    			option:   option.DiscoveryAddress("fake"),
    			expected: "fake",
    		},
    		{
    			testName: "localhost v4",
    			key:      "localhost",
    			option:   option.Localhost(option.LocalhostIPv4),
    			expected: option.LocalhostValue("127.0.0.1"),
    		},
    		{
    			testName: "localhost v6",
    			key:      "localhost",
    			option:   option.Localhost(option.LocalhostIPv6),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/DefaultCommandLineActionFactoryTest.groovy

            outputs.stdErr.contains('--broken')
            outputs.stdErr.contains('USAGE: gradle [option...] [task...]')
            outputs.stdErr.contains('--help')
            outputs.stdErr.contains('--some-option')
    
            and:
            1 * actionFactory1.configureCommandLineParser(!null) >> {CommandLineParser parser -> parser.option('some-option')}
            1 * executionListener.onFailure({it instanceof CommandLineArgumentException})
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. .idea/inspectionProfiles/idea_default.xml

                <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
                <option name="REQUIRED_TAGS" value="" />
              </value>
            </option>
            <option name="INNER_CLASS_OPTIONS">
              <value>
                <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
                <option name="REQUIRED_TAGS" value="" />
              </value>
            </option>
            <option name="METHOD_OPTIONS">
              <value>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 09 20:59:03 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  8. pilot/pkg/security/authz/builder/builder.go

    	if option.IsCustomBuilder {
    		if len(policies.Custom) == 0 {
    			return nil
    		}
    		return &Builder{
    			customPolicies:    policies.Custom,
    			extensions:        processExtensionProvider(push),
    			trustDomainBundle: trustDomainBundle,
    			option:            option,
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TaskBooleanOptionIntegrationTest.groovy

                import org.gradle.api.tasks.options.Option;
    
                public class SampleTask extends DefaultTask {
    
                    @Option(option = "my-option", description = "Option to trigger generation of opposite option.")
                    private Boolean myOption;
    
                    @Option(option = "no-my-option", description = "Option clashing with generated opposite option.")
                    private Boolean noMyOption;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/advance.jsp

    						<option value=""><la:message key="labels.advance_search_filetype_default" /></option>
    						<option value="html" <c:if test="${as.filetype.contains('html')}">selected</c:if>><la:message
    								key="labels.advance_search_filetype_html"
    							/></option>
    						<option value="pdf" <c:if test="${as.filetype.contains('pdf')}">selected</c:if>><la:message
    								key="labels.advance_search_filetype_pdf"
    							/></option>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 14.9K bytes
    - Viewed (0)
Back to top