Package sonia.scm.repository.api
Class IncomingCommandBuilder
java.lang.Object
sonia.scm.repository.api.IncomingCommandBuilder
The incoming command shows new
Changeset
s found in a different
repository location.- Since:
- 1.31
-
Method Summary
Modifier and TypeMethodDescriptiongetIncomingChangesets
(Repository remoteRepository) Returns the incoming changesets for the remote repository.setDisablePreProcessors
(boolean disablePreProcessors) Disable the execution of pre processors.setPagingLimit
(int pagingLimit) Set the limit for the returned incoming changesets.setPagingStart
(int pagingStart) Sets the start value for paging.
-
Method Details
-
getIncomingChangesets
Returns the incoming changesets for the remote repository.- Parameters:
remoteRepository
- remote repository- Returns:
- incoming changesets
- Throws:
IOException
-
setDisablePreProcessors
Disable the execution of pre processors.- Parameters:
disablePreProcessors
- true to disable the pre processors execution- Returns:
this
-
setPagingLimit
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
Sets the start value for paging. The value is 0.- Parameters:
pagingStart
- start value for paging- Returns:
this
-