Class PipelineBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.PipelineBuilder
- All Implemented Interfaces:
- Cloneable
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected PipelineBuilderprotected Integerprotected Stringprotected String
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Creates a newPipelinebased on this builder's settings.but()Returns a clone of this builder.clone()Returns a clone of this builder.static PipelineBuilderpipeline()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$Integerprotected boolean isSet$id$java$lang$Integer
- 
value$sha$java$lang$String
- 
isSet$sha$java$lang$Stringprotected boolean isSet$sha$java$lang$String
- 
value$status$java$lang$String
- 
isSet$status$java$lang$Stringprotected boolean isSet$status$java$lang$String
 
- 
- 
Constructor Details- 
PipelineBuilderpublic PipelineBuilder()Creates a newPipelineBuilder.
 
- 
- 
Method Details- 
pipelineFactory Method to construct a PipelineBuilder- Returns:
- a new PipelineBuilder
 
- 
withIdSets the default value for the id property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withShaSets the default value for the sha property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withStatusSets the default value for the status property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
cloneReturns a clone of this builder.
- 
butReturns a clone of this builder.- Returns:
- the clone
 
- 
buildCreates a newPipelinebased on this builder's settings.- Returns:
- the created Pipeline
 
 
-