Class ExternalMergeToolExecutionStatus

  • All Implemented Interfaces:
    org.eclipse.core.runtime.IStatus

    public class ExternalMergeToolExecutionStatus
    extends org.eclipse.core.runtime.MultiStatus
    The external comparison and merge tool execution status. Stores the external comparison and merge tool execution process exit value.
    • Field Summary

      • Fields inherited from class org.eclipse.core.runtime.Status

        CANCEL_STATUS, OK_STATUS
      • Fields inherited from interface org.eclipse.core.runtime.IStatus

        CANCEL, ERROR, INFO, OK, WARNING
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getExecutionResultValue()
      Returns the external merge tool execution process result value
      boolean isMergeResultSaved()
      Tells whether the merge result was saved while then external merge tool execution process.
      boolean isSuccessfulExecutionResult()
      Tells whether the external merge tool execution process result is successful.
      void setExecutionResultValue​(int executionResultValue)
      Sets the external merge tool execution process result value
      void setMergeResultSaved​(boolean mergeResultSaved)
      Sets whether the merge result was saved while then external merge tool execution process
      void setSuccessfulExecutionResult()
      Sets that the external merge tool execution process result is successful.
      • Methods inherited from class org.eclipse.core.runtime.MultiStatus

        add, addAll, getChildren, isMultiStatus, merge, toString
      • Methods inherited from class org.eclipse.core.runtime.Status

        error, error, getCode, getException, getMessage, getPlugin, getSeverity, info, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity, warning, warning
    • Constructor Detail

      • ExternalMergeToolExecutionStatus

        public ExternalMergeToolExecutionStatus​(String message)
        Creates a new instance.
        Parameters:
        message - the external merge tool execution process message, cannot be null
      • ExternalMergeToolExecutionStatus

        public ExternalMergeToolExecutionStatus​(String message,
                                                int executionResultValue)
        Creates a new instance.
        Parameters:
        message - the external merge tool execution process message, cannot be null
        executionResultValue - the external merge tool execution process result value
      • ExternalMergeToolExecutionStatus

        public ExternalMergeToolExecutionStatus​(String message,
                                                int executionResultValue,
                                                boolean mergeResultSaved)
        Creates a new instance.
        Parameters:
        message - the external merge tool execution process message, cannot be null
        executionResultValue - the external merge tool execution process result value
        mergeResultSaved - true if the merge result was saved while then external merge tool execution process, false otherwise
    • Method Detail

      • getExecutionResultValue

        public int getExecutionResultValue()
        Returns the external merge tool execution process result value
        Returns:
        the external merge tool execution process result value
      • setExecutionResultValue

        public void setExecutionResultValue​(int executionResultValue)
        Sets the external merge tool execution process result value
        Parameters:
        executionResultValue - the external merge tool execution process result value
      • isSuccessfulExecutionResult

        public boolean isSuccessfulExecutionResult()
        Tells whether the external merge tool execution process result is successful.
        Returns:
        true if the external merge tool execution process result is successful, false otherwise
      • setSuccessfulExecutionResult

        public void setSuccessfulExecutionResult()
        Sets that the external merge tool execution process result is successful.
      • isMergeResultSaved

        public boolean isMergeResultSaved()
        Tells whether the merge result was saved while then external merge tool execution process.
        Returns:
        true if the merge result was saved while then external merge tool execution process, false otherwise
      • setMergeResultSaved

        public void setMergeResultSaved​(boolean mergeResultSaved)
        Sets whether the merge result was saved while then external merge tool execution process
        Parameters:
        mergeResultSaved - true if the merge result was saved while then external merge tool execution process, false otherwise