public abstract class Daemon extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
Daemon() |
Modifier and Type | Method and Description |
---|---|
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
|
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
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 ResultCopyright © 2020 City of Paris. All rights reserved.