Class BuildQueue


  • @ExportedBean
    public class BuildQueue
    extends Object
    This class implements a BuildQueue and contains information about all queue jobs.
    Author:
    yboev
    • Constructor Detail

      • BuildQueue

        public BuildQueue()
        Constructor method.
    • Method Detail

      • getApi

        public Api getApi()
        REST API.
        Returns:
        the api.
      • getNumberOfJobs

        @Exported
        public int getNumberOfJobs()
        Return the number of queue jobs.
        Returns:
        the number of jobs waiting as int.
      • getQueueJobs

        @Exported(inline=true)
        public ArrayList<QueueJob> getQueueJobs()
        Returns a list of all jobs in the queue.
        Returns:
        the list
      • refresh

        public void refresh()
        Refresh method for this class.