Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Early (0.16 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/RootLocator.java

    /**
     * Interface used to locate the root directory for a given project.
     *
     * The root locator is usually looked up from the plexus container.
     * One notable exception is the computation of the early {@code session.rootDirectory}
     * property which happens very early.  The implementation used in this case
     * will be discovered using the JDK service mechanism.
     *
     * The default implementation will look for a {@code .mvn} child directory
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

    @Named
    public class DefaultRootLocator implements RootLocator {
    
        public boolean isRootDirectory(Path dir) {
            if (Files.isDirectory(dir.resolve(".mvn"))) {
                return true;
            }
            // we're too early to use the modelProcessor ...
            Path pom = dir.resolve("pom.xml");
            try (InputStream is = Files.newInputStream(pom)) {
                XMLStreamReader parser = new WstxInputFactory().createXMLStreamReader(is);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

    /**
     * Interface used to locate the root directory for a given project.
     *
     * The root locator is usually looked up from the plexus container.
     * One notable exception is the computation of the early {@code session.rootDirectory}
     * property which happens very early.  The implementation used in this case
     * will be discovered using the JDK service mechanism.
     *
     * The default implementation will look for a {@code .mvn} child directory
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 20 10:58:12 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/DeferredModelAction.java

     * limitations under the License.
     */
    
    package org.gradle.model.internal.core;
    
    import org.gradle.model.internal.core.rule.describe.ModelRuleDescriptor;
    
    /**
     * An action that should execute early in the lifecycle of a model element, to define rules for the element.
     */
    public interface DeferredModelAction {
        ModelRuleDescriptor getDescriptor();
    
        void execute(MutableModelNode node, ModelActionRole role);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 995 bytes
    - Viewed (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java

    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Component able to contribute to Maven session user properties. This SPI component is invoked
     * very early, while there is no session created yet.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface PropertyContributor extends SpiService {
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

      private OverflowAvoidingLockSupport() {}
    
      static void parkNanos(@CheckForNull Object blocker, long nanos) {
        // Even in the extremely unlikely event that a thread unblocks itself early after only 68 years,
        // this is indistinguishable from a spurious wakeup, which LockSupport allows.
        LockSupport.parkNanos(blocker, min(nanos, MAX_NANOSECONDS_THRESHOLD));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

      private OverflowAvoidingLockSupport() {}
    
      static void parkNanos(@CheckForNull Object blocker, long nanos) {
        // Even in the extremely unlikely event that a thread unblocks itself early after only 68 years,
        // this is indistinguishable from a spurious wakeup, which LockSupport allows.
        LockSupport.parkNanos(blocker, min(nanos, MAX_NANOSECONDS_THRESHOLD));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java

    @Named
    public class DefaultRootLocator implements RootLocator {
    
        public boolean isRootDirectory(Path dir) {
            if (Files.isDirectory(dir.resolve(".mvn"))) {
                return true;
            }
            // we're too early to use the modelProcessor ...
            Path pom = dir.resolve("pom.xml");
            try (InputStream is = Files.newInputStream(pom)) {
                XMLStreamReader parser = new WstxInputFactory().createXMLStreamReader(is);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 29 10:03:50 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

         * instance construction.
         *
         * @param session the Maven session
         * @throws MavenExecutionException in case of issue
         */
        // TODO This is too early for build extensions, so maybe just remove it?
        public void afterSessionStart(MavenSession session) throws MavenExecutionException {
            // do nothing
        }
    
        /**
         * Invoked after all projects were built.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@code Futures#withTimeout}.
     *
     * <p>Future that delegates to another but will finish early (via a {@link TimeoutException} wrapped
     * in an {@link ExecutionException}) if the specified duration expires. The delegate future is
     * interrupted and cancelled if it times out.
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top