public class ArchivePackagingElement extends CompositeElementWithManifest<ArchivePackagingElement>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME_ATTRIBUTE |
Constructor and Description |
---|
ArchivePackagingElement() |
ArchivePackagingElement(java.lang.String archiveFileName) |
Modifier and Type | Method and Description |
---|---|
PackagingElementPresentation |
createPresentation(ArtifactEditorContext context) |
java.lang.String |
getArchiveFileName() |
java.lang.String |
getName() |
ArchivePackagingElement |
getState() |
boolean |
isEqualTo(PackagingElement<?> element) |
void |
loadState(ArchivePackagingElement state)
This method is called when new component state is loaded.
|
void |
rename(java.lang.String newName) |
void |
setArchiveFileName(java.lang.String archiveFileName) |
java.lang.String |
toString() |
addFirstChild, addOrFindChild, addOrFindChildren, canBeRenamed, findCompositeChild, getChildren, moveChild, removeAllChildren, removeChild, removeChildren
getFilesKind, getType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initializeComponent, noStateLoaded
public static final java.lang.String NAME_ATTRIBUTE
public ArchivePackagingElement()
public ArchivePackagingElement(java.lang.String archiveFileName)
public PackagingElementPresentation createPresentation(ArtifactEditorContext context)
createPresentation
in class PackagingElement<ArchivePackagingElement>
public java.lang.String getArchiveFileName()
public java.lang.String toString()
toString
in class java.lang.Object
public ArchivePackagingElement getState()
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void setArchiveFileName(java.lang.String archiveFileName)
public java.lang.String getName()
public void rename(java.lang.String newName)
public boolean isEqualTo(PackagingElement<?> element)
isEqualTo
in class PackagingElement<ArchivePackagingElement>
public void loadState(ArchivePackagingElement state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)