|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.plugin.CRaSHPlugin<P>
public abstract class CRaSHPlugin<P>
| Field Summary | |
|---|---|
static int |
CONSTRUCTED
. |
static int |
FAILED
. |
static int |
INITIALIZED
. |
static int |
INITIALIZING
. |
protected Logger |
log
. |
| Constructor Summary | |
|---|---|
protected |
CRaSHPlugin()
|
| Method Summary | |
|---|---|
protected Iterable<PropertyDescriptor<?>> |
createConfigurationCapabilities()
Returns a list of PropertyDescriptor this plugin requires for its configuration. |
void |
destroy()
Implement this method to know about destroy life cycle callback. |
Iterable<PropertyDescriptor<?>> |
getConfigurationCapabilities()
Returns a list of PropertyDescriptor this plugin requires for its configuration. |
protected PluginContext |
getContext()
|
abstract P |
getImplementation()
Returns the implementation. |
int |
getStatus()
Returns the current plugin status. |
Class<P> |
getType()
Returns the plugin type. |
void |
init()
Implement this method to know about init life cycle callback. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Logger log
public static final int FAILED
public static final int CONSTRUCTED
public static final int INITIALIZING
public static final int INITIALIZED
| Constructor Detail |
|---|
protected CRaSHPlugin()
| Method Detail |
|---|
protected final PluginContext getContext()
public int getStatus()
public final Class<P> getType()
protected Iterable<PropertyDescriptor<?>> createConfigurationCapabilities()
PropertyDescriptor this plugin requires for its configuration.
public final Iterable<PropertyDescriptor<?>> getConfigurationCapabilities()
PropertyDescriptor this plugin requires for its configuration.
public abstract P getImplementation()
public void init()
public void destroy()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||