Class CommandResult

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class CommandResult
    extends java.lang.Object
    implements java.lang.Cloneable, java.io.Serializable
    CommandResult.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandResult()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()
      java.util.Date getDateBegin()
      Gets the date begin.
      java.util.Date getDateEnd()
      Gets the date end.
      java.lang.String getError()
      "Getter method" pour la variable _strError.
      int getErrorType()
      Gets the error type.
      java.lang.StringBuffer getLog()
      "Getter method" pour la variable _strLog.
      int getProgressValue()
      Gets the progress value.
      java.util.Map<java.lang.String,​java.lang.String> getResultInformations()
      Gets the result informations.
      int getStatus()
      "Getter method" pour la variable _nStatus.
      boolean isRunning()
      "Getter method" pour la variable _bRunning.
      void setDateBegin​(java.util.Date _dBegin)
      Sets the date begin.
      void setDateEnd​(java.util.Date _dEnd)
      Sets the date end.
      void setError​(java.lang.String strIdError)
      "Setter method" pour la variable _strError.
      void setErrorType​(int _nErrorType)
      Sets the error type.
      void setLog​(java.lang.StringBuffer strLog)
      "Setter method" pour la variable _strLog.
      void setProgressValue​(int progressValue)
      Sets the progress value.
      void setResultInformations​(java.util.Map<java.lang.String,​java.lang.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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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 Detail

      • CommandResult

        public CommandResult()
    • 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