Class PipelineApi

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.gitlab4j.models.Constants

        org.gitlab4j.models.Constants.ActionType, org.gitlab4j.models.Constants.ApplicationScope, org.gitlab4j.models.Constants.ArchiveFormat, org.gitlab4j.models.Constants.AutoCancelPendingPipelines, org.gitlab4j.models.Constants.AutoDevopsDeployStrategy, org.gitlab4j.models.Constants.BuildGitStrategy, org.gitlab4j.models.Constants.CommitBuildState, org.gitlab4j.models.Constants.ContributorOrderBy, org.gitlab4j.models.Constants.DefaultBranchProtectionLevel, org.gitlab4j.models.Constants.DeploymentOrderBy, org.gitlab4j.models.Constants.DeploymentStatus, org.gitlab4j.models.Constants.DeployTokenScope, org.gitlab4j.models.Constants.Encoding, org.gitlab4j.models.Constants.EpicOrderBy, org.gitlab4j.models.Constants.EventScope, org.gitlab4j.models.Constants.GroupOrderBy, org.gitlab4j.models.Constants.GroupSearchScope<T extends java.lang.Object>, org.gitlab4j.models.Constants.ImpersonationState, org.gitlab4j.models.Constants.IssueOrderBy, org.gitlab4j.models.Constants.IssueScope, org.gitlab4j.models.Constants.IssueState, org.gitlab4j.models.Constants.JobScope, org.gitlab4j.models.Constants.LineType, org.gitlab4j.models.Constants.MergeRequestOrderBy, org.gitlab4j.models.Constants.MergeRequestScope, org.gitlab4j.models.Constants.MergeRequestSearchIn, org.gitlab4j.models.Constants.MergeRequestState, org.gitlab4j.models.Constants.MilestoneState, org.gitlab4j.models.Constants.PackageOrderBy, org.gitlab4j.models.Constants.PackageStatus, org.gitlab4j.models.Constants.PipelineOrderBy, org.gitlab4j.models.Constants.PipelineScope, org.gitlab4j.models.Constants.PipelineSource, org.gitlab4j.models.Constants.ProjectAccessTokenScope, org.gitlab4j.models.Constants.ProjectCreationLevel, org.gitlab4j.models.Constants.ProjectFeatureVisibilityAccessLevel, org.gitlab4j.models.Constants.ProjectOrderBy, org.gitlab4j.models.Constants.ProjectSearchScope<T extends java.lang.Object>, org.gitlab4j.models.Constants.SearchScope<T extends java.lang.Object>, org.gitlab4j.models.Constants.SortOrder, org.gitlab4j.models.Constants.SquashOption, org.gitlab4j.models.Constants.StateEvent, org.gitlab4j.models.Constants.SubgroupCreationLevel, org.gitlab4j.models.Constants.TagOrderBy, org.gitlab4j.models.Constants.TargetType, org.gitlab4j.models.Constants.TodoAction, org.gitlab4j.models.Constants.TodoState, org.gitlab4j.models.Constants.TodoType, org.gitlab4j.models.Constants.TokenType
    • Field Summary

      • Fields inherited from interface org.gitlab4j.models.Constants

        NEXT_PAGE_HEADER, PAGE_HEADER, PAGE_PARAM, PER_PAGE, PER_PAGE_PARAM, PREV_PAGE_HEADER, TOTAL_HEADER, TOTAL_PAGES_HEADER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.gitlab4j.api.models.Pipeline cancelPipelineJobs​(java.lang.Object projectIdOrPath, long pipelineId)
      Cancel jobs of specified pipelines in a project.
      org.gitlab4j.api.models.Pipeline createPipeline​(java.lang.Object projectIdOrPath, java.lang.String ref)
      Create a pipelines in a project.
      org.gitlab4j.api.models.Pipeline createPipeline​(java.lang.Object projectIdOrPath, java.lang.String ref, java.util.List<org.gitlab4j.api.models.Variable> variables)
      Create a pipelines in a project.
      org.gitlab4j.api.models.Pipeline createPipeline​(java.lang.Object projectIdOrPath, java.lang.String ref, java.util.Map<java.lang.String,​java.lang.String> variables)
      Create a pipelines in a project.
      org.gitlab4j.api.models.PipelineSchedule createPipelineSchedule​(java.lang.Object projectIdOrPath, org.gitlab4j.api.models.PipelineSchedule pipelineSchedule)
      create a pipeline schedule for a project.
      org.gitlab4j.api.models.Variable createPipelineScheduleVariable​(java.lang.Object projectIdOrPath, java.lang.Long pipelineScheduleId, java.lang.String key, java.lang.String value)
      Create a pipeline schedule variable.
      org.gitlab4j.api.models.Trigger createPipelineTrigger​(java.lang.Object projectIdOrPath, java.lang.String description)
      Create a pipeline trigger for a project.
      void deletePipeline​(java.lang.Object projectIdOrPath, long pipelineId)
      Delete a pipeline from a project.
      void deletePipelineSchedule​(java.lang.Object projectIdOrPath, java.lang.Long pipelineScheduleId)
      Deletes a pipeline schedule from the project.
      void deletePipelineScheduleVariable​(java.lang.Object projectIdOrPath, java.lang.Long pipelineScheduleId, java.lang.String key)
      Deletes a pipeline schedule variable.
      void deletePipelineTrigger​(java.lang.Object projectIdOrPath, java.lang.Long triggerId)
      Deletes a pipeline trigger from the project.
      java.util.List<org.gitlab4j.api.models.Bridge> getBridgesForPipeline​(java.lang.Object projectIdOrPath, long pipelineId)
      Get a List of bridges in a pipeline.
      Pager<org.gitlab4j.api.models.Bridge> getBridgesForPipeline​(java.lang.Object projectIdOrPath, long pipelineId, int itemsPerPage, org.gitlab4j.models.Constants.JobScope scope)
      Get a Pager of bridges in a pipeline.
      java.util.List<org.gitlab4j.api.models.Bridge> getBridgesForPipeline​(java.lang.Object projectIdOrPath, long pipelineId, org.gitlab4j.models.Constants.JobScope scope)
      Get a List of bridges in a pipeline.
      java.util.stream.Stream<org.gitlab4j.api.models.Bridge> getBridgesStream​(java.lang.Object projectIdOrPath, long pipelineId, org.gitlab4j.models.Constants.JobScope scope)
      Get a Stream of bridges in a pipeline.
      java.util.Optional<org.gitlab4j.api.models.PipelineSchedule> getOptionalPipelineSchedule​(java.lang.Object projectIdOrPath, java.lang.Long pipelineScheduleId)
      Get a specific pipeline schedule for project as an Optional instance.
      java.util.Optional<org.gitlab4j.api.models.Trigger> getOptionalPipelineTrigger​(java.lang.Object projectIdOrPath, java.lang.Long triggerId)
      Get a specific pipeline trigger for project as an Optional instance.
      org.gitlab4j.api.models.Pipeline getPipeline​(java.lang.Object projectIdOrPath, long pipelineId)
      Get single pipelines in a project.
      java.util.List<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath)
      Get a list of pipelines in a project.
      Pager<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath, int itemsPerPage)
      Get a Pager of pipelines in a project.
      java.util.List<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath, int page, int perPage)
      Get a list of pipelines in a project in the specified page range.
      java.util.List<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath, org.gitlab4j.api.models.PipelineFilter filter)
      Get a list of pipelines in a project filtered with the provided PipelineFilter.
      Pager<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath, org.gitlab4j.api.models.PipelineFilter filter, int itemsPerPage)
      Get a Pager of pipelines in a project filtered with the provided PipelineFilter.
      java.util.List<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath, org.gitlab4j.models.Constants.PipelineScope scope, org.gitlab4j.api.models.PipelineStatus status, java.lang.String ref, boolean yamlErrors, java.lang.String name, java.lang.String username, org.gitlab4j.models.Constants.PipelineOrderBy orderBy, org.gitlab4j.models.Constants.SortOrder sort)
      Get a list of pipelines in a project.
      Pager<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath, org.gitlab4j.models.Constants.PipelineScope scope, org.gitlab4j.api.models.PipelineStatus status, java.lang.String ref, boolean yamlErrors, java.lang.String name, java.lang.String username, org.gitlab4j.models.Constants.PipelineOrderBy orderBy, org.gitlab4j.models.Constants.SortOrder sort, int itemsPerPage)
      Get a Pager of pipelines in a project.
      java.util.List<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath, org.gitlab4j.models.Constants.PipelineScope scope, org.gitlab4j.api.models.PipelineStatus status, java.lang.String ref, boolean yamlErrors, java.lang.String name, java.lang.String username, org.gitlab4j.models.Constants.PipelineOrderBy orderBy, org.gitlab4j.models.Constants.SortOrder sort, int page, int perPage)
      Get a list of pipelines in a project in the specified page range.
      org.gitlab4j.api.models.PipelineSchedule getPipelineSchedule​(java.lang.Object projectIdOrPath, java.lang.Long pipelineScheduleId)
      Get a specific pipeline schedule for project.
      java.util.List<org.gitlab4j.api.models.PipelineSchedule> getPipelineSchedules​(java.lang.Object projectIdOrPath)
      Get a list of the project pipeline_schedules for the specified project.
      Pager<org.gitlab4j.api.models.PipelineSchedule> getPipelineSchedules​(java.lang.Object projectIdOrPath, int itemsPerPage)
      Get Pager of project pipeline schedule.
      java.util.List<org.gitlab4j.api.models.PipelineSchedule> getPipelineSchedules​(java.lang.Object projectIdOrPath, int page, int perPage)
      Get list of project pipeline schedules in the specified page range.
      java.util.stream.Stream<org.gitlab4j.api.models.PipelineSchedule> getPipelineSchedulesStream​(java.lang.Object projectIdOrPath)
      Get a Stream of the project pipeline schedule for the specified project.
      java.util.stream.Stream<org.gitlab4j.api.models.Pipeline> getPipelinesStream​(java.lang.Object projectIdOrPath)
      Get a Stream of pipelines in a project.
      java.util.stream.Stream<org.gitlab4j.api.models.Pipeline> getPipelinesStream​(java.lang.Object projectIdOrPath, org.gitlab4j.api.models.PipelineFilter filter)
      Get a Stream of pipelines in a project filtered with the provided PipelineFilter.
      java.util.stream.Stream<org.gitlab4j.api.models.Pipeline> getPipelinesStream​(java.lang.Object projectIdOrPath, org.gitlab4j.models.Constants.PipelineScope scope, org.gitlab4j.api.models.PipelineStatus status, java.lang.String ref, boolean yamlErrors, java.lang.String name, java.lang.String username, org.gitlab4j.models.Constants.PipelineOrderBy orderBy, org.gitlab4j.models.Constants.SortOrder sort)
      Get a Stream of pipelines in a project.
      org.gitlab4j.api.models.Trigger getPipelineTrigger​(java.lang.Object projectIdOrPath, java.lang.Long triggerId)
      Get a specific pipeline schedule for project.
      java.util.List<org.gitlab4j.api.models.Trigger> getPipelineTriggers​(java.lang.Object projectIdOrPath)
      Get a list of the project pipeline triggers for the specified project.
      Pager<org.gitlab4j.api.models.Trigger> getPipelineTriggers​(java.lang.Object projectIdOrPath, int itemsPerPage)
      Get Pager of project pipeline triggers.
      java.util.List<org.gitlab4j.api.models.Trigger> getPipelineTriggers​(java.lang.Object projectIdOrPath, int page, int perPage)
      Get list of project pipeline triggers in the specified page range.
      java.util.stream.Stream<org.gitlab4j.api.models.Trigger> getPipelineTriggersStream​(java.lang.Object projectIdOrPath)
      Get a Stream of the project pipeline triggers for the specified project.
      java.util.List<org.gitlab4j.api.models.Variable> getPipelineVariables​(java.lang.Object projectIdOrPath, java.lang.Long pipelineId)
      Get List of variables of a pipeline.
      Pager<org.gitlab4j.api.models.Variable> getPipelineVariables​(java.lang.Object projectIdOrPath, java.lang.Long pipelineId, int itemsPerPage)
      Get a Pager of variables of a pipeline.
      java.util.stream.Stream<org.gitlab4j.api.models.Variable> getPipelineVariablesStream​(java.lang.Object projectIdOrPath, java.lang.Long pipelineId)
      Get a Stream of variables of a pipeline as a Stream.
      void playPipelineSchedule​(java.lang.Object projectIdOrPath, java.lang.Long pipelineScheduleId)
      Trigger a new scheduled pipeline, which runs immediately.
      org.gitlab4j.api.models.Pipeline retryPipelineJob​(java.lang.Object projectIdOrPath, long pipelineId)
      Retry a job in specified pipelines in a project.
      org.gitlab4j.api.models.PipelineSchedule takeOwnershipPipelineSchedule​(java.lang.Object projectIdOrPath, java.lang.Long pipelineScheduleId)
      Update the owner of the pipeline schedule of a project.
      org.gitlab4j.api.models.Trigger takeOwnewrshipOfPipelineTrigger​(java.lang.Object projectIdOrPath, java.lang.Long triggerId)
      Take ownership of a pipeline trigger for project.
      org.gitlab4j.api.models.Pipeline triggerPipeline​(java.lang.Object projectIdOrPath, java.lang.String token, java.lang.String ref, java.util.List<org.gitlab4j.api.models.Variable> variables)
      Trigger a pipeline for a project.
      org.gitlab4j.api.models.Pipeline triggerPipeline​(java.lang.Object projectIdOrPath, org.gitlab4j.api.models.Trigger trigger, java.lang.String ref, java.util.List<org.gitlab4j.api.models.Variable> variables)
      Trigger a pipeline for a project.
      org.gitlab4j.api.models.PipelineSchedule updatePipelineSchedule​(java.lang.Object projectIdOrPath, org.gitlab4j.api.models.PipelineSchedule pipelineSchedule)
      Modifies a pipeline schedule for project.
      org.gitlab4j.api.models.Variable updatePipelineScheduleVariable​(java.lang.Object projectIdOrPath, java.lang.Long pipelineScheduleId, java.lang.String key, java.lang.String value)
      Update a pipeline schedule variable.
      org.gitlab4j.api.models.Trigger updatePipelineTrigger​(java.lang.Object projectIdOrPath, java.lang.Long triggerId, java.lang.String description)
      Updates a pipeline trigger for project.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PipelineApi

        public PipelineApi​(GitLabApi gitLabApi)
    • Method Detail

      • getPipelines

        public java.util.List<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath)
                                                                      throws GitLabApiException
        Get a list of pipelines in a project.
        GitLab Endpoint: GET /projects/:id/pipelines
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        Returns:
        a list containing the pipelines for the specified project ID
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipelines

        public java.util.List<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath,
                                                                             int page,
                                                                             int perPage)
                                                                      throws GitLabApiException
        Get a list of pipelines in a project in the specified page range.
        GitLab Endpoint: GET /projects/:id/pipelines
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        page - the page to get
        perPage - the number of Pipeline instances per page
        Returns:
        a list containing the pipelines for the specified project ID in the specified page range
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipelines

        public Pager<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath,
                                                                    int itemsPerPage)
                                                             throws GitLabApiException
        Get a Pager of pipelines in a project.
        GitLab Endpoint: GET /projects/:id/pipelines
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        itemsPerPage - the number of Pipeline instances that will be fetched per page
        Returns:
        a Pager containing the pipelines for the specified project ID
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipelinesStream

        public java.util.stream.Stream<org.gitlab4j.api.models.Pipeline> getPipelinesStream​(java.lang.Object projectIdOrPath)
                                                                                     throws GitLabApiException
        Get a Stream of pipelines in a project.
        GitLab Endpoint: GET /projects/:id/pipelines
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        Returns:
        a Stream containing the pipelines for the specified project ID
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipelines

        public java.util.List<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath,
                                                                             org.gitlab4j.api.models.PipelineFilter filter)
                                                                      throws GitLabApiException
        Get a list of pipelines in a project filtered with the provided PipelineFilter.
        GitLab Endpoint: GET /projects/:id/pipelines
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        filter - a PipelineFilter instance used to filter the results
        Returns:
        a list containing the pipelines for the specified project ID and matching the provided filter
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipelines

        public Pager<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath,
                                                                    org.gitlab4j.api.models.PipelineFilter filter,
                                                                    int itemsPerPage)
                                                             throws GitLabApiException
        Get a Pager of pipelines in a project filtered with the provided PipelineFilter.
        GitLab Endpoint: GET /projects/:id/pipelines
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        filter - a PipelineFilter instance used to filter the results
        itemsPerPage - the number of Pipeline instances that will be fetched per page
        Returns:
        a Pager containing the pipelines for the specified project ID and matching the provided filter
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipelinesStream

        public java.util.stream.Stream<org.gitlab4j.api.models.Pipeline> getPipelinesStream​(java.lang.Object projectIdOrPath,
                                                                                            org.gitlab4j.api.models.PipelineFilter filter)
                                                                                     throws GitLabApiException
        Get a Stream of pipelines in a project filtered with the provided PipelineFilter.
        GitLab Endpoint: GET /projects/:id/pipelines
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        filter - a PipelineFilter instance used to filter the results
        Returns:
        a Stream containing the pipelines for the specified project ID and matching the provided filter
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipelines

        public java.util.List<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath,
                                                                             org.gitlab4j.models.Constants.PipelineScope scope,
                                                                             org.gitlab4j.api.models.PipelineStatus status,
                                                                             java.lang.String ref,
                                                                             boolean yamlErrors,
                                                                             java.lang.String name,
                                                                             java.lang.String username,
                                                                             org.gitlab4j.models.Constants.PipelineOrderBy orderBy,
                                                                             org.gitlab4j.models.Constants.SortOrder sort)
                                                                      throws GitLabApiException
        Get a list of pipelines in a project.
        GitLab Endpoint: GET /projects/:id/pipelines
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        scope - the scope of pipelines, one of: RUNNING, PENDING, FINISHED, BRANCHES, TAGS
        status - the status of pipelines, one of: RUNNING, PENDING, SUCCESS, FAILED, CANCELED, SKIPPED
        ref - the ref of pipelines
        yamlErrors - returns pipelines with invalid configurations
        name - the name of the user who triggered pipelines
        username - the username of the user who triggered pipelines
        orderBy - order pipelines by ID, STATUS, REF, USER_ID (default: ID)
        sort - sort pipelines in ASC or DESC order (default: DESC)
        Returns:
        a list containing the pipelines for the specified project ID
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipelines

        public java.util.List<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath,
                                                                             org.gitlab4j.models.Constants.PipelineScope scope,
                                                                             org.gitlab4j.api.models.PipelineStatus status,
                                                                             java.lang.String ref,
                                                                             boolean yamlErrors,
                                                                             java.lang.String name,
                                                                             java.lang.String username,
                                                                             org.gitlab4j.models.Constants.PipelineOrderBy orderBy,
                                                                             org.gitlab4j.models.Constants.SortOrder sort,
                                                                             int page,
                                                                             int perPage)
                                                                      throws GitLabApiException
        Get a list of pipelines in a project in the specified page range.
        GitLab Endpoint: GET /projects/:id/pipelines
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        scope - the scope of pipelines, one of: RUNNING, PENDING, FINISHED, BRANCHES, TAGS
        status - the status of pipelines, one of: RUNNING, PENDING, SUCCESS, FAILED, CANCELED, SKIPPED
        ref - the ref of pipelines
        yamlErrors - returns pipelines with invalid configurations
        name - the name of the user who triggered pipelines
        username - the username of the user who triggered pipelines
        orderBy - order pipelines by ID, STATUS, REF, USER_ID (default: ID)
        sort - sort pipelines in ASC or DESC order (default: DESC)
        page - the page to get
        perPage - the number of Pipeline instances per page
        Returns:
        a list containing the pipelines for the specified project ID
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipelinesStream

        public java.util.stream.Stream<org.gitlab4j.api.models.Pipeline> getPipelinesStream​(java.lang.Object projectIdOrPath,
                                                                                            org.gitlab4j.models.Constants.PipelineScope scope,
                                                                                            org.gitlab4j.api.models.PipelineStatus status,
                                                                                            java.lang.String ref,
                                                                                            boolean yamlErrors,
                                                                                            java.lang.String name,
                                                                                            java.lang.String username,
                                                                                            org.gitlab4j.models.Constants.PipelineOrderBy orderBy,
                                                                                            org.gitlab4j.models.Constants.SortOrder sort)
                                                                                     throws GitLabApiException
        Get a Stream of pipelines in a project.
        GitLab Endpoint: GET /projects/:id/pipelines
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        scope - the scope of pipelines, one of: RUNNING, PENDING, FINISHED, BRANCHES, TAGS
        status - the status of pipelines, one of: RUNNING, PENDING, SUCCESS, FAILED, CANCELED, SKIPPED
        ref - the ref of pipelines
        yamlErrors - returns pipelines with invalid configurations
        name - the name of the user who triggered pipelines
        username - the username of the user who triggered pipelines
        orderBy - order pipelines by ID, STATUS, REF, USER_ID (default: ID)
        sort - sort pipelines in ASC or DESC order (default: DESC)
        Returns:
        a Stream containing the pipelines for the specified project ID
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipelines

        public Pager<org.gitlab4j.api.models.Pipeline> getPipelines​(java.lang.Object projectIdOrPath,
                                                                    org.gitlab4j.models.Constants.PipelineScope scope,
                                                                    org.gitlab4j.api.models.PipelineStatus status,
                                                                    java.lang.String ref,
                                                                    boolean yamlErrors,
                                                                    java.lang.String name,
                                                                    java.lang.String username,
                                                                    org.gitlab4j.models.Constants.PipelineOrderBy orderBy,
                                                                    org.gitlab4j.models.Constants.SortOrder sort,
                                                                    int itemsPerPage)
                                                             throws GitLabApiException
        Get a Pager of pipelines in a project.
        GitLab Endpoint: GET /projects/:id/pipelines
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        scope - the scope of pipelines, one of: RUNNING, PENDING, FINISHED, BRANCHES, TAGS
        status - the status of pipelines, one of: RUNNING, PENDING, SUCCESS, FAILED, CANCELED, SKIPPED
        ref - the ref of pipelines
        yamlErrors - returns pipelines with invalid configurations
        name - the name of the user who triggered pipelines
        username - the username of the user who triggered pipelines
        orderBy - order pipelines by ID, STATUS, REF, USER_ID (default: ID)
        sort - sort pipelines in ASC or DESC order (default: DESC)
        itemsPerPage - the number of Pipeline instances that will be fetched per page
        Returns:
        a list containing the pipelines for the specified project ID
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipeline

        public org.gitlab4j.api.models.Pipeline getPipeline​(java.lang.Object projectIdOrPath,
                                                            long pipelineId)
                                                     throws GitLabApiException
        Get single pipelines in a project.
        GitLab Endpoint: GET /projects/:id/pipelines/:pipeline_id
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        pipelineId - the pipeline ID to get
        Returns:
        a single pipelines for the specified project ID
        Throws:
        GitLabApiException - if any exception occurs during execution
      • createPipeline

        public org.gitlab4j.api.models.Pipeline createPipeline​(java.lang.Object projectIdOrPath,
                                                               java.lang.String ref)
                                                        throws GitLabApiException
        Create a pipelines in a project.
        GitLab Endpoint: POST /projects/:id/pipeline
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        ref - reference to commit
        Returns:
        a Pipeline instance with the newly created pipeline info
        Throws:
        GitLabApiException - if any exception occurs during execution
      • createPipeline

        public org.gitlab4j.api.models.Pipeline createPipeline​(java.lang.Object projectIdOrPath,
                                                               java.lang.String ref,
                                                               java.util.Map<java.lang.String,​java.lang.String> variables)
                                                        throws GitLabApiException
        Create a pipelines in a project.
        GitLab Endpoint: POST /projects/:id/pipeline
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        ref - reference to commit
        variables - a Map containing the variables available in the pipeline
        Returns:
        a Pipeline instance with the newly created pipeline info
        Throws:
        GitLabApiException - if any exception occurs during execution
      • createPipeline

        public org.gitlab4j.api.models.Pipeline createPipeline​(java.lang.Object projectIdOrPath,
                                                               java.lang.String ref,
                                                               java.util.List<org.gitlab4j.api.models.Variable> variables)
                                                        throws GitLabApiException
        Create a pipelines in a project.
        GitLab Endpoint: POST /projects/:id/pipeline
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        ref - reference to commit
        variables - a Map containing the variables available in the pipeline
        Returns:
        a Pipeline instance with the newly created pipeline info
        Throws:
        GitLabApiException - if any exception occurs during execution
      • deletePipeline

        public void deletePipeline​(java.lang.Object projectIdOrPath,
                                   long pipelineId)
                            throws GitLabApiException
        Delete a pipeline from a project.
        GitLab Endpoint: DELETE /projects/:id/pipelines/:pipeline_id
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        pipelineId - the pipeline ID to delete
        Throws:
        GitLabApiException - if any exception occurs during execution
      • retryPipelineJob

        public org.gitlab4j.api.models.Pipeline retryPipelineJob​(java.lang.Object projectIdOrPath,
                                                                 long pipelineId)
                                                          throws GitLabApiException
        Retry a job in specified pipelines in a project.
        GitLab Endpoint: POST /projects/:id/pipelines/:pipeline_id/retry
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        pipelineId - the pipeline ID to retry a job from
        Returns:
        pipeline instance which just retried
        Throws:
        GitLabApiException - if any exception occurs during execution
      • cancelPipelineJobs

        public org.gitlab4j.api.models.Pipeline cancelPipelineJobs​(java.lang.Object projectIdOrPath,
                                                                   long pipelineId)
                                                            throws GitLabApiException
        Cancel jobs of specified pipelines in a project.
        GitLab Endpoint: POST /projects/:id/pipelines/:pipeline_id/cancel
        Parameters:
        projectIdOrPath - the project in the form of an Long(ID), String(path), or Project instance
        pipelineId - the pipeline ID to cancel jobs
        Returns:
        pipeline instance which just canceled
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getPipelineSchedules

        public java.util.List<org.gitlab4j.api.models.PipelineSchedule> getPipelineSchedules​(java.lang.Object projectIdOrPath)
                                                                                      throws GitLabApiException
        Get a list of the project pipeline_schedules for the specified project.
        GET /projects/:id/pipeline_schedules
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        Returns:
        a list of pipeline schedules for the specified project
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineSchedules

        public java.util.List<org.gitlab4j.api.models.PipelineSchedule> getPipelineSchedules​(java.lang.Object projectIdOrPath,
                                                                                             int page,
                                                                                             int perPage)
                                                                                      throws GitLabApiException
        Get list of project pipeline schedules in the specified page range.
        GET /projects/:id/pipeline_schedules
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        page - the page to get
        perPage - the number of PipelineSchedule instances per page
        Returns:
        a list of project pipeline_schedules for the specified project in the specified page range
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineSchedules

        public Pager<org.gitlab4j.api.models.PipelineSchedule> getPipelineSchedules​(java.lang.Object projectIdOrPath,
                                                                                    int itemsPerPage)
                                                                             throws GitLabApiException
        Get Pager of project pipeline schedule.
        GET /projects/:id/pipeline_schedule
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        itemsPerPage - the number of PipelineSchedule instances that will be fetched per page
        Returns:
        a Pager of project pipeline_schedules for the specified project
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineSchedulesStream

        public java.util.stream.Stream<org.gitlab4j.api.models.PipelineSchedule> getPipelineSchedulesStream​(java.lang.Object projectIdOrPath)
                                                                                                     throws GitLabApiException
        Get a Stream of the project pipeline schedule for the specified project.
        GET /projects/:id/pipeline_schedule
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        Returns:
        a Stream of project pipeline schedules for the specified project
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineSchedule

        public org.gitlab4j.api.models.PipelineSchedule getPipelineSchedule​(java.lang.Object projectIdOrPath,
                                                                            java.lang.Long pipelineScheduleId)
                                                                     throws GitLabApiException
        Get a specific pipeline schedule for project.
        GET /projects/:id/pipeline_schedules/:pipeline_schedule_id
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineScheduleId - the ID of the pipeline schedule to get
        Returns:
        the project PipelineSchedule
        Throws:
        GitLabApiException - if any exception occurs
      • getOptionalPipelineSchedule

        public java.util.Optional<org.gitlab4j.api.models.PipelineSchedule> getOptionalPipelineSchedule​(java.lang.Object projectIdOrPath,
                                                                                                        java.lang.Long pipelineScheduleId)
        Get a specific pipeline schedule for project as an Optional instance.
        GET /projects/:id/pipeline_schedules/:pipeline_schedule_id
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineScheduleId - the ID of the hook to get
        Returns:
        the project PipelineSchedule as an Optional instance
      • createPipelineSchedule

        public org.gitlab4j.api.models.PipelineSchedule createPipelineSchedule​(java.lang.Object projectIdOrPath,
                                                                               org.gitlab4j.api.models.PipelineSchedule pipelineSchedule)
                                                                        throws GitLabApiException
        create a pipeline schedule for a project.
        POST /projects/:id/pipeline_schedules
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineSchedule - a PipelineSchedule instance to create
        Returns:
        the added PipelineSchedule instance
        Throws:
        GitLabApiException - if any exception occurs
      • deletePipelineSchedule

        public void deletePipelineSchedule​(java.lang.Object projectIdOrPath,
                                           java.lang.Long pipelineScheduleId)
                                    throws GitLabApiException
        Deletes a pipeline schedule from the project.
        DELETE /projects/:id/pipeline_schedules/:pipeline_schedule_id
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineScheduleId - the project schedule ID to delete
        Throws:
        GitLabApiException - if any exception occurs
      • updatePipelineSchedule

        public org.gitlab4j.api.models.PipelineSchedule updatePipelineSchedule​(java.lang.Object projectIdOrPath,
                                                                               org.gitlab4j.api.models.PipelineSchedule pipelineSchedule)
                                                                        throws GitLabApiException
        Modifies a pipeline schedule for project.
        PUT /projects/:id/pipeline_schedules/:pipeline_schedule_id
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineSchedule - the pipelineSchedule instance that contains the pipelineSchedule info to modify
        Returns:
        the modified project schedule
        Throws:
        GitLabApiException - if any exception occurs
      • takeOwnershipPipelineSchedule

        public org.gitlab4j.api.models.PipelineSchedule takeOwnershipPipelineSchedule​(java.lang.Object projectIdOrPath,
                                                                                      java.lang.Long pipelineScheduleId)
                                                                               throws GitLabApiException
        Update the owner of the pipeline schedule of a project.
        POST /projects/:id/pipeline_schedules/:pipeline_schedule_id/take_ownership
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineScheduleId - the pipelineSchedule instance id that ownership has to be taken of
        Returns:
        the modified project schedule
        Throws:
        GitLabApiException - if any exception occurs
      • playPipelineSchedule

        public void playPipelineSchedule​(java.lang.Object projectIdOrPath,
                                         java.lang.Long pipelineScheduleId)
                                  throws GitLabApiException
        Trigger a new scheduled pipeline, which runs immediately.
        POST /projects/:id/pipeline_schedules/:pipeline_schedule_id/play
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineScheduleId - the pipelineSchedule instance id which should run immediately
        Throws:
        GitLabApiException - if any exception occurs during execution
      • createPipelineScheduleVariable

        public org.gitlab4j.api.models.Variable createPipelineScheduleVariable​(java.lang.Object projectIdOrPath,
                                                                               java.lang.Long pipelineScheduleId,
                                                                               java.lang.String key,
                                                                               java.lang.String value)
                                                                        throws GitLabApiException
        Create a pipeline schedule variable.
        GitLab Endpoint: POST /projects/:id/pipeline_schedules/:pipeline_schedule_id/variables
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineScheduleId - the pipelineSchedule ID
        key - the key of a variable; must have no more than 255 characters; only A-Z, a-z, 0-9, and _ are allowed
        value - the value for the variable
        Returns:
        a Pipeline instance with the newly created pipeline schedule variable
        Throws:
        GitLabApiException - if any exception occurs during execution
      • updatePipelineScheduleVariable

        public org.gitlab4j.api.models.Variable updatePipelineScheduleVariable​(java.lang.Object projectIdOrPath,
                                                                               java.lang.Long pipelineScheduleId,
                                                                               java.lang.String key,
                                                                               java.lang.String value)
                                                                        throws GitLabApiException
        Update a pipeline schedule variable.
        GitLab Endpoint: PUT /projects/:id/pipeline_schedules/:pipeline_schedule_id/variables/:key
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineScheduleId - the pipelineSchedule ID
        key - the key of an existing pipeline schedule variable
        value - the new value for the variable
        Returns:
        a Pipeline instance with the updated variable
        Throws:
        GitLabApiException - if any exception occurs during execution
      • deletePipelineScheduleVariable

        public void deletePipelineScheduleVariable​(java.lang.Object projectIdOrPath,
                                                   java.lang.Long pipelineScheduleId,
                                                   java.lang.String key)
                                            throws GitLabApiException
        Deletes a pipeline schedule variable.
        DELETE /projects/:id/pipeline_schedules/:pipeline_schedule_id/variables/:key
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineScheduleId - the pipeline schedule ID
        key - the key of an existing pipeline schedule variable
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineTriggers

        public java.util.List<org.gitlab4j.api.models.Trigger> getPipelineTriggers​(java.lang.Object projectIdOrPath)
                                                                            throws GitLabApiException
        Get a list of the project pipeline triggers for the specified project.
        GET /projects/:id/triggers
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        Returns:
        a list of pipeline triggers for the specified project
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineTriggers

        public java.util.List<org.gitlab4j.api.models.Trigger> getPipelineTriggers​(java.lang.Object projectIdOrPath,
                                                                                   int page,
                                                                                   int perPage)
                                                                            throws GitLabApiException
        Get list of project pipeline triggers in the specified page range.
        GET /projects/:id/triggers
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        page - the page to get
        perPage - the number of Trigger instances per page
        Returns:
        a list of project pipeline triggers for the specified project in the specified page range
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineTriggers

        public Pager<org.gitlab4j.api.models.Trigger> getPipelineTriggers​(java.lang.Object projectIdOrPath,
                                                                          int itemsPerPage)
                                                                   throws GitLabApiException
        Get Pager of project pipeline triggers.
        GET /projects/:id/pipeline_schedule
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        itemsPerPage - the number of Project instances that will be fetched per page
        Returns:
        a Pager of project pipeline triggers for the specified project
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineTriggersStream

        public java.util.stream.Stream<org.gitlab4j.api.models.Trigger> getPipelineTriggersStream​(java.lang.Object projectIdOrPath)
                                                                                           throws GitLabApiException
        Get a Stream of the project pipeline triggers for the specified project.
        GET /projects/:id/pipeline_schedule
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        Returns:
        a Stream of project pipeline triggers for the specified project
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineTrigger

        public org.gitlab4j.api.models.Trigger getPipelineTrigger​(java.lang.Object projectIdOrPath,
                                                                  java.lang.Long triggerId)
                                                           throws GitLabApiException
        Get a specific pipeline schedule for project.
        GET /projects/:id/triggers/:trigger_id
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        triggerId - the ID of the trigger to get
        Returns:
        the project pipeline trigger
        Throws:
        GitLabApiException - if any exception occurs
      • getOptionalPipelineTrigger

        public java.util.Optional<org.gitlab4j.api.models.Trigger> getOptionalPipelineTrigger​(java.lang.Object projectIdOrPath,
                                                                                              java.lang.Long triggerId)
        Get a specific pipeline trigger for project as an Optional instance.
        GET /projects/:id/triggers/:trigger_id
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        triggerId - the ID of the trigger to get
        Returns:
        the project pipeline trigger as an Optional instance
      • createPipelineTrigger

        public org.gitlab4j.api.models.Trigger createPipelineTrigger​(java.lang.Object projectIdOrPath,
                                                                     java.lang.String description)
                                                              throws GitLabApiException
        Create a pipeline trigger for a project.
        POST /projects/:id/triggers
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        description - the trigger description
        Returns:
        the created Trigger instance
        Throws:
        GitLabApiException - if any exception occurs
      • updatePipelineTrigger

        public org.gitlab4j.api.models.Trigger updatePipelineTrigger​(java.lang.Object projectIdOrPath,
                                                                     java.lang.Long triggerId,
                                                                     java.lang.String description)
                                                              throws GitLabApiException
        Updates a pipeline trigger for project.
        PUT /projects/:id/triggers/:trigger_id
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        triggerId - the trigger ID to update
        description - the new trigger description
        Returns:
        the updated Trigger instance
        Throws:
        GitLabApiException - if any exception occurs
      • deletePipelineTrigger

        public void deletePipelineTrigger​(java.lang.Object projectIdOrPath,
                                          java.lang.Long triggerId)
                                   throws GitLabApiException
        Deletes a pipeline trigger from the project.
        DELETE /projects/:id/triggers/:trigger_id
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        triggerId - the project trigger ID to delete
        Throws:
        GitLabApiException - if any exception occurs
      • takeOwnewrshipOfPipelineTrigger

        public org.gitlab4j.api.models.Trigger takeOwnewrshipOfPipelineTrigger​(java.lang.Object projectIdOrPath,
                                                                               java.lang.Long triggerId)
                                                                        throws GitLabApiException
        Take ownership of a pipeline trigger for project.
        PUT /projects/:id/triggers/:trigger_id/take_ownership
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        triggerId - the trigger ID to take opwnership of
        Returns:
        the updated Trigger instance
        Throws:
        GitLabApiException - if any exception occurs
      • triggerPipeline

        public org.gitlab4j.api.models.Pipeline triggerPipeline​(java.lang.Object projectIdOrPath,
                                                                org.gitlab4j.api.models.Trigger trigger,
                                                                java.lang.String ref,
                                                                java.util.List<org.gitlab4j.api.models.Variable> variables)
                                                         throws GitLabApiException
        Trigger a pipeline for a project.
        POST /projects/:id/trigger/pipeline
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        trigger - the Trigger instance holding the trigger token
        ref - the ref that the pipeline is to be triggered for
        variables - a List of variables to be passed with the trigger
        Returns:
        a Pipeline instance holding information on the triggered pipeline
        Throws:
        GitLabApiException - if any exception occurs
      • triggerPipeline

        public org.gitlab4j.api.models.Pipeline triggerPipeline​(java.lang.Object projectIdOrPath,
                                                                java.lang.String token,
                                                                java.lang.String ref,
                                                                java.util.List<org.gitlab4j.api.models.Variable> variables)
                                                         throws GitLabApiException
        Trigger a pipeline for a project.
        POST /projects/:id/trigger/pipeline
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        token - the trigger token
        ref - the ref that the pipeline is to be triggered for
        variables - a List of variables to be passed with the trigger
        Returns:
        a Pipeline instance holding information on the triggered pipeline
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineVariables

        public java.util.List<org.gitlab4j.api.models.Variable> getPipelineVariables​(java.lang.Object projectIdOrPath,
                                                                                     java.lang.Long pipelineId)
                                                                              throws GitLabApiException
        Get List of variables of a pipeline.
        GET /projects/:id/pipelines/:pipeline_id/variables
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineId - the pipeline ID
        Returns:
        a List of pipeline variables
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineVariables

        public Pager<org.gitlab4j.api.models.Variable> getPipelineVariables​(java.lang.Object projectIdOrPath,
                                                                            java.lang.Long pipelineId,
                                                                            int itemsPerPage)
                                                                     throws GitLabApiException
        Get a Pager of variables of a pipeline.
        GET /projects/:id/pipelines/:pipeline_id/variables
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineId - the pipeline ID
        itemsPerPage - the number of Pipeline instances that will be fetched per page
        Returns:
        a Pager of pipeline variables
        Throws:
        GitLabApiException - if any exception occurs
      • getPipelineVariablesStream

        public java.util.stream.Stream<org.gitlab4j.api.models.Variable> getPipelineVariablesStream​(java.lang.Object projectIdOrPath,
                                                                                                    java.lang.Long pipelineId)
                                                                                             throws GitLabApiException
        Get a Stream of variables of a pipeline as a Stream.
        GET /projects/:id/pipelines/:pipeline_id/variables
        Parameters:
        projectIdOrPath - projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
        pipelineId - the pipeline ID
        Returns:
        a Stream of pipeline variables
        Throws:
        GitLabApiException - if any exception occurs
      • getBridgesForPipeline

        public java.util.List<org.gitlab4j.api.models.Bridge> getBridgesForPipeline​(java.lang.Object projectIdOrPath,
                                                                                    long pipelineId)
                                                                             throws GitLabApiException
        Get a List of bridges in a pipeline.
        GitLab Endpoint: GET /projects/:id/pipelines/:pipeline_id/bridges 
        Parameters:
        projectIdOrPath - id, path of the project, or a Project instance holding the project ID or path to get the pipelines for
        pipelineId - the pipeline ID to get the list of bridges for
        Returns:
        a list containing the bridges for the specified project ID and pipeline ID
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getBridgesForPipeline

        public java.util.List<org.gitlab4j.api.models.Bridge> getBridgesForPipeline​(java.lang.Object projectIdOrPath,
                                                                                    long pipelineId,
                                                                                    org.gitlab4j.models.Constants.JobScope scope)
                                                                             throws GitLabApiException
        Get a List of bridges in a pipeline.
        GitLab Endpoint: GET /projects/:id/pipelines/:pipeline_id/bridges 
        Parameters:
        projectIdOrPath - id, path of the project, or a Project instance holding the project ID or path to get the pipelines for
        pipelineId - the pipeline ID to get the list of bridges for
        scope - the scope of the jobs to list
        Returns:
        a list containing the bridges for the specified project ID and pipeline ID
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getBridgesForPipeline

        public Pager<org.gitlab4j.api.models.Bridge> getBridgesForPipeline​(java.lang.Object projectIdOrPath,
                                                                           long pipelineId,
                                                                           int itemsPerPage,
                                                                           org.gitlab4j.models.Constants.JobScope scope)
                                                                    throws GitLabApiException
        Get a Pager of bridges in a pipeline.
        GitLab Endpoint: GET /projects/:id/pipelines/:pipeline_id/bridges 
        Parameters:
        projectIdOrPath - id, path of the project, or a Project instance holding the project ID or path to get the pipelines for
        pipelineId - the pipeline ID to get the list of bridges for
        itemsPerPage - the number of Bridge instances that will be fetched per page
        scope - the scope of the jobs to list
        Returns:
        a list containing the bridges for the specified project ID and pipeline ID
        Throws:
        GitLabApiException - if any exception occurs during execution
      • getBridgesStream

        public java.util.stream.Stream<org.gitlab4j.api.models.Bridge> getBridgesStream​(java.lang.Object projectIdOrPath,
                                                                                        long pipelineId,
                                                                                        org.gitlab4j.models.Constants.JobScope scope)
                                                                                 throws GitLabApiException
        Get a Stream of bridges in a pipeline.
        GitLab Endpoint: GET /projects/:id/pipelines/:pipeline_id/bridges
        Parameters:
        projectIdOrPath - id, path of the project, or a Project instance holding the project ID or path
        pipelineId - the pipeline ID to get the list of bridges for
        Returns:
        a Stream containing the bridges for the specified project ID
        Throws:
        GitLabApiException - if any exception occurs during execution