Class CommandResult
java.lang.Object
fr.paris.lutece.plugins.releaser.util.CommandResult
- All Implemented Interfaces:
Serializable,Cloneable
CommandResult.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intThe error type info.static intThe error type stop.static intThe status error.static intThe status ok. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the date begin.Gets the date end.getError()"Getter method" pour la variable_strError.intGets the error type.getLog()"Getter method" pour la variable_strLog.intGets the progress value.Gets the result informations.int"Getter method" pour la variable_nStatus.boolean"Getter method" pour la variable_bRunning.voidsetDateBegin(Date _dBegin) Sets the date begin.voidsetDateEnd(Date _dEnd) Sets the date end.void"Setter method" pour la variable_strError.voidsetErrorType(int _nErrorType) Sets the error type.voidsetLog(StringBuffer strLog) "Setter method" pour la variable_strLog.voidsetProgressValue(int progressValue) Sets the progress value.voidsetResultInformations(Map<String, String> _mResultInformations) Sets the result informations.voidsetRunning(boolean bRunning) "Setter method" pour la variable_bRunning.voidsetStatus(int nStatus) "Setter method" pour la variable_nStatus.
-
Field Details
-
STATUS_ERROR
public static int STATUS_ERRORThe status error. -
STATUS_OK
public static int STATUS_OKThe status ok. -
ERROR_TYPE_INFO
public static int ERROR_TYPE_INFOThe error type info. -
ERROR_TYPE_STOP
public static int ERROR_TYPE_STOPThe error type stop.
-
-
Constructor Details
-
CommandResult
public CommandResult()
-
-
Method Details
-
getLog
"Getter method" pour la variable_strLog.- Returns:
- La variable
_strLog
-
setLog
"Setter method" pour la variable_strLog.- Parameters:
strLog- La nouvelle valeur de la variable_strLog
-
getStatus
public int getStatus()"Getter method" pour la variable_nStatus.- Returns:
- La variable
_nStatus
-
setStatus
public void setStatus(int nStatus) "Setter method" pour la variable_nStatus.- Parameters:
nStatus- La nouvelle valeur de la variable_nStatus
-
isRunning
public boolean isRunning()"Getter method" pour la variable_bRunning.- Returns:
- La variable
_bRunning
-
setRunning
public void setRunning(boolean bRunning) "Setter method" pour la variable_bRunning.- Parameters:
bRunning- La nouvelle valeur de la variable_bRunning
-
clone
- Throws:
CloneNotSupportedException
-
getError
"Getter method" pour la variable_strError.- Returns:
- La variable
_strError
-
setError
"Setter method" pour la variable_strError.- Parameters:
strIdError- strIdError
-
getResultInformations
Gets the result informations.- Returns:
- reult informations
-
setResultInformations
Sets the result informations.- Parameters:
_mResultInformations- result informations
-
getErrorType
public int getErrorType()Gets the error type.- Returns:
- error type
-
setErrorType
public void setErrorType(int _nErrorType) Sets the error type.- Parameters:
_nErrorType- error type
-
getDateBegin
Gets the date begin.- Returns:
- Date Begin
-
setDateBegin
Sets the date begin.- Parameters:
_dBegin- date begin
-
getDateEnd
Gets the date end.- Returns:
- date end
-
setDateEnd
Sets the date end.- Parameters:
_dEnd- date end
-
getProgressValue
public int getProgressValue()Gets the progress value.- Returns:
- progress value
-
setProgressValue
public void setProgressValue(int progressValue) Sets the progress value.- Parameters:
progressValue- progress value
-