Class ProjectBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.ProjectBuilder
- All Implemented Interfaces:
- Cloneable
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected ProjectBuilderprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected String
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Creates a newProjectbased on this builder's settings.but()Returns a clone of this builder.clone()Returns a clone of this builder.static ProjectBuilderproject()Factory Method to construct a ProjectBuilderwithAvatarUrl(String value) Sets the default value for the avatarUrl property.withDefaultBranch(String value) Sets the default value for the defaultBranch property.withDescription(String value) Sets the default value for the description property.withHomepage(String value) Sets the default value for the homepage property.withHttpUrl(String value) Sets the default value for the httpUrl property.Sets the default value for the id property.Sets the default value for the name property.withNamespace(String value) Sets the default value for the namespace property.withPathWithNamespace(String value) Sets the default value for the pathWithNamespace property.withSshUrl(String value) Sets the default value for the sshUrl property.Sets the default value for the url property.withVisibilityLevel(Integer value) Sets the default value for the visibilityLevel property.withWebUrl(String value) Sets the default value for the webUrl property.
- 
Field Details- 
self
- 
value$name$java$lang$String
- 
isSet$name$java$lang$Stringprotected boolean isSet$name$java$lang$String
- 
value$description$java$lang$String
- 
isSet$description$java$lang$Stringprotected boolean isSet$description$java$lang$String
- 
value$webUrl$java$lang$String
- 
isSet$webUrl$java$lang$Stringprotected boolean isSet$webUrl$java$lang$String
- 
value$avatarUrl$java$lang$String
- 
isSet$avatarUrl$java$lang$Stringprotected boolean isSet$avatarUrl$java$lang$String
- 
value$namespace$java$lang$String
- 
isSet$namespace$java$lang$Stringprotected boolean isSet$namespace$java$lang$String
- 
value$visibilityLevel$java$lang$Integer
- 
isSet$visibilityLevel$java$lang$Integerprotected boolean isSet$visibilityLevel$java$lang$Integer
- 
value$pathWithNamespace$java$lang$String
- 
isSet$pathWithNamespace$java$lang$Stringprotected boolean isSet$pathWithNamespace$java$lang$String
- 
value$defaultBranch$java$lang$String
- 
isSet$defaultBranch$java$lang$Stringprotected boolean isSet$defaultBranch$java$lang$String
- 
value$homepage$java$lang$String
- 
isSet$homepage$java$lang$Stringprotected boolean isSet$homepage$java$lang$String
- 
value$url$java$lang$String
- 
isSet$url$java$lang$Stringprotected boolean isSet$url$java$lang$String
- 
value$sshUrl$java$lang$String
- 
isSet$sshUrl$java$lang$Stringprotected boolean isSet$sshUrl$java$lang$String
- 
value$httpUrl$java$lang$String
- 
isSet$httpUrl$java$lang$Stringprotected boolean isSet$httpUrl$java$lang$String
- 
value$id$java$lang$Integer
- 
isSet$id$java$lang$Integerprotected boolean isSet$id$java$lang$Integer
 
- 
- 
Constructor Details- 
ProjectBuilderpublic ProjectBuilder()Creates a newProjectBuilder.
 
- 
- 
Method Details- 
projectFactory Method to construct a ProjectBuilder- Returns:
- a new ProjectBuilder
 
- 
withNameSets the default value for the name property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withDescriptionSets the default value for the description property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withWebUrlSets the default value for the webUrl property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withAvatarUrlSets the default value for the avatarUrl property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withNamespaceSets the default value for the namespace property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withVisibilityLevelSets the default value for the visibilityLevel property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withPathWithNamespaceSets the default value for the pathWithNamespace property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withDefaultBranchSets the default value for the defaultBranch property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withHomepageSets the default value for the homepage property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withUrlSets the default value for the url property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSshUrlSets the default value for the sshUrl property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withHttpUrlSets the default value for the httpUrl property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withIdSets the default value for the id 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 newProjectbased on this builder's settings.- Returns:
- the created Project
 
 
-