Class RepositoryBuilder

    • Field Detail

      • value$name$java$lang$String

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

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

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

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

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

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

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

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

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

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

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

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

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

        protected boolean isSet$visibilityLevel$java$lang$Integer
    • Constructor Detail

    • Method Detail

      • repository

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

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

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

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

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

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

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

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

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

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

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