Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 212 for init (0.2 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        ArtifactScopeEnum scope;
    
        // ------------------------------------------------------------------------
        /**
         * init graph
         */
        public MetadataGraph(int nVertices) {
            init(nVertices, 2 * nVertices);
        }
    
        public MetadataGraph(int nVertices, int nEdges) {
            init(nVertices, nEdges);
        }
        // ------------------------------------------------------------------------
        /**
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Oct 05 18:41:13 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

     * property {@code maven.ext.class.path} on the command line. As soon as dependency injection is set up, Maven
     * looks up all implementers of this interface and calls their {@link #init(Context)} method. Note:
     * Implementors are strongly advised to inherit from {@link AbstractEventSpy} instead of directly implementing this
     * interface.
     * @since 3.0.2
     */
    public interface EventSpy {
        /**
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/eventspy/AbstractEventSpy.java

    package org.apache.maven.eventspy;
    
    /**
     * A skeleton eventspy that does nothing other than helping implementors.
     * @since 3.0.2
     */
    public abstract class AbstractEventSpy implements EventSpy {
    
        public void init(Context context) throws Exception {}
    
        public void onEvent(Object event) throws Exception {}
    
        public void close() throws Exception {}
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            private final Lookup lookup;
    
            @Inject
            ReactorReaderSpy(Lookup lookup) {
                this.lookup = lookup;
            }
    
            @Override
            public void init(Context context) throws Exception {}
    
            @Override
            @SuppressWarnings("checkstyle:MissingSwitchDefault")
            public void onEvent(Object event) throws Exception {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

            }
            return new EventSpyRepositoryListener(this, listener);
        }
    
        public void init(EventSpy.Context context) {
            if (eventSpies.isEmpty()) {
                return;
            }
            for (EventSpy eventSpy : eventSpies) {
                try {
                    eventSpy.init(context);
                } catch (Exception | LinkageError e) {
                    logError("initialize", e, eventSpy);
                }
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/harness/PomTestWrapper.java

            context.setValue(expression, value);
        }
    
        /*
        public int containerCountForUri( String uri )
            throws IOException
        {
            Validate.notEmpty( uri, "uri can neither be null nor empty " );
            ModelDataSource source = new DefaultModelDataSource();
            source.init( domainModel.getModelProperties(), null );
            return source.queryFor( uri ).size();
        }
        */
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

        }
    
        public InputLocation(int lineNumber, int columnNumber) {
            this(lineNumber, columnNumber, null, null);
        }
    
        public InputLocation(int lineNumber, int columnNumber, InputSource source) {
            this(lineNumber, columnNumber, source, null);
        }
    
        public InputLocation(int lineNumber, int columnNumber, InputSource source, Object selfLocationKey) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

                private final Collection<Artifact> artifacts;
                private final int retryFailedDeploymentCount;
    
                DefaultArtifactDeployerRequest(
                        @Nonnull Session session,
                        @Nonnull RemoteRepository repository,
                        @Nonnull Collection<Artifact> artifacts,
                        int retryFailedDeploymentCount) {
                    super(session);
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

        }
    
        private static int repositoryHashCode(ArtifactRepository repository) {
            int result = 17;
            result = 31 * result + (repository.getId() != null ? repository.getId().hashCode() : 0);
            return result;
        }
    
        private static int repositoriesHashCode(List<ArtifactRepository> repositories) {
            int result = 17;
            for (ArtifactRepository repository : repositories) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

            addZeroTokens(valueTokens, 3);
            addZeroTokens(rangeValueTokens, 3);
    
            for (int i = 0; i < 3; i++) {
                int x = Integer.parseInt(valueTokens.get(i));
                int y = Integer.parseInt(rangeValueTokens.get(i));
                if (x < y) {
                    return -1;
                } else if (x > y) {
                    return 1;
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top