Package flexagon.fd.model.pojos.plugin
Class PluginZIP
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model.pojos.plugin.PluginZIP
- All Implemented Interfaces:
Serializable
PluginZip utility either create instance using InputStream to the Zip file or using List of
String data read from database.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()voidPluginDefinitionstatic StringgetPluginDirectory(String pPluginName, String pPluginVersion) booleanCheck the plugin's directory and see if it exists and is not empty.voidsetPluginName(String pPluginName) voidsetPluginVersion(String pPluginVersion) toString()Returns custom String representation implemented by walking complete object structure.
-
Constructor Details
-
PluginZIP
-
-
Method Details
-
setPluginName
-
getPluginName
-
setPluginVersion
-
getPluginVersion
-
getPluginDirectory
-
getPluginDirectory
-
pluginExistsOnFileSystem
public boolean pluginExistsOnFileSystem()Check the plugin's directory and see if it exists and is not empty. This means if any part of the plugin is still there it will return false Plugin name and version must be set for this to work correctly- Returns:
- is the plugin uploaded already
-
getPluginZipFileName
-
getPluginXML
-
getPluginDefinition
public PluginDefinition getPluginDefinition() -
toString
Description copied from class:BasePOJOReturns custom String representation implemented by walking complete object structure. -
extract
- Throws:
FlexCheckedException
-
delete
public void delete()
-