Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addScopeInternal (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java

     *
     */
    public class ScopeArtifactFilter extends AbstractScopeArtifactFilter {
    
        private final String scope;
    
        public ScopeArtifactFilter(String scope) {
            this.scope = scope;
    
            addScopeInternal(scope);
        }
    
        public String getScope() {
            return scope;
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

        private boolean compileScope;
    
        private boolean runtimeScope;
    
        private boolean testScope;
    
        private boolean providedScope;
    
        private boolean systemScope;
    
        void addScopeInternal(String scope) {
            if (Artifact.SCOPE_COMPILE.equals(scope)) {
                systemScope = true;
                providedScope = true;
                compileScope = true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

                for (String scope : scopes) {
                    addScope(scope);
                }
            }
        }
    
        private void addScope(String scope) {
            this.scopes.add(scope);
    
            addScopeInternal(scope);
        }
    
        public Set<String> getScopes() {
            return scopes;
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
    
            hash = hash * 31 + scopes.hashCode();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top