Class GitPullPlanPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.GitPlanPatch.Builder
io.skipcheck.tm1.client.model.GitPullPlanPatch.Builder
- Enclosing class:
GitPullPlanPatch
Builds a
GitPullPlanPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionSetsBranch: The name of the remote branch.build()The patch, with what's been set so far.commit(@Nullable GitCommitPatch commit) SetsCommit: The Git commit which contains the source.executionMode(@Nullable GitPlanExecutionMode executionMode) SetsExecutionMode: The execution mode of the Git pull plan, that is, single or multiple commit.SetsForce: A flag which is used to evaluate preconditions.SetsID: The ID of the plan.operations(@Nullable List<String> operations) SetsOperations: The operations that will be performed to read in the resource.
-
Method Details
-
id
SetsID: The ID of the plan.- Overrides:
idin classGitPlanPatch.Builder- Parameters:
id- the value;nullsends an explicitnull- Returns:
- this builder
-
branch
SetsBranch: The name of the remote branch.- Overrides:
branchin classGitPlanPatch.Builder- Parameters:
branch- the value;nullsends an explicitnull- Returns:
- this builder
-
force
SetsForce: A flag which is used to evaluate preconditions.- Overrides:
forcein classGitPlanPatch.Builder- Parameters:
force- the value;nullsends an explicitnull- Returns:
- this builder
-
commit
SetsCommit: The Git commit which contains the source.- Parameters:
commit- the value;nullsends an explicitnull- Returns:
- this builder
-
operations
SetsOperations: The operations that will be performed to read in the resource.- Parameters:
operations- the value;nullsends an explicitnull- Returns:
- this builder
-
executionMode
SetsExecutionMode: The execution mode of the Git pull plan, that is, single or multiple commit.- Parameters:
executionMode- the value;nullsends an explicitnull- Returns:
- this builder
-
build
The patch, with what's been set so far.- Overrides:
buildin classGitPlanPatch.Builder- Returns:
- the patch
-