Class ProjectBuilder

    • 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$webUrl$java$lang$String

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

        protected boolean isSet$webUrl$java$lang$String
      • value$avatarUrl$java$lang$String

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

        protected boolean isSet$avatarUrl$java$lang$String
      • value$namespace$java$lang$String

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

        protected boolean isSet$namespace$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
      • value$pathWithNamespace$java$lang$String

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

        protected boolean isSet$pathWithNamespace$java$lang$String
      • value$defaultBranch$java$lang$String

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

        protected boolean isSet$defaultBranch$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$url$java$lang$String

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

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

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

        protected boolean isSet$sshUrl$java$lang$String
      • value$httpUrl$java$lang$String

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

        protected boolean isSet$httpUrl$java$lang$String
      • value$id$java$lang$Integer

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

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

      • ProjectBuilder

        public ProjectBuilder()
        Creates a new ProjectBuilder.
    • Method Detail

      • project

        public static ProjectBuilder project()
        Factory Method to construct a ProjectBuilder
        Returns:
        a new ProjectBuilder
      • withName

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

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

        public ProjectBuilder withWebUrl​(String value)
        Sets the default value for the webUrl property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withAvatarUrl

        public ProjectBuilder withAvatarUrl​(String value)
        Sets the default value for the avatarUrl property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withNamespace

        public ProjectBuilder withNamespace​(String value)
        Sets the default value for the namespace property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withVisibilityLevel

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

        public ProjectBuilder withPathWithNamespace​(String value)
        Sets the default value for the pathWithNamespace property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withDefaultBranch

        public ProjectBuilder withDefaultBranch​(String value)
        Sets the default value for the defaultBranch property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withHomepage

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

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

        public ProjectBuilder withSshUrl​(String value)
        Sets the default value for the sshUrl property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withHttpUrl

        public ProjectBuilder withHttpUrl​(String value)
        Sets the default value for the httpUrl property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withId

        public ProjectBuilder withId​(Integer value)
        Sets the default value for the id 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 ProjectBuilder but()
        Returns a clone of this builder.
        Returns:
        the clone
      • build

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