public class PluginInfo
extends java.lang.Object
PluginDefinition.checkInstallation(DbControl, java.util.Collection)
.Modifier and Type | Field and Description |
---|---|
private About |
about |
private java.lang.String |
className |
private boolean |
disabled |
private java.lang.String |
id |
private int |
internalId |
static java.util.Comparator<PluginInfo> |
NAME_COMPARATOR
Comparator that sort plug-ins according to their names.
|
private boolean |
notFound |
private java.util.Map<java.lang.String,java.lang.String> |
properties |
private Plugin.MainType |
type |
Constructor and Description |
---|
PluginInfo(java.lang.String id)
Create a new information object.
|
Modifier and Type | Method and Description |
---|---|
About |
getAbout()
Get information about the authors of the plug-in.
|
java.lang.String |
getClassName()
Get the class name of the plug-in.
|
int |
getInternalId()
Get the internal if of this plug-in.
|
java.lang.String |
getProperty(java.lang.String name) |
Plugin.MainType |
getType()
Get the main type of the plug-in.
|
boolean |
isDisabled()
Is this plug-in enabled or not?
|
boolean |
isInstalled()
Is this plug-in installed or not?
|
boolean |
isNotFound()
Does this plug-in exists on the server or not?
|
void |
setAbout(About about) |
void |
setClassName(java.lang.String className) |
void |
setDisabled(boolean disabled) |
void |
setInternalId(int internalId) |
void |
setNotFound(boolean notFound) |
void |
setProperty(java.lang.String name,
java.lang.String value) |
void |
setType(Plugin.MainType type) |
public static final java.util.Comparator<PluginInfo> NAME_COMPARATOR
private final java.lang.String id
private About about
private Plugin.MainType type
private java.lang.String className
private java.util.Map<java.lang.String,java.lang.String> properties
private int internalId
private boolean disabled
private boolean notFound
public PluginInfo(java.lang.String id)
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
public About getAbout()
public void setAbout(About about)
public Plugin.MainType getType()
public void setType(Plugin.MainType type)
public void setProperty(java.lang.String name, java.lang.String value)
public java.lang.String getProperty(java.lang.String name)
public int getInternalId()
PluginDefinition.checkInstallation(DbControl, java.util.Collection)
has been called.public void setInternalId(int internalId)
public boolean isInstalled()
public boolean isDisabled()
public void setDisabled(boolean disabled)
public boolean isNotFound()
public void setNotFound(boolean notFound)