Class OutgoingCommandBuilder

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

public final class OutgoingCommandBuilder extends Object
Show changesets not found in a remote repository.
Since:
1.31
  • Method Details

    • getOutgoingChangesets

      public ChangesetPagingResult getOutgoingChangesets(Repository remoteRepository) throws IOException
      Returns the outgoing changesets for the remote repository.
      Parameters:
      remoteRepository - remote repository
      Returns:
      outgoing changesets
      Throws:
      IOException
    • setDisablePreProcessors

      public OutgoingCommandBuilder setDisablePreProcessors(boolean disablePreProcessors)
      Disable the execution of pre processors if set to true.
    • setPagingLimit

      public OutgoingCommandBuilder setPagingLimit(int pagingLimit)
      Set the limit for the returned outgoing changesets. The default value is 20. Setting the value to -1 means to disable the limit.
      Parameters:
      pagingLimit - limit for returned changesets
      Returns:
      this
    • setPagingStart

      public OutgoingCommandBuilder setPagingStart(int pagingStart)
      Sets the start value for paging. The value is 0.
      Parameters:
      pagingStart - start value for paging
      Returns:
      this