java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.RepositoryBuilder
All Implemented Interfaces:
Cloneable

@Generated("PojoBuilder") public class RepositoryBuilder extends Object implements Cloneable
  • Field Details Link icon

    • self Link icon

      protected RepositoryBuilder self
    • value$name$java$lang$String Link icon

      protected String value$name$java$lang$String
    • isSet$name$java$lang$String Link icon

      protected boolean isSet$name$java$lang$String
    • value$description$java$lang$String Link icon

      protected String value$description$java$lang$String
    • isSet$description$java$lang$String Link icon

      protected boolean isSet$description$java$lang$String
    • value$url$java$lang$String Link icon

      protected String value$url$java$lang$String
    • isSet$url$java$lang$String Link icon

      protected boolean isSet$url$java$lang$String
    • value$homepage$java$lang$String Link icon

      protected String value$homepage$java$lang$String
    • isSet$homepage$java$lang$String Link icon

      protected boolean isSet$homepage$java$lang$String
    • value$gitSshUrl$java$lang$String Link icon

      protected String value$gitSshUrl$java$lang$String
    • isSet$gitSshUrl$java$lang$String Link icon

      protected boolean isSet$gitSshUrl$java$lang$String
    • value$gitHttpUrl$java$lang$String Link icon

      protected String value$gitHttpUrl$java$lang$String
    • isSet$gitHttpUrl$java$lang$String Link icon

      protected boolean isSet$gitHttpUrl$java$lang$String
    • value$visibilityLevel$java$lang$Integer Link icon

      protected Integer value$visibilityLevel$java$lang$Integer
    • isSet$visibilityLevel$java$lang$Integer Link icon

      protected boolean isSet$visibilityLevel$java$lang$Integer
  • Constructor Details Link icon

  • Method Details Link icon

    • repository Link icon

      public static RepositoryBuilder repository()
      Factory Method to construct a RepositoryBuilder
      Returns:
      a new RepositoryBuilder
    • withName Link icon

      public RepositoryBuilder withName(String value)
      Sets the default value for the name property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withDescription Link icon

      public RepositoryBuilder withDescription(String value)
      Sets the default value for the description property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUrl Link icon

      public RepositoryBuilder withUrl(String value)
      Sets the default value for the url property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withHomepage Link icon

      public RepositoryBuilder withHomepage(String value)
      Sets the default value for the homepage property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withGitSshUrl Link icon

      public RepositoryBuilder withGitSshUrl(String value)
      Sets the default value for the gitSshUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withGitHttpUrl Link icon

      public RepositoryBuilder withGitHttpUrl(String value)
      Sets the default value for the gitHttpUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withVisibilityLevel Link icon

      public RepositoryBuilder withVisibilityLevel(Integer value)
      Sets the default value for the visibilityLevel property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • clone Link icon

      @GwtIncompatible public Object clone()
      Returns a clone of this builder.
      Overrides:
      clone in class Object
      Returns:
      the clone
    • but Link icon

      @GwtIncompatible public RepositoryBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build Link icon

      public Repository build()
      Creates a new Repository based on this builder's settings.
      Returns:
      the created Repository