Class DefaultType
java.lang.Object
org.apache.maven.repository.internal.type.DefaultType
- All Implemented Interfaces:
org.apache.maven.api.ExtensibleEnum
,org.apache.maven.api.Type
,org.eclipse.aether.artifact.ArtifactType
public class DefaultType
extends Object
implements org.apache.maven.api.Type, org.eclipse.aether.artifact.ArtifactType
Default implementation of
Type
and Resolver ArtifactType
.- Since:
- 4.0.0
-
Field Summary
Fields inherited from interface org.apache.maven.api.Type
BOM, CLASSPATH_JAR, JAR, JAVA_SOURCE, JAVADOC, MAVEN_PLUGIN, MODULAR_JAR, POM, TEST_JAR
-
Constructor Summary
ConstructorDescriptionDefaultType
(String id, org.apache.maven.api.Language language, String extension, String classifier, boolean includesDependencies, org.apache.maven.api.PathType... pathTypes) -
Method Summary
-
Constructor Details
-
DefaultType
-
-
Method Details
-
id
- Specified by:
id
in interfaceorg.apache.maven.api.ExtensibleEnum
- Specified by:
id
in interfaceorg.apache.maven.api.Type
-
getId
- Specified by:
getId
in interfaceorg.eclipse.aether.artifact.ArtifactType
-
getLanguage
public org.apache.maven.api.Language getLanguage()- Specified by:
getLanguage
in interfaceorg.apache.maven.api.Type
-
getExtension
- Specified by:
getExtension
in interfaceorg.eclipse.aether.artifact.ArtifactType
- Specified by:
getExtension
in interfaceorg.apache.maven.api.Type
-
getClassifier
- Specified by:
getClassifier
in interfaceorg.eclipse.aether.artifact.ArtifactType
- Specified by:
getClassifier
in interfaceorg.apache.maven.api.Type
-
isIncludesDependencies
public boolean isIncludesDependencies()- Specified by:
isIncludesDependencies
in interfaceorg.apache.maven.api.Type
-
getPathTypes
- Specified by:
getPathTypes
in interfaceorg.apache.maven.api.Type
-
getProperties
- Specified by:
getProperties
in interfaceorg.eclipse.aether.artifact.ArtifactType
-