public abstract class ArtifactType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<ArtifactType> |
EP_NAME |
Modifier | Constructor and Description |
---|---|
protected |
ArtifactType(java.lang.String id,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
void |
checkRootElement(CompositePackagingElement<?> rootElement,
Artifact artifact,
ArtifactProblemsHolder manager) |
abstract CompositePackagingElement<?> |
createRootElement(java.lang.String artifactName) |
static ArtifactType |
findById(java.lang.String id) |
static ArtifactType[] |
getAllTypes() |
abstract java.lang.String |
getDefaultPathFor(PackagingElementOutputKind kind) |
java.lang.String |
getDefaultPathFor(PackagingSourceItem sourceItem) |
abstract javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
java.util.List<? extends ArtifactTemplate> |
getNewArtifactTemplates(PackagingElementResolvingContext context) |
java.lang.String |
getPresentableName() |
java.util.List<? extends PackagingElement<?>> |
getSubstitution(Artifact artifact,
PackagingElementResolvingContext context,
ArtifactType parentType) |
boolean |
isSuitableItem(PackagingSourceItem sourceItem) |
public static final ExtensionPointName<ArtifactType> EP_NAME
public final java.lang.String getId()
public java.lang.String getPresentableName()
public abstract javax.swing.Icon getIcon()
public java.lang.String getDefaultPathFor(PackagingSourceItem sourceItem)
public abstract java.lang.String getDefaultPathFor(PackagingElementOutputKind kind)
public boolean isSuitableItem(PackagingSourceItem sourceItem)
public static ArtifactType[] getAllTypes()
public static ArtifactType findById(java.lang.String id)
public abstract CompositePackagingElement<?> createRootElement(java.lang.String artifactName)
public java.util.List<? extends ArtifactTemplate> getNewArtifactTemplates(PackagingElementResolvingContext context)
public void checkRootElement(CompositePackagingElement<?> rootElement, Artifact artifact, ArtifactProblemsHolder manager)
public java.util.List<? extends PackagingElement<?>> getSubstitution(Artifact artifact, PackagingElementResolvingContext context, ArtifactType parentType)