Class BuildStatusUpdateBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.trigger.handler.builder.generated.BuildStatusUpdateBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected BuildStatusUpdateBuilder
protected Integer
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newAbstractWebHookTriggerHandler.BuildStatusUpdate
based on this builder's settings.static BuildStatusUpdateBuilder
Factory Method to construct a BuildStatusUpdateBuilderbut()
Returns a clone of this builder.clone()
Returns a clone of this builder.withProjectId
(Integer value) Sets the default value for the projectId property.Sets the default value for the ref property.Sets the default value for the sha property.
-
Field Details
-
self
-
value$projectId$java$lang$Integer
-
isSet$projectId$java$lang$Integer
protected boolean isSet$projectId$java$lang$Integer -
value$sha$java$lang$String
-
isSet$sha$java$lang$String
protected boolean isSet$sha$java$lang$String -
value$ref$java$lang$String
-
isSet$ref$java$lang$String
protected boolean isSet$ref$java$lang$String
-
-
Constructor Details
-
BuildStatusUpdateBuilder
public BuildStatusUpdateBuilder()Creates a newBuildStatusUpdateBuilder
.
-
-
Method Details
-
buildStatusUpdate
Factory Method to construct a BuildStatusUpdateBuilder- Returns:
- a new BuildStatusUpdateBuilder
-
withProjectId
Sets the default value for the projectId 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
-
withRef
Sets the default value for the ref 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 newAbstractWebHookTriggerHandler.BuildStatusUpdate
based on this builder's settings.- Returns:
- the created BuildStatusUpdate
-