Class RepositoryBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.RepositoryBuilder
- All Implemented Interfaces:
- Cloneable
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected RepositoryBuilderprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Creates a newRepositorybased on this builder's settings.but()Returns a clone of this builder.clone()Returns a clone of this builder.static RepositoryBuilderFactory Method to construct a RepositoryBuilderwithDescription(String value) Sets the default value for the description property.withGitHttpUrl(String value) Sets the default value for the gitHttpUrl property.withGitSshUrl(String value) Sets the default value for the gitSshUrl property.withHomepage(String value) Sets the default value for the homepage property.Sets the default value for the name property.Sets the default value for the url property.withVisibilityLevel(Integer value) Sets the default value for the visibilityLevel 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$url$java$lang$String
- 
isSet$url$java$lang$Stringprotected boolean isSet$url$java$lang$String
- 
value$homepage$java$lang$String
- 
isSet$homepage$java$lang$Stringprotected boolean isSet$homepage$java$lang$String
- 
value$gitSshUrl$java$lang$String
- 
isSet$gitSshUrl$java$lang$Stringprotected boolean isSet$gitSshUrl$java$lang$String
- 
value$gitHttpUrl$java$lang$String
- 
isSet$gitHttpUrl$java$lang$Stringprotected boolean isSet$gitHttpUrl$java$lang$String
- 
value$visibilityLevel$java$lang$Integer
- 
isSet$visibilityLevel$java$lang$Integerprotected boolean isSet$visibilityLevel$java$lang$Integer
 
- 
- 
Constructor Details- 
RepositoryBuilderpublic RepositoryBuilder()Creates a newRepositoryBuilder.
 
- 
- 
Method Details- 
repositoryFactory Method to construct a RepositoryBuilder- Returns:
- a new RepositoryBuilder
 
- 
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
 
- 
withUrlSets the default value for the url 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
 
- 
withGitSshUrlSets the default value for the gitSshUrl property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withGitHttpUrlSets the default value for the gitHttpUrl 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
 
- 
cloneReturns a clone of this builder.
- 
butReturns a clone of this builder.- Returns:
- the clone
 
- 
buildCreates a newRepositorybased on this builder's settings.- Returns:
- the created Repository
 
 
-