Class IncomingCommandBuilder

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

public final class IncomingCommandBuilder extends Object
The incoming command shows new Changesets found in a different repository location.
Since:
1.31
  • Method Details

    • getIncomingChangesets

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

      public IncomingCommandBuilder setDisablePreProcessors(boolean disablePreProcessors)
      Disable the execution of pre processors.
      Parameters:
      disablePreProcessors - true to disable the pre processors execution
      Returns:
      this
    • setPagingLimit

      public IncomingCommandBuilder setPagingLimit(int pagingLimit)
      Set the limit for the returned incoming 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 IncomingCommandBuilder setPagingStart(int pagingStart)
      Sets the start value for paging. The value is 0.
      Parameters:
      pagingStart - start value for paging
      Returns:
      this