Class PipelineBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.PipelineBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected PipelineBuilder
protected Integer
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newPipeline
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static PipelineBuilder
pipeline()
Factory Method to construct a PipelineBuilderSets the default value for the id property.Sets the default value for the sha property.withStatus
(String value) Sets the default value for the status property.
-
Field Details
-
self
-
value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer -
value$sha$java$lang$String
-
isSet$sha$java$lang$String
protected boolean isSet$sha$java$lang$String -
value$status$java$lang$String
-
isSet$status$java$lang$String
protected boolean isSet$status$java$lang$String
-
-
Constructor Details
-
PipelineBuilder
public PipelineBuilder()Creates a newPipelineBuilder
.
-
-
Method Details
-
pipeline
Factory Method to construct a PipelineBuilder- Returns:
- a new PipelineBuilder
-
withId
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSha
Sets the default value for the sha property.- Parameters:
value
- the default value- Returns:
- this builder
-
withStatus
Sets the default value for the status property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
Returns a clone of this builder. -
but
Returns a clone of this builder.- Returns:
- the clone
-
build
Creates a newPipeline
based on this builder's settings.- Returns:
- the created Pipeline
-