Class CommandResult
- java.lang.Object
-
- fr.paris.lutece.plugins.releaser.util.CommandResult
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class CommandResult extends java.lang.Object implements java.lang.Cloneable, java.io.SerializableCommandResult.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intERROR_TYPE_INFOThe error type info.static intERROR_TYPE_STOPThe error type stop.static intSTATUS_ERRORThe status error.static intSTATUS_OKThe status ok.
-
Constructor Summary
Constructors Constructor Description CommandResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()java.util.DategetDateBegin()Gets the date begin.java.util.DategetDateEnd()Gets the date end.java.lang.StringgetError()"Getter method" pour la variable_strError.intgetErrorType()Gets the error type.java.lang.StringBuffergetLog()"Getter method" pour la variable_strLog.intgetProgressValue()Gets the progress value.java.util.Map<java.lang.String,java.lang.String>getResultInformations()Gets the result informations.intgetStatus()"Getter method" pour la variable_nStatus.booleanisRunning()"Getter method" pour la variable_bRunning.voidsetDateBegin(java.util.Date _dBegin)Sets the date begin.voidsetDateEnd(java.util.Date _dEnd)Sets the date end.voidsetError(java.lang.String strIdError)"Setter method" pour la variable_strError.voidsetErrorType(int _nErrorType)Sets the error type.voidsetLog(java.lang.StringBuffer strLog)"Setter method" pour la variable_strLog.voidsetProgressValue(int progressValue)Sets the progress value.voidsetResultInformations(java.util.Map<java.lang.String,java.lang.String> _mResultInformations)Sets the result informations.voidsetRunning(boolean bRunning)"Setter method" pour la variable_bRunning.voidsetStatus(int nStatus)"Setter method" pour la variable_nStatus.
-
-
-
Method Detail
-
getLog
public java.lang.StringBuffer getLog()
"Getter method" pour la variable_strLog.- Returns:
- La variable
_strLog
-
setLog
public void setLog(java.lang.StringBuffer strLog)
"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
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Throws:
java.lang.CloneNotSupportedException
-
getError
public java.lang.String getError()
"Getter method" pour la variable_strError.- Returns:
- La variable
_strError
-
setError
public void setError(java.lang.String strIdError)
"Setter method" pour la variable_strError.- Parameters:
strIdError- strIdError
-
getResultInformations
public java.util.Map<java.lang.String,java.lang.String> getResultInformations()
Gets the result informations.- Returns:
- reult informations
-
setResultInformations
public void setResultInformations(java.util.Map<java.lang.String,java.lang.String> _mResultInformations)
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
public java.util.Date getDateBegin()
Gets the date begin.- Returns:
- Date Begin
-
setDateBegin
public void setDateBegin(java.util.Date _dBegin)
Sets the date begin.- Parameters:
_dBegin- date begin
-
getDateEnd
public java.util.Date getDateEnd()
Gets the date end.- Returns:
- date end
-
setDateEnd
public void setDateEnd(java.util.Date _dEnd)
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
-
-