public class CommandResult extends Object implements Cloneable, Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_TYPE_INFO
The error type info.
|
static int |
ERROR_TYPE_STOP
The error type stop.
|
static int |
STATUS_ERROR
The status error.
|
static int |
STATUS_OK
The status ok.
|
| Constructor and Description |
|---|
CommandResult() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Date |
getDateBegin()
Gets the date begin.
|
Date |
getDateEnd()
Gets the date end.
|
String |
getError()
"Getter method" pour la variable
_strError. |
int |
getErrorType()
Gets the error type.
|
StringBuffer |
getLog()
"Getter method" pour la variable
_strLog. |
int |
getProgressValue()
Gets the progress value.
|
Map<String,String> |
getResultInformations()
Gets the result informations.
|
int |
getStatus()
"Getter method" pour la variable
_nStatus. |
boolean |
isRunning()
"Getter method" pour la variable
_bRunning. |
void |
setDateBegin(Date _dBegin)
Sets the date begin.
|
void |
setDateEnd(Date _dEnd)
Sets the date end.
|
void |
setError(String strIdError)
"Setter method" pour la variable
_strError. |
void |
setErrorType(int _nErrorType)
Sets the error type.
|
void |
setLog(StringBuffer strLog)
"Setter method" pour la variable
_strLog. |
void |
setProgressValue(int progressValue)
Sets the progress value.
|
void |
setResultInformations(Map<String,String> _mResultInformations)
Sets the result informations.
|
void |
setRunning(boolean bRunning)
"Setter method" pour la variable
_bRunning. |
void |
setStatus(int nStatus)
"Setter method" pour la variable
_nStatus. |
public static int STATUS_ERROR
public static int STATUS_OK
public static int ERROR_TYPE_INFO
public static int ERROR_TYPE_STOP
public StringBuffer getLog()
_strLog._strLogpublic void setLog(StringBuffer strLog)
_strLog.strLog - La nouvelle valeur de la variable _strLogpublic int getStatus()
_nStatus._nStatuspublic void setStatus(int nStatus)
_nStatus.nStatus - La nouvelle valeur de la variable _nStatuspublic boolean isRunning()
_bRunning._bRunningpublic void setRunning(boolean bRunning)
_bRunning.bRunning - La nouvelle valeur de la variable _bRunningpublic Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic String getError()
_strError._strErrorpublic void setError(String strIdError)
_strError.strIdError - strIdErrorpublic Map<String,String> getResultInformations()
public void setResultInformations(Map<String,String> _mResultInformations)
_mResultInformations - result informationspublic int getErrorType()
public void setErrorType(int _nErrorType)
_nErrorType - error typepublic Date getDateBegin()
public void setDateBegin(Date _dBegin)
_dBegin - date beginpublic Date getDateEnd()
public void setDateEnd(Date _dEnd)
_dEnd - date endpublic int getProgressValue()
public void setProgressValue(int progressValue)
progressValue - progress valueCopyright © 2020 City of Paris. All rights reserved.