- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,645 for Options (0.29 seconds)
-
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java
import org.apache.maven.api.annotations.Nonnull; /** * Represents the base options supported by Maven tools. * This interface defines methods to access various configuration options * that can be set through command-line arguments or configuration files. * * @since 4.0.0 */ @Experimental public interface Options { /** Constant indicating that the options source is the command-line interface. */ String SOURCE_CLI = "CLI";Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jan 13 16:14:35 GMT 2025 - 6.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
import org.apache.maven.api.cli.Options; import org.apache.maven.api.cli.ParserRequest; /** * Options that are "layered" by precedence order. * * @param <O> The type of options. */ public abstract class LayeredOptions<O extends Options> implements Options { protected final List<O> options; protected LayeredOptions(List<O> options) { this.options = new ArrayList<>(options); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 26 17:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java
when(options.infer()).thenReturn(Optional.ofNullable(infer)); when(options.model()).thenReturn(Optional.ofNullable(model)); when(options.plugins()).thenReturn(Optional.ofNullable(plugins)); when(options.modelVersion()).thenReturn(Optional.ofNullable(modelVersion)); return options; } /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 8.9K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java
public PersistedToolchains read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) { InputSource source = (InputSource) options.get(InputSource.class.getName()); return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source)); } catch (XMLStreamException e) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java
* @param options The options to use for serialization, may be {@code null} to use the default values. * @param settings The settings to serialize, must not be {@code null}. * @throws IOException If the settings could not be serialized. */ void write(File output, Map<String, Object> options, Settings settings) throws IOException; /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java
// Check specific option if (specificOption.isPresent()) { return specificOption.get(); } // Apply default behavior when no specific options are provided if (defaultWhenNoOptionsSpecified && options.infer().isEmpty() && options.model().isEmpty() && options.plugins().isEmpty() && options.model().isEmpty()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestOutputStream.java
private final ImmutableSet<TestOption> options; private boolean closed; public TestOutputStream(OutputStream out, TestOption... options) throws IOException { this(out, Arrays.asList(options)); } public TestOutputStream(OutputStream out, Iterable<TestOption> options) throws IOException { super(checkNotNull(out)); this.options = ImmutableSet.copyOf(options); throwIf(OPEN_THROWS); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestInputStream.java
private final ImmutableSet<TestOption> options; private boolean closed; public TestInputStream(InputStream in, TestOption... options) throws IOException { this(in, Arrays.asList(options)); } public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException { super(checkNotNull(in)); this.options = ImmutableSet.copyOf(options); throwIf(OPEN_THROWS); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java
public final Path installationDirectory; public final Path userDirectory; public final boolean containerCapsuleManaged; private final Options options; public LookupContext(InvokerRequest invokerRequest, boolean containerCapsuleManaged, Options options) { this.invokerRequest = requireNonNull(invokerRequest); this.cwd = CWD.create(invokerRequest.cwd());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
/** * Tests for StaticJAASConfiguration. * * Coverage goals: * - Happy path with default and custom options. * - Null/empty/ignored name parameter handling. * - Null options edge case. * - Repeated calls equivalence and instance separation. * - Interaction check that passed options are not mutated. */ @ExtendWith(MockitoExtension.class) class StaticJAASConfigurationTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0)