Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for State (0.34 sec)

  1. maven-slf4j-wrapper/src/main/java/org/apache/maven/logwrapper/LogLevelRecorder.java

     * under the License.
     */
    package org.apache.maven.logwrapper;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.slf4j.event.Level;
    
    /**
     * Responsible for keeping state of whether the threshold of the --fail-on-severity flag has been hit.
     */
    public class LogLevelRecorder {
        private static final Map<String, Level> ACCEPTED_LEVELS = new HashMap<>();
    
        static {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

            ChecksumCalculator getCalculator();
        }
    
        /**
         * The checksum calculator.
         */
        interface ChecksumCalculator {
            /**
             * Updates the checksum algorithm inner state with input.
             *
             * @throws NullPointerException if passed in buffer is {@code null}.
             */
            void update(@Nonnull ByteBuffer input);
    
            /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 21 08:05:10 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. maven-embedder/src/main/java/org/slf4j/MavenSlf4jFriend.java

     * Utility for Maven to access Slf4j internals through package access.
     * Use with precaution, since this is not normally intended for production use.
     */
    public class MavenSlf4jFriend {
        /**
         * Reset Slf4j internal state.
         */
        public static void reset() {
            LoggerFactory.reset();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  4. apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests that the global settings.xml shipped with the distribution is in good state.
     *
     */
    class GlobalSettingsTest {
    
        @Test
        void testValidGlobalSettings() throws Exception {
            String basedir = System.getProperty("basedir", System.getProperty("user.dir"));
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

                Map<String, DfsState> stateMap,
                LinkedList<String> cycle) {
            if (children != null) {
                for (String v : children) {
                    DfsState state = stateMap.putIfAbsent(v, DfsState.VISITING);
                    if (state == null) {
                        cycle.addLast(v);
                        List<String> ret = visitCycle(graph, graph.get(v), stateMap, cycle);
                        if (ret != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

                        .collect(Collectors.toList());
            }
        }
    
        @Benchmark
        public int readWithStax(AdditionState state) throws IOException, XMLStreamException {
            int i = 0;
            for (Path pom : state.poms) {
                try (InputStream is = Files.newInputStream(pom)) {
                    MavenStaxReader reader = new MavenStaxReader();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:14:01 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    channel = new RandomAccessFile(touchfile, "rw").getChannel();
                    lock = channel.lock();
    
                    if (touchfile.canRead()) {
                        getLogger().debug("Reading resolution-state from: " + touchfile);
                        props.load(Channels.newInputStream(channel));
                    }
    
                    props.setProperty(key, Long.toString(System.currentTimeMillis()));
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/LegacySupport.java

         * parameters that would be required to delegate to a stateless component. Saving the session (in a thread-local
         * variable) is our best effort to record any state that is required to enable proper delegation.
         *
         * @param session The currently active session, may be {@code null}.
         */
        void setSession(MavenSession session);
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DependencyContext.java

     *
     * @since 3.0
     */
    // TODO From a concurrency perspective, this class is not good. The combination of mutable/immutable state is not nice
    public class DependencyContext {
    
        private final MavenProject project;
    
        private final Collection<String> scopesToCollectForCurrentProject;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            throw new UnsupportedOperationException("transformed artifact file cannot be set");
        }
    
        @Override
        public synchronized File getFile() {
            try {
                String state = mayUpdate();
                if (state == null) {
                    return null;
                }
                return target.toFile();
            } catch (IOException | NoSuchAlgorithmException | XMLStreamException | ModelBuildingException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top