HasAttributes
, Named
public interface ArtifactTypeDefinition extends HasAttributes, Named
Named.Namer
Modifier and Type | Field | Description |
---|---|---|
static Attribute<java.lang.String> |
ARTIFACT_TYPE_ATTRIBUTE |
The attribute that represents the type of the artifact.
|
static java.lang.String |
BINARY_DATA_TYPE |
Represents a binary file
|
static java.lang.String |
DIRECTORY_TYPE |
Represents a raw directory
|
static java.lang.String |
JAR_TYPE |
Represents a JAR file.
|
static java.lang.String |
JVM_CLASS_DIRECTORY |
Represents a directory tree containing class files.
|
static java.lang.String |
JVM_RESOURCES_DIRECTORY |
Represents a directory tree containing jvm classpath resource files.
|
static java.lang.String |
ZIP_TYPE |
Represents a zip file
|
Modifier and Type | Method | Description |
---|---|---|
AttributeContainer |
getAttributes() |
Defines the set of attributes to apply to a component that is packaged as an artifact of this type, when no other attributes are defined.
|
java.util.Set<java.lang.String> |
getFileNameExtensions() |
Returns the set of file name extensions that should be mapped to this artifact type.
|
static final Attribute<java.lang.String> ARTIFACT_TYPE_ATTRIBUTE
static final java.lang.String JAR_TYPE
static final java.lang.String JVM_CLASS_DIRECTORY
static final java.lang.String JVM_RESOURCES_DIRECTORY
static final java.lang.String ZIP_TYPE
static final java.lang.String DIRECTORY_TYPE
@Incubating static final java.lang.String BINARY_DATA_TYPE
java.util.Set<java.lang.String> getFileNameExtensions()
AttributeContainer getAttributes()
getFileNameExtensions()
.getAttributes
in interface HasAttributes