- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Enum (0.17 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java
* * @since 4.0.0 * @see org.apache.maven.api.model.Dependency#getScope() * @see org.apache.maven.api.services.DependencyResolver */ @Experimental @Immutable public enum DependencyScope { /** * None. Allows you to declare dependencies (for example to alter reactor build order) but in reality dependencies * in this scope are not part of any path scope. */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Mar 27 14:46:12 GMT 2024 - 3.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java
* @return the type */ @Nonnull @Override default Type require(@Nonnull String id) { return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'")); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java
throw new CycleDetectedException( "Edge between '" + from + "' and '" + to + "' introduces to cycle in the graph", cycle); } } } private enum DfsState { VISITING, VISITED } private static List<String> visitCycle( Map<String, Set<String>> graph, Collection<String> children,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
/** * Request used to build a {@link org.apache.maven.api.Project} using * the {@link ProjectBuilder} service. * * TODO: replace ModelRepositoryHolder with just the enum for the strategy * TODO: replace validation level with an enum (though, we usually need just a boolean) * * @since 4.0.0 */ @Experimental @Immutable public interface ModelBuilderRequest { /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 17.1K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java
import org.apache.maven.api.annotations.Nonnull; /** * An SPI interface to extend Maven with a new enum value. * * @param <T> The type of extensible enum to extend */ @Experimental @Consumer public interface ExtensibleEnumProvider<T extends ExtensibleEnum> extends SpiService { /** * Registers new values for the T extensible enum. * * @return a collection of T instances to register */ @Nonnull
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 1.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java
* A path scope is used to determine the kind of build or class path that will be built when resolving * dependencies using the {@link org.apache.maven.api.services.DependencyResolver} service. * <p> * This extensible enum has four defined values, {@link #MAIN_COMPILE}, {@link #MAIN_RUNTIME}, * {@link #TEST_COMPILE} and {@link #TEST_RUNTIME}, but can be extended by registering a * {@code org.apache.maven.api.spi.PathScopeProvider}. * <p>
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnum.java
* can be used as keys. * * @since 4.0.0 */ @Experimental public interface ExtensibleEnum { /** * The {@code id} uniquely represents a value for this extensible enum. * This id should be used to compute the equality and hash code for the instance. * * @return the id */ @Nonnull String id();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 1.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ExtensibleEnumRegistry.java
@Nonnull Optional<T> lookup(@Nonnull String id); @Nonnull default T require(@Nonnull String id) { return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'")); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 1.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelRepositoryHolder.java
public class DefaultModelRepositoryHolder implements ModelRepositoryHolder { /** * The possible merge modes for combining remote repositories. */ public enum RepositoryMerging { /** * The repositories declared in the POM have precedence over the repositories specified in the request. */ POM_DOMINANT, /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* and on the Java module-path.</p> * * @see org.apache.maven.api.services.DependencyResolverResult#getDispatchedPaths() * * @since 4.0.0 */ @Experimental public enum JavaPathType implements PathType { /** * The path identified by the Java {@code --class-path} option. * Used for compilation, execution and Javadoc among others. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 11.6K bytes - Viewed (0)