HasAttributes
, Named
@Incubating public interface ArtifactTypeDefinition extends HasAttributes, Named
Named.Namer
Modifier and Type | Field | Description |
---|---|---|
static String |
DIRECTORY_TYPE |
Represents a raw directory
|
static String |
JAR_TYPE |
Represents a JAR file.
|
static String |
JVM_CLASS_DIRECTORY |
Represents a directory tree containing class files.
|
static String |
JVM_RESOURCES_DIRECTORY |
Represents a directory tree containing jvm classpath resource files.
|
static 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.
|
Set<String> |
getFileNameExtensions() |
Returns the set of file name extensions that should be mapped to this artifact type.
|
@Incubating static final String JAR_TYPE
@Incubating static final String JVM_CLASS_DIRECTORY
@Incubating static final String JVM_RESOURCES_DIRECTORY
@Incubating static final String ZIP_TYPE
@Incubating static final String DIRECTORY_TYPE
Set<String> getFileNameExtensions()
AttributeContainer getAttributes()
getFileNameExtensions()
.getAttributes
in interface HasAttributes