Class ExternalMergeToolExecutionStatus
- java.lang.Object
-
- org.eclipse.core.runtime.Status
-
- org.eclipse.core.runtime.MultiStatus
-
- com._1c.g5.v8.dt.compare.externaltool.ExternalMergeToolExecutionStatus
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IStatus
public class ExternalMergeToolExecutionStatus extends org.eclipse.core.runtime.MultiStatusThe external comparison and merge tool execution status. Stores the external comparison and merge tool execution process exit value.
-
-
Constructor Summary
Constructors Constructor Description ExternalMergeToolExecutionStatus(String message)Creates a new instance.ExternalMergeToolExecutionStatus(String message, int executionResultValue)Creates a new instance.ExternalMergeToolExecutionStatus(String message, int executionResultValue, boolean mergeResultSaved)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetExecutionResultValue()Returns the external merge tool execution process result valuebooleanisMergeResultSaved()Tells whether the merge result was saved while then external merge tool execution process.booleanisSuccessfulExecutionResult()Tells whether the external merge tool execution process result is successful.voidsetExecutionResultValue(int executionResultValue)Sets the external merge tool execution process result valuevoidsetMergeResultSaved(boolean mergeResultSaved)Sets whether the merge result was saved while then external merge tool execution processvoidsetSuccessfulExecutionResult()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
-
-
-
-
Constructor Detail
-
ExternalMergeToolExecutionStatus
public ExternalMergeToolExecutionStatus(String message)
Creates a new instance.- Parameters:
message- the external merge tool execution process message, cannot benull
-
ExternalMergeToolExecutionStatus
public ExternalMergeToolExecutionStatus(String message, int executionResultValue)
Creates a new instance.- Parameters:
message- the external merge tool execution process message, cannot benullexecutionResultValue- 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 benullexecutionResultValue- the external merge tool execution process result valuemergeResultSaved-trueif the merge result was saved while then external merge tool execution process,falseotherwise
-
-
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:
trueif the external merge tool execution process result is successful,falseotherwise
-
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:
trueif the merge result was saved while then external merge tool execution process,falseotherwise
-
setMergeResultSaved
public void setMergeResultSaved(boolean mergeResultSaved)
Sets whether the merge result was saved while then external merge tool execution process- Parameters:
mergeResultSaved-trueif the merge result was saved while then external merge tool execution process,falseotherwise
-
-