Class MergeDryRunCommandResult

java.lang.Object
sonia.scm.repository.api.MergeDryRunCommandResult

public class MergeDryRunCommandResult extends Object
This class keeps the result of a merge dry run. Use isMergeable() to check whether an automatic merge is possible or not.
  • Constructor Details

  • Method Details

    • isMergeable

      public boolean isMergeable()
      This will return true, when an automatic merge is possible at the moment; false otherwise.
    • getReasons

      public Collection<MergePreventReason> getReasons()
      This will return the reasons why the merge via the internal merge command is not possible.