Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Enum (0.25 sec)

  1. 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)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/MetadataStorage.java

     * under the License.
     */
    package org.apache.maven.api;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Storage location for metadata
     *
     * @since 4.0.0
     */
    @Experimental
    public enum MetadataStorage {
        GROUP,
        ARTIFACT,
        VERSION
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1K bytes
    - Viewed (0)
  3. 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)
  4. maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

    import org.apache.maven.project.MavenProject;
    
    /**
     * Holds data relevant for an execution event.
     *
     */
    public interface ExecutionEvent {
    
        /**
         * The possible types of execution events.
         */
        enum Type {
            ProjectDiscoveryStarted,
            SessionStarted,
            SessionEnded,
            ProjectSkipped,
            ProjectStarted,
            ProjectSucceeded,
            ProjectFailed,
            MojoSkipped,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. 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)
  6. maven-core/src/main/java/org/apache/maven/project/Graph.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.util.*;
    
    class Graph {
        private enum DfsState {
            VISITING,
            VISITED
        }
    
        final Map<String, Vertex> vertices = new LinkedHashMap<>();
    
        public Vertex getVertex(String id) {
            return vertices.get(id);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. 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)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         */
        @Nonnull
        Severity getSeverity();
    
        /**
         * The different severity levels for a problem, in decreasing order.
         *
         * @since 4.0.0
         */
        @Experimental
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top