Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. 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();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top