Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getLanguages (0.13 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                    ArtifactHandler handler = manager.getArtifactHandler(id);
                    type = new DefaultType(
                            id,
                            languageRegistry.lookup(handler.getLanguage()).orElseGet(() -> handler::getLanguage),
                            handler.getExtension(),
                            handler.getClassifier(),
                            handler.isIncludesDependencies(),
                            JavaPathType.CLASSES,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerMock.java

            return includesDependencies;
        }
    
        public void setLanguage(String language) {
            this.language = language;
        }
    
        @Override
        public String getLanguage() {
            return language;
        }
    
        @Deprecated
        public void setAddedToClasspath(boolean addedToClasspath) {
            this.addedToClasspath = addedToClasspath;
        }
    
        @Override
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

        public String getDirectory() {
            return getPackaging() + "s";
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getLanguage() {
            return "java";
        }
    
        @Override
        public String getPackaging() {
            return type;
        }
    
        @Override
        @Deprecated
        public boolean isAddedToClasspath() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

            if (type instanceof ArtifactType) {
                return (ArtifactType) type;
            }
            if (type != null) {
                return new DefaultType(
                        type.id(),
                        type.getLanguage(),
                        type.getExtension(),
                        type.getClassifier(),
                        type.isIncludesDependencies(),
                        type.getPathTypes().toArray(new PathType[0]));
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

         *
         * @return the classifier
         */
        String getClassifier();
    
        String getPackaging();
    
        boolean isIncludesDependencies();
    
        String getLanguage();
    
        /**
         * Specifies if the artifact contains java classes and can be added to the classpath.
         * Whether the artifact should be added to the classpath depends on other
         * dependency properties.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

                        type.getExtension(),
                        type.getClassifier(),
                        null,
                        null,
                        type.isIncludesDependencies(),
                        type.getLanguage().id(),
                        type.getPathTypes().contains(JavaPathType.CLASSES));
                // TODO: watch out for module path
            });
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifactHandler.java

        @Override
        public String getDirectory() {
            return null;
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getLanguage() {
            return "none";
        }
    
        @Override
        public String getPackaging() {
            return packaging;
        }
    
        @Override
        @Deprecated
        public boolean isAddedToClasspath() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

        }
    
        public void setIncludesDependencies(final boolean includesDependencies) {
            this.includesDependencies = includesDependencies;
        }
    
        @Override
        public String getLanguage() {
            if (language == null) {
                return "none";
            }
    
            return language;
        }
    
        public void setLanguage(final String language) {
            this.language = language;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java

        }
    
        @Override
        public String id() {
            return id;
        }
    
        @Override
        public String getId() {
            return id();
        }
    
        @Override
        public Language getLanguage() {
            return language;
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getClassifier() {
            return classifier;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top