public class DirectoryCopyPackagingElement extends FileOrDirectoryCopyPackagingElement<DirectoryCopyPackagingElement>
myFilePath, PATH_ATTRIBUTE
Constructor and Description |
---|
DirectoryCopyPackagingElement() |
DirectoryCopyPackagingElement(java.lang.String directoryPath) |
Modifier and Type | Method and Description |
---|---|
PackagingElementPresentation |
createPresentation(ArtifactEditorContext context) |
DirectoryCopyPackagingElement |
getState() |
void |
loadState(DirectoryCopyPackagingElement state)
This method is called when new component state is loaded.
|
java.lang.String |
toString() |
findFile, getFilePath, getFilesKind, isEqualTo, setFilePath
getType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initializeComponent, noStateLoaded
public DirectoryCopyPackagingElement()
public DirectoryCopyPackagingElement(java.lang.String directoryPath)
public PackagingElementPresentation createPresentation(ArtifactEditorContext context)
createPresentation
in class PackagingElement<DirectoryCopyPackagingElement>
public DirectoryCopyPackagingElement getState()
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(DirectoryCopyPackagingElement state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public java.lang.String toString()
toString
in class java.lang.Object