Class GHWorkflowJobQueryBuilder


  • public class GHWorkflowJobQueryBuilder
    extends GHQueryBuilder<GHWorkflowJob>
    Lists up jobs of a workflow run with some filtering.
    Author:
    Guillaume Smet
    • Method Detail

      • latest

        public GHWorkflowJobQueryBuilder latest()
        Apply a filter to only return the jobs of the most recent execution of the workflow run.
        Returns:
        the workflow run job query builder
      • all

        public GHWorkflowJobQueryBuilder all()
        Apply a filter to return jobs from all executions of this workflow run.
        Returns:
        the workflow run job run query builder
      • getRoot

        @Deprecated
        public GitHub getRoot()
        Deprecated.
        For access to the GitHub instance, use a local copy instead of pulling it out of objects.
        Get the root GitHub instance for this object.
        Returns:
        the root GitHub instance