public abstract class CRaSHPlugin<P>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTED
.
|
static int |
FAILED
.
|
static int |
INITIALIZED
.
|
static int |
INITIALIZING
.
|
protected java.util.logging.Logger |
log
.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CRaSHPlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.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.
|
java.lang.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.
|
java.lang.Class<P> |
getType()
Returns the plugin type.
|
void |
init()
Implement this method to know about init life cycle callback.
|
java.lang.String |
toString() |
protected final java.util.logging.Logger log
public static final int FAILED
public static final int CONSTRUCTED
public static final int INITIALIZING
public static final int INITIALIZED
protected final PluginContext getContext()
public int getStatus()
public final java.lang.Class<P> getType()
protected java.lang.Iterable<PropertyDescriptor<?>> createConfigurationCapabilities()
PropertyDescriptor this plugin requires for its configuration.public final java.lang.Iterable<PropertyDescriptor<?>> getConfigurationCapabilities()
PropertyDescriptor this plugin requires for its configuration.public abstract P getImplementation()
public void init()
public void destroy()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 eXo Platform SAS. All Rights Reserved.