|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.daemon.Daemon
public abstract class Daemon
Interfaces for Daemons Service.
Field Summary | |
---|---|
static int |
RESULT_FAILED
A daemon has processed but it has failed |
static int |
RESULT_PROCESSING
A daemon is processing so its result is not yet known |
static int |
RESULT_SUCCESS
A daemon has processed and it was successful |
static int |
RESULT_UNKNOWN
The result for this daemon is not yet known. |
static int |
STATUS_RUNNING
|
static int |
STATUS_STOPPED
|
Constructor Summary | |
---|---|
Daemon()
|
Method Summary | |
---|---|
String |
getLastRunLogs()
Returns the LastRunLogs |
String |
getPluginName()
Gets the plugin name |
int |
getResult()
Returns the Result |
void |
setLastRunLogs(String strLastRunLogs)
Sets the LastRunLogs |
void |
setPluginName(String pluginName)
Sets the plugin name |
void |
setResult(int nResult)
Sets the Result |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Runnable |
---|
run |
Field Detail |
---|
public static final int STATUS_STOPPED
public static final int STATUS_RUNNING
public static final int RESULT_UNKNOWN
public static final int RESULT_SUCCESS
public static final int RESULT_FAILED
public static final int RESULT_PROCESSING
Constructor Detail |
---|
public Daemon()
Method Detail |
---|
public String getPluginName()
public void setPluginName(String pluginName)
pluginName
- The plugin namepublic String getLastRunLogs()
public void setLastRunLogs(String strLastRunLogs)
strLastRunLogs
- The LastRunLogspublic int getResult()
public void setResult(int nResult)
nResult
- The Result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |