|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rhq.core.domain.plugin.Plugin
public class Plugin
A JON plugin. This object only contains information about the plugin jar itself (e.g. its name and MD5).
Field Summary | |
---|---|
static String |
QUERY_FIND_ALL
|
Constructor Summary | |
---|---|
protected |
Plugin()
|
|
Plugin(String name,
String path)
Constructor for Plugin . |
|
Plugin(String name,
String path,
String md5)
Constructor for Plugin . |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
long |
getCtime()
|
String |
getDescription()
|
String |
getDisplayName()
|
String |
getHelp()
|
int |
getId()
|
String |
getMd5()
|
String |
getMD5()
|
String |
getName()
|
String |
getPath()
Returns the actual name of the plugin jar. |
String |
getVersion()
|
int |
hashCode()
|
boolean |
isEnabled()
|
void |
setCtime(long ctime)
|
void |
setDescription(String description)
|
void |
setDisplayName(String displayName)
|
void |
setEnabled(boolean enabled)
|
void |
setHelp(String help)
|
void |
setId(int id)
|
void |
setMd5(String md5)
|
void |
setMD5(String md5)
|
void |
setName(String name)
|
void |
setPath(String path)
Ensure that the path being set does not include any directory names. |
void |
setVersion(String version)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String QUERY_FIND_ALL
Constructor Detail |
---|
protected Plugin()
public Plugin(@NotNull String name, String path)
Plugin
.
name
- the logical name of the pluginpath
- the actual filename of the plugin jar (see getPath()
)public Plugin(String name, String path, String md5)
Plugin
.
name
- the logical name of the pluginpath
- the actual filename of the plugin jar (see getPath()
)md5
- the MD5 hash string of the plugin jar contentsMethod Detail |
---|
public int getId()
public void setId(int id)
public String getName()
public void setName(String name)
public void setCtime(long ctime)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getDescription()
public void setDescription(String description)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public String getHelp()
public void setHelp(String help)
public String getVersion()
public void setVersion(String version)
public String getMd5()
public void setMd5(String md5)
public String getPath()
public void setPath(String path)
getPath()
.
path
- the filename of the plugin, not including directory namespublic String getMD5()
public void setMD5(String md5)
public long getCtime()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |