Class ListView

    • Constructor Detail

      • ListView

        public ListView​( injector,
                        URL url)
    • Method Detail

      • createWithColumn

        public static <T extends ListViewColumn> T createWithColumn​(Container owner,
                                                                    Class<T> columnClass)
        Creates a new list view with the specified column.
        Type Parameters:
        T - the type of the column
        owner - owner of the list view (jenkins, folder, etc.)
        columnClass - the class of the column to add
        the created column
      • addColumn

        public <T extends ListViewColumn> T addColumn​(Class<T> type)
        Adds a column on the dashboard.
        Type Parameters:
        T - The type of the new dashboard column.
        type - The class object of the type of the new dashboard column.
        The new dashboard column.
      • getColumn

        public <T extends ListViewColumn> T getColumn​(Class<T> type)
        the column to the corresponding type
      • addJob

        public void addJob​(Job job)
        Explicitly add a job to the view.
      • scheduleJob

        public void scheduleJob​(String name)