public class ExtractedDirectoryPackagingElement extends FileOrDirectoryCopyPackagingElement<ExtractedDirectoryPackagingElement>
myFilePath, PATH_ATTRIBUTE
Constructor and Description |
---|
ExtractedDirectoryPackagingElement() |
ExtractedDirectoryPackagingElement(java.lang.String jarPath,
java.lang.String pathInJar) |
Modifier and Type | Method and Description |
---|---|
PackagingElementPresentation |
createPresentation(ArtifactEditorContext context) |
VirtualFile |
findFile() |
java.lang.String |
getPathInJar() |
ExtractedDirectoryPackagingElement |
getState() |
boolean |
isEqualTo(PackagingElement<?> element) |
void |
loadState(ExtractedDirectoryPackagingElement state)
This method is called when new component state is loaded.
|
void |
setPathInJar(java.lang.String pathInJar) |
java.lang.String |
toString() |
getFilePath, getFilesKind, setFilePath
getType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initializeComponent, noStateLoaded
public ExtractedDirectoryPackagingElement()
public ExtractedDirectoryPackagingElement(java.lang.String jarPath, java.lang.String pathInJar)
public PackagingElementPresentation createPresentation(ArtifactEditorContext context)
createPresentation
in class PackagingElement<ExtractedDirectoryPackagingElement>
public java.lang.String toString()
toString
in class java.lang.Object
public VirtualFile findFile()
findFile
in class FileOrDirectoryCopyPackagingElement<ExtractedDirectoryPackagingElement>
public boolean isEqualTo(PackagingElement<?> element)
isEqualTo
in class FileOrDirectoryCopyPackagingElement<ExtractedDirectoryPackagingElement>
public ExtractedDirectoryPackagingElement 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(ExtractedDirectoryPackagingElement state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public java.lang.String getPathInJar()
public void setPathInJar(java.lang.String pathInJar)