Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,466 for Option (0.13 sec)

  1. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/OutgoingVariantsReportTask.java

         */
        @Input
        @Optional
        @Option(option = "variant", description = "The name of the single variant to report")
        public abstract Property<String> getVariantName();
    
        /**
         * Shows all variants, including legacy and deprecated configurations.
         *
         * @return property holding the flag to show all variants
         */
        @Input
        @Optional
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 28 20:17:34 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/Choice.java

    /**
     * Asks the user to select an option from a list of options. Allows the choice to be configured in various ways.
     *
     * @param <T> The type of the options of this choice.
     */
    public interface Choice<T> {
        /**
         * Specifies the option to present to the user as the default selection, and the option to use when not connected to a console.
         * Both of these values default to the first option.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/integTest/resources/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest/listsEnumAndBooleanCmdOptionValues/build.gradle

    import org.gradle.api.tasks.options.Option
    
    allprojects{
        task hello(type: CustomTask)
    }
    
    class CustomTask extends DefaultTask {
        @TaskAction
        void doSomething() {
        }
    
        @Option(option = "enumValue", description = "Configures an enum value in CustomTask.")
        public void setEnumValue(TestEnum value) {
        }
    
        @Option(option = "booleanValue", description = "Configures a boolean flag in CustomTask.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 06 10:43:03 UTC 2023
    - 517 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tasks/commandLineOption-optionValues/kotlin/buildSrc/src/main/java/UrlProcess.java

    import org.gradle.api.tasks.options.Option;
    import org.gradle.api.tasks.options.OptionValues;
    
    public abstract class UrlProcess extends DefaultTask {
        private String url;
        private OutputType outputType;
    
        @Input
        @Option(option = "http", description = "Configures the http protocol to be allowed.")
        public abstract Property<Boolean> getHttp();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. schema/index.go

    					idx.Type = index.Type
    				}
    				if idx.Where == "" {
    					idx.Where = index.Where
    				}
    				if idx.Comment == "" {
    					idx.Comment = index.Comment
    				}
    				if idx.Option == "" {
    					idx.Option = index.Option
    				}
    
    				idx.Fields = append(idx.Fields, index.Fields...)
    				sort.Slice(idx.Fields, func(i, j int) bool {
    					return idx.Fields[i].priority < idx.Fields[j].priority
    				})
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKeyTest.kt

            )
        }
    
        @Test
        fun `cache key honours isolated projects option`() {
            assertThat(
                cacheKeyStringFromStartParameter {
                    isolatedProjects = Option.Value.value(true)
                },
                equalTo(cacheKeyStringFromStartParameter {
                    isolatedProjects = Option.Value.value(true)
                })
            )
            assertThat(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/DefaultFeatureFlags.java

            if (flag.getSystemPropertyName() != null) {
                // Can explicitly disable property using system property
                Option.Value<Boolean> option = options.getOption(new InternalFlag(flag.getSystemPropertyName()));
                if (option.isExplicit() || option.get()) {
                    return option.get();
                }
            }
            return enabled.contains(flag);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionTest.groovy

        }
    
        def "can handle invalid value for command line option with concrete hint"() {
            when:
            Origin.forCommandLine(OPTION).handleInvalidValue(VALUE, HINT)
    
            then:
            Throwable t = thrown(CommandLineArgumentException)
            t.message == "Argument value '0' given for --option option is invalid (must be positive)"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. tools/docker-builder/dockerfile/parse.go

    	"istio.io/istio/tools/docker-builder/builder"
    )
    
    // Option is a functional option for remote operations.
    type Option func(*options) error
    
    type options struct {
    	args       map[string]string
    	ignoreRuns bool
    	baseDir    string
    }
    
    // WithArgs sets the input args to the dockerfile
    func WithArgs(a map[string]string) Option {
    	return func(o *options) error {
    		o.args = a
    		return nil
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/cases/cases.go

    	Compact Option = compact
    )
    
    // TODO: option to preserve a normal form, if applicable?
    
    type options struct {
    	noLower bool
    	simple  bool
    
    	// TODO: segmenter, max ignorable, alternative versions, etc.
    
    	ignoreFinalSigma bool
    }
    
    func getOpts(o ...Option) (res options) {
    	for _, f := range o {
    		res = f(res)
    	}
    	return
    }
    
    func noLower(o options) options {
    	o.noLower = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top