public class ArtifactImpl extends UserDataHolderBase implements ModifiableArtifact
Constructor and Description |
---|
ArtifactImpl(java.lang.String name,
ArtifactType artifactType,
boolean buildOnMake,
CompositePackagingElement<?> rootElement,
java.lang.String outputPath,
ProjectModelExternalSource externalSource) |
ArtifactImpl(java.lang.String name,
ArtifactType artifactType,
boolean buildOnMake,
CompositePackagingElement<?> rootElement,
java.lang.String outputPath,
ProjectModelExternalSource externalSource,
EventDispatcher<? extends ArtifactListener> dispatcher) |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(ArtifactImpl modified) |
ArtifactImpl |
createCopy(EventDispatcher<? extends ArtifactListener> dispatcher) |
ArtifactType |
getArtifactType() |
ProjectModelExternalSource |
getExternalSource()
Return non-null value if this element was automatically created by the IDE during importing from some external project system rather
than created by user manually via UI.
|
java.lang.String |
getName() |
VirtualFile |
getOutputFile() |
java.lang.String |
getOutputFilePath() |
java.lang.String |
getOutputPath() |
ArtifactProperties<?> |
getProperties(ArtifactPropertiesProvider provider) |
java.util.Collection<? extends ArtifactPropertiesProvider> |
getPropertiesProviders() |
CompositePackagingElement<?> |
getRootElement() |
boolean |
isBuildOnMake() |
void |
setArtifactType(ArtifactType selected) |
void |
setBuildOnMake(boolean buildOnMake) |
void |
setName(java.lang.String name) |
void |
setOutputPath(java.lang.String outputPath) |
void |
setProperties(ArtifactPropertiesProvider provider,
ArtifactProperties<?> properties) |
void |
setRootElement(CompositePackagingElement<?> root) |
java.lang.String |
toString() |
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUserData, putUserData
public ArtifactImpl(java.lang.String name, ArtifactType artifactType, boolean buildOnMake, CompositePackagingElement<?> rootElement, java.lang.String outputPath, ProjectModelExternalSource externalSource)
public ArtifactImpl(java.lang.String name, ArtifactType artifactType, boolean buildOnMake, CompositePackagingElement<?> rootElement, java.lang.String outputPath, ProjectModelExternalSource externalSource, EventDispatcher<? extends ArtifactListener> dispatcher)
public ArtifactType getArtifactType()
getArtifactType
in interface Artifact
public boolean isBuildOnMake()
isBuildOnMake
in interface Artifact
public CompositePackagingElement<?> getRootElement()
getRootElement
in interface Artifact
public java.lang.String getOutputPath()
getOutputPath
in interface Artifact
public java.util.Collection<? extends ArtifactPropertiesProvider> getPropertiesProviders()
getPropertiesProviders
in interface Artifact
public ProjectModelExternalSource getExternalSource()
ProjectModelElement
getExternalSource
in interface ProjectModelElement
public ArtifactImpl createCopy(EventDispatcher<? extends ArtifactListener> dispatcher)
public void setName(java.lang.String name)
setName
in interface ModifiableArtifact
public java.lang.String toString()
toString
in class java.lang.Object
public void setRootElement(CompositePackagingElement<?> root)
setRootElement
in interface ModifiableArtifact
public void setProperties(ArtifactPropertiesProvider provider, ArtifactProperties<?> properties)
setProperties
in interface ModifiableArtifact
public void setArtifactType(ArtifactType selected)
setArtifactType
in interface ModifiableArtifact
public void setBuildOnMake(boolean buildOnMake)
setBuildOnMake
in interface ModifiableArtifact
public void setOutputPath(java.lang.String outputPath)
setOutputPath
in interface ModifiableArtifact
public ArtifactProperties<?> getProperties(ArtifactPropertiesProvider provider)
getProperties
in interface Artifact
public VirtualFile getOutputFile()
getOutputFile
in interface Artifact
public java.lang.String getOutputFilePath()
getOutputFilePath
in interface Artifact
public void copyFrom(ArtifactImpl modified)