Class PipelineHookBuilder

    • Field Detail

      • value$projectId$java$lang$Integer

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

        protected boolean isSet$projectId$java$lang$Integer
      • value$jsonBody$java$lang$String

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

        protected boolean isSet$jsonBody$java$lang$String
      • value$hookName$java$lang$String

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

        protected boolean isSet$hookName$java$lang$String
      • value$objectKind$java$lang$String

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

        protected boolean isSet$objectKind$java$lang$String
      • value$repository$com$gitee$jenkins$gitee$hook$model$Repository

        protected Repository value$repository$com$gitee$jenkins$gitee$hook$model$Repository
      • isSet$repository$com$gitee$jenkins$gitee$hook$model$Repository

        protected boolean isSet$repository$com$gitee$jenkins$gitee$hook$model$Repository
      • value$sender$com$gitee$jenkins$gitee$hook$model$User

        protected User value$sender$com$gitee$jenkins$gitee$hook$model$User
      • isSet$sender$com$gitee$jenkins$gitee$hook$model$User

        protected boolean isSet$sender$com$gitee$jenkins$gitee$hook$model$User
      • value$user$com$gitee$jenkins$gitee$hook$model$User

        protected User value$user$com$gitee$jenkins$gitee$hook$model$User
      • isSet$user$com$gitee$jenkins$gitee$hook$model$User

        protected boolean isSet$user$com$gitee$jenkins$gitee$hook$model$User
      • value$commits$java$util$List

        protected List<Commit> value$commits$java$util$List
      • isSet$commits$java$util$List

        protected boolean isSet$commits$java$util$List
      • value$project$com$gitee$jenkins$gitee$hook$model$Project

        protected Project value$project$com$gitee$jenkins$gitee$hook$model$Project
      • isSet$project$com$gitee$jenkins$gitee$hook$model$Project

        protected boolean isSet$project$com$gitee$jenkins$gitee$hook$model$Project
      • value$objectAttributes$com$gitee$jenkins$gitee$hook$model$PipelineEventObjectAttributes

        protected PipelineEventObjectAttributes value$objectAttributes$com$gitee$jenkins$gitee$hook$model$PipelineEventObjectAttributes
      • isSet$objectAttributes$com$gitee$jenkins$gitee$hook$model$PipelineEventObjectAttributes

        protected boolean isSet$objectAttributes$com$gitee$jenkins$gitee$hook$model$PipelineEventObjectAttributes
    • Constructor Detail

    • Method Detail

      • pipelineHook

        public static PipelineHookBuilder pipelineHook()
        Factory Method to construct a PipelineHookBuilder
        Returns:
        a new PipelineHookBuilder
      • withJsonBody

        public PipelineHookBuilder withJsonBody​(String value)
        Sets the default value for the jsonBody property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withHookName

        public PipelineHookBuilder withHookName​(String value)
        Sets the default value for the hookName property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withObjectKind

        public PipelineHookBuilder withObjectKind​(String value)
        Sets the default value for the objectKind property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withRepository

        public PipelineHookBuilder withRepository​(Repository value)
        Sets the default value for the repository property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withSender

        public PipelineHookBuilder withSender​(User value)
        Sets the default value for the sender property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withUser

        public PipelineHookBuilder withUser​(User value)
        Sets the default value for the user property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withCommits

        public PipelineHookBuilder withCommits​(List<Commit> value)
        Sets the default value for the commits property.
        Parameters:
        value - the default value
        Returns:
        this builder
      • withProject

        public PipelineHookBuilder withProject​(Project value)
        Sets the default value for the project 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 PipelineHookBuilder but()
        Returns a clone of this builder.
        Returns:
        the clone
      • build

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