|
3.0.1: 2011-11-10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.util.extensions.xml.PluginInfo
public class PluginInfo
Object for holding information about a plug-in definition as
it is loaded from the extensions definition file. This class
has no effect on the actual installed plug-ins. To get
more information about what is installed and what is not,
call PluginDefinition.checkInstallation(DbControl, java.util.Collection)
.
Field Summary | |
---|---|
private About |
about
|
private String |
className
|
private boolean |
disabled
|
private String |
id
|
private int |
internalId
|
static Comparator<PluginInfo> |
NAME_COMPARATOR
Comparator that sort plug-ins according to their names. |
private boolean |
notFound
|
private Map<String,String> |
properties
|
private Plugin.MainType |
type
|
Constructor Summary | |
---|---|
PluginInfo(String id)
Create a new information object. |
Method Summary | |
---|---|
About |
getAbout()
Get information about the authors of the plug-in. |
String |
getClassName()
Get the class name of the plug-in. |
int |
getInternalId()
Get the internal if of this plug-in. |
String |
getProperty(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(String className)
|
void |
setDisabled(boolean disabled)
|
void |
setInternalId(int internalId)
|
void |
setNotFound(boolean notFound)
|
void |
setProperty(String name,
String value)
|
void |
setType(Plugin.MainType type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Comparator<PluginInfo> NAME_COMPARATOR
private final String id
private About about
private Plugin.MainType type
private String className
private Map<String,String> properties
private int internalId
private boolean disabled
private boolean notFound
Constructor Detail |
---|
public PluginInfo(String id)
Method Detail |
---|
public String getClassName()
public void setClassName(String className)
public About getAbout()
public void setAbout(About about)
public Plugin.MainType getType()
public void setType(Plugin.MainType type)
public void setProperty(String name, String value)
public String getProperty(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)
|
3.0.1: 2011-11-10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |