Class BuildStatusUpdateBuilder
- java.lang.Object
-
- com.gitee.jenkins.trigger.handler.builder.generated.BuildStatusUpdateBuilder
-
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder") public class BuildStatusUpdateBuilder extends Object implements Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isSet$projectId$java$lang$Integer
protected boolean
isSet$ref$java$lang$String
protected boolean
isSet$sha$java$lang$String
protected BuildStatusUpdateBuilder
self
protected Integer
value$projectId$java$lang$Integer
protected String
value$ref$java$lang$String
protected String
value$sha$java$lang$String
-
Constructor Summary
Constructors Constructor Description BuildStatusUpdateBuilder()
Creates a newBuildStatusUpdateBuilder
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractWebHookTriggerHandler.BuildStatusUpdate
build()
Creates a newAbstractWebHookTriggerHandler.BuildStatusUpdate
based on this builder's settings.static BuildStatusUpdateBuilder
buildStatusUpdate()
Factory Method to construct a BuildStatusUpdateBuilderBuildStatusUpdateBuilder
but()
Returns a clone of this builder.Object
clone()
Returns a clone of this builder.BuildStatusUpdateBuilder
withProjectId(Integer value)
Sets the default value for the projectId property.BuildStatusUpdateBuilder
withRef(String value)
Sets the default value for the ref property.BuildStatusUpdateBuilder
withSha(String value)
Sets the default value for the sha property.
-
-
-
Field Detail
-
self
protected BuildStatusUpdateBuilder self
-
value$projectId$java$lang$Integer
protected Integer value$projectId$java$lang$Integer
-
isSet$projectId$java$lang$Integer
protected boolean isSet$projectId$java$lang$Integer
-
value$sha$java$lang$String
protected String value$sha$java$lang$String
-
isSet$sha$java$lang$String
protected boolean isSet$sha$java$lang$String
-
value$ref$java$lang$String
protected String value$ref$java$lang$String
-
isSet$ref$java$lang$String
protected boolean isSet$ref$java$lang$String
-
-
Constructor Detail
-
BuildStatusUpdateBuilder
public BuildStatusUpdateBuilder()
Creates a newBuildStatusUpdateBuilder
.
-
-
Method Detail
-
buildStatusUpdate
public static BuildStatusUpdateBuilder buildStatusUpdate()
Factory Method to construct a BuildStatusUpdateBuilder- Returns:
- a new BuildStatusUpdateBuilder
-
withProjectId
public BuildStatusUpdateBuilder withProjectId(Integer value)
Sets the default value for the projectId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSha
public BuildStatusUpdateBuilder withSha(String value)
Sets the default value for the sha property.- Parameters:
value
- the default value- Returns:
- this builder
-
withRef
public BuildStatusUpdateBuilder withRef(String value)
Sets the default value for the ref property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
@GwtIncompatible public Object clone()
Returns a clone of this builder.
-
but
@GwtIncompatible public BuildStatusUpdateBuilder but()
Returns a clone of this builder.- Returns:
- the clone
-
build
public AbstractWebHookTriggerHandler.BuildStatusUpdate build()
Creates a newAbstractWebHookTriggerHandler.BuildStatusUpdate
based on this builder's settings.- Returns:
- the created BuildStatusUpdate
-
-