Class CommandResult

java.lang.Object
fr.paris.lutece.plugins.releaser.util.CommandResult
All Implemented Interfaces:
Serializable, Cloneable

public class CommandResult extends Object implements Cloneable, Serializable
CommandResult.
See Also:
  • Field Details

    • STATUS_ERROR

      public static int STATUS_ERROR
      The status error.
    • STATUS_OK

      public static int STATUS_OK
      The status ok.
    • ERROR_TYPE_INFO

      public static int ERROR_TYPE_INFO
      The error type info.
    • ERROR_TYPE_STOP

      public static int ERROR_TYPE_STOP
      The error type stop.
  • Constructor Details

    • CommandResult

      public CommandResult()
  • Method Details

    • getLog

      public StringBuffer getLog()
      "Getter method" pour la variable _strLog.
      Returns:
      La variable _strLog
    • setLog

      public void setLog(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 Object clone() throws CloneNotSupportedException
      Throws:
      CloneNotSupportedException
    • getError

      public String getError()
      "Getter method" pour la variable _strError.
      Returns:
      La variable _strError
    • setError

      public void setError(String strIdError)
      "Setter method" pour la variable _strError.
      Parameters:
      strIdError - strIdError
    • getResultInformations

      public Map<String,String> getResultInformations()
      Gets the result informations.
      Returns:
      reult informations
    • setResultInformations

      public void setResultInformations(Map<String,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 Date getDateBegin()
      Gets the date begin.
      Returns:
      Date Begin
    • setDateBegin

      public void setDateBegin(Date _dBegin)
      Sets the date begin.
      Parameters:
      _dBegin - date begin
    • getDateEnd

      public Date getDateEnd()
      Gets the date end.
      Returns:
      date end
    • setDateEnd

      public void setDateEnd(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