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, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUserData, putUserDatapublic 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 Artifactpublic boolean isBuildOnMake()
isBuildOnMake in interface Artifactpublic CompositePackagingElement<?> getRootElement()
getRootElement in interface Artifactpublic java.lang.String getOutputPath()
getOutputPath in interface Artifactpublic java.util.Collection<? extends ArtifactPropertiesProvider> getPropertiesProviders()
getPropertiesProviders in interface Artifactpublic ProjectModelExternalSource getExternalSource()
ProjectModelElementgetExternalSource in interface ProjectModelElementpublic ArtifactImpl createCopy(EventDispatcher<? extends ArtifactListener> dispatcher)
public void setName(java.lang.String name)
setName in interface ModifiableArtifactpublic java.lang.String toString()
toString in class java.lang.Objectpublic void setRootElement(CompositePackagingElement<?> root)
setRootElement in interface ModifiableArtifactpublic void setProperties(ArtifactPropertiesProvider provider, ArtifactProperties<?> properties)
setProperties in interface ModifiableArtifactpublic void setArtifactType(ArtifactType selected)
setArtifactType in interface ModifiableArtifactpublic void setBuildOnMake(boolean buildOnMake)
setBuildOnMake in interface ModifiableArtifactpublic void setOutputPath(java.lang.String outputPath)
setOutputPath in interface ModifiableArtifactpublic ArtifactProperties<?> getProperties(ArtifactPropertiesProvider provider)
getProperties in interface Artifactpublic VirtualFile getOutputFile()
getOutputFile in interface Artifactpublic java.lang.String getOutputFilePath()
getOutputFilePath in interface Artifactpublic void copyFrom(ArtifactImpl modified)