Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for helper (0.15 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

                    return actualOsName.contains(FAMILY_OPENVMS);
                default:
                    return actualOsName.contains(family.toLowerCase(Locale.US));
            }
        }
    
        /**
         * Helper method to determine the current OS family.
         *
         * @return name of current OS family.
         */
        private static String getOsFamily() {
            return Stream.of(
                            FAMILY_DOS,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

     * under the License.
     */
    package org.apache.maven.internal;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.regex.Pattern;
    
    /**
     * Helper class to format multiline messages to the console
     */
    public class MultilineMessageHelper {
    
        private static final int DEFAULT_MAX_SIZE = 65;
        private static final char BOX_CHAR = '*';
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Feb 07 20:55:12 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                throw new MetadataGraphTransformationException(e);
            }
        }
    
        // ===================================================================================================
        /**
         * Helper class to traverse graph. Required to make the containing method thread-safe
         * and yet use class level data to lessen stack usage in recursion
         */
        private class ClasspathGraphVisitor {
            MetadataGraph graph;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

            this.depth = depth;
            this.resolved = resolved;
            this.pomOrder = pomOrder;
        }
        // ----------------------------------------------------------------------------
        /**
         * helper for equals
         */
        private static boolean objectsEqual(Object o1, Object o2) {
            if (o1 == null && o2 == null) {
                return true;
            }
            if (o1 == null || o2 == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/PluginContainerException.java

    import org.codehaus.plexus.configuration.PlexusConfigurationException;
    
    /**
     * Exception which occurs to indicate that the plugin cannot be initialized due
     * to some deeper problem with Plexus. Context information includes the groupId,
     * artifactId, and version for the plugin; at times, the goal name for which
     * execution failed; a message detailing the problem; the ClassRealm used to
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.metadata;
    
    import org.apache.maven.artifact.ArtifactScopeEnum;
    
    /**
     * Helper class to convert a metadata Graph into some form of a classpath
     *
     *
     */
    @Deprecated
    public interface ClasspathTransformation {
        String ROLE = ClasspathTransformation.class.getName();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

        private int id;
    
        // Constructor
        ArtifactScopeEnum(int id) {
            this.id = id;
        }
    
        int getId() {
            return id;
        }
    
        /**
         * Helper method to simplify null processing
         *
         * @param scope a scope or {@code null}
         * @return the provided scope or DEFAULT_SCOPE
         */
        public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java

        final Map<Path, Holder> modelByPath = new ConcurrentHashMap<>();
    
        final Map<GAKey, Holder> modelByGA = new ConcurrentHashMap<>();
    
        public static class Holder {
            private volatile boolean set;
            private volatile Model model;
    
            Holder() {}
    
            Holder(Model model) {
                this.model = Objects.requireNonNull(model);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

         *
         * @see #getModuleInfo(Path)
         */
        private final Map<Path, PathModularization> moduleInfo;
    
        /**
         * Whether JAR files are modular. This map is redundant with {@link #moduleInfo},
         * but cheaper to compute when the module names are not needed.
         *
         * @see #getPathType(Path)
         */
        private final Map<Path, PathType> pathTypes;
    
        /**
         * Creates an initially empty cache.
         */
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java

                    Model model = findRawModel(from, gId, aId);
                    if (model != null) {
                        context.modelByGA.put(new GAKey(gId, aId), new Holder(model));
                        context.modelByPath.put(model.getPomFile(), new Holder(model));
                    }
                    return model;
                }
    
                @Override
                public Model getRawModel(Path from, Path path) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top