Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for init (0.17 sec)

  1. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  2. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.3K 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 May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  4. 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 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  5. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  6. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  7. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            if (lowerBound != null) {
                int comparison = lowerBound.compareTo(version);
    
                if ((comparison == 0) && !lowerBoundInclusive) {
                    return false;
                }
                if (comparison > 0) {
                    return false;
                }
            }
            if (upperBound != null) {
                int comparison = upperBound.compareTo(version);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         * returns -1 if none is available.
         * @return the current line number
         */
        int getLineNumber();
    
        /**
         * Return the column number where the current event ends,
         * returns -1 if none is available.
         * @return the current column number
         */
        int getColumnNumber();
    
        /**
         * Return the byte or character offset into the input source this location
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            return false;
        }
    
        public static String toSnapshotVersion(String version) {
            notBlank(version, "version can neither be null, empty nor blank");
    
            int lastHyphen = version.lastIndexOf('-');
            if (lastHyphen > 0) {
                int prevHyphen = version.lastIndexOf('-', lastHyphen - 1);
                if (prevHyphen > 0) {
                    Matcher m = Artifact.VERSION_FILE_PATTERN.matcher(version);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 6.9K bytes
    - Viewed (0)
Back to top