- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 30 for option_name (0.15 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/BuiltInOptionElement.java
*/ private final Consumer<Task> optionAction; public BuiltInOptionElement(String description, String optionName, Consumer<Task> optionAction) { super(requireNonNull(description), requireNonNull(optionName), Void.TYPE); this.optionAction = requireNonNull(optionAction); } @Override public Set<String> getAvailableValues() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 08 13:15:29 UTC 2022 - 1.7K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/configuration/TaskDetailPrinter.java
Map<String, String> optionToDescription = optionToDescription(allOptions); Iterator<String> optionNames = optionToAvailableOptionsValues.keySet().iterator(); while (optionNames.hasNext()) { String currentOption = optionNames.next(); Set<String> availableValues = optionToAvailableOptionsValues.get(currentOption); String optionString = "--" + currentOption;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 19 11:25:50 UTC 2023 - 8.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/OptionReader.java
JavaMethod<Object, Collection> valueMethod = null; for (JavaMethod<Object, Collection> optionValueMethod : optionValueMethods) { String[] optionNames = getOptionNames(optionValueMethod); if (CollectionUtils.toList(optionNames).contains(optionElement.getOptionName())) { if (valueMethod == null) { valueMethod = optionValueMethod; } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 06 09:51:34 UTC 2023 - 10K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TaskBooleanOptionIntegrationTest.groovy
def "if not passed, boolean options have default value with #optionName=#value"() { given: file('buildSrc/src/main/java/SampleTask.java') << taskWithBooleanOptions() buildFile << sampleTask() when: run('sample') then: outputContains("Value of $optionName: $value") where: optionName | value 'myBooleanPrimitiveOption' | 'false'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
assertEquals(Optional.of("abc"), Optional.fromJavaUtil(java.util.Optional.of("abc"))); } public void testAbsent() { Optional<String> optionalName = Optional.absent(); assertFalse(optionalName.isPresent()); } public void testOf() { assertEquals("training", Optional.of("training").get()); } public void testOf_null() { try { Optional.of(null);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 11.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionFailureIntegrationTest.groovy
failure.assertHasCause("Unknown command-line option '--tests'") } String taskWithMultipleOptionsForSingleProperty(String optionType, String optionName, String optionDescription) { """ import org.gradle.api.DefaultTask; import org.gradle.api.tasks.TaskAction; import org.gradle.api.tasks.options.Option;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:35 UTC 2024 - 7.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildExceptionReporter.java
context.appendResolution(this::writeGeneralTips); } } private static void runWithOption(StyledTextOutput output, String optionName, String text) { output.text("Run with "); output.withStyle(UserInput).format("--%s", optionName); output.text(text); } private static List<String> getResolutions(Throwable throwable) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 19.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/third_party/forked/golang/json/fields.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 13.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy
TaskOptionsGenerator.BUILT_IN_OPTIONS.eachWithIndex { BuiltInOptionElement optionElement, int i -> assert options[ownOptions + i].name == optionElement.optionName assert options[ownOptions + i].description == optionElement.description assert options[ownOptions + i].argumentType == Void.TYPE assert options[ownOptions + i].availableValues == [] as Set
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 10 12:45:01 UTC 2023 - 33.4K bytes - Viewed (0) -
pkg/workloadapi/security/authorization.pb.go
const ( // Allow the request if it matches with the rules. Action_ALLOW Action = 0 // Deny the request if it matches with the rules. Action_DENY Action = 1 ) // Enum value maps for Action. var ( Action_name = map[int32]string{ 0: "ALLOW", 1: "DENY", } Action_value = map[string]int32{ "ALLOW": 0, "DENY": 1, } ) func (x Action) Enum() *Action { p := new(Action) *p = x
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 29.7K bytes - Viewed (0)