Class ListView

    • Constructor Detail

      • ListView

        public ListView​(com.google.inject.Injector 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
        Parameters:
        owner - owner of the list view (jenkins, folder, etc.)
        columnClass - the class of the column to add
        Returns:
        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.
        Parameters:
        type - The class object of the type of the new dashboard column.
        Returns:
        The new dashboard column.
      • getColumn

        public <T extends ListViewColumn> T getColumn​(Class<T> type)
        Returns:
        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)