ArtifactTypeDefinition

Meta-data about a particular type of artifacts.

Since

4.0

Properties

Link copied to clipboard
The attribute that represents the type of the artifact.
Link copied to clipboard
val BINARY_DATA_TYPE: String = "binary"
Represents a binary file
Link copied to clipboard
val DIRECTORY_TYPE: String = "directory"
Represents a raw directory
Link copied to clipboard
val JAR_TYPE: String = "jar"
Represents a JAR file.
Link copied to clipboard
val JVM_CLASS_DIRECTORY: String = "java-classes-directory"
Represents a directory tree containing class files.
Link copied to clipboard
val JVM_RESOURCES_DIRECTORY: String = "java-resources-directory"
Represents a directory tree containing jvm classpath resource files.
Link copied to clipboard
val ZIP_TYPE: String = "zip"
Represents a zip file

Functions

Link copied to clipboard
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.
Link copied to clipboard
abstract fun getFileNameExtensions(): Set<String>
Returns the set of file name extensions that should be mapped to this artifact type.
Link copied to clipboard
abstract fun getName(): String