Class FilterArtifacts


  • public class FilterArtifacts
    extends java.lang.Object
    Author:
    Brian Fox
    • Constructor Detail

      • FilterArtifacts

        public FilterArtifacts()
        Created new instance.
    • Method Detail

      • clearFilters

        public void clearFilters()
        Removes all of the elements from this list. The list will be empty after this call returns.
      • addFilter

        public void addFilter​(ArtifactsFilter filter)
        Appends the specified element to the end of this list.
        Parameters:
        filter - element to be appended to this list.
      • addFilter

        public void addFilter​(int index,
                              ArtifactsFilter filter)
        Inserts the specified element at the specified position in this list. Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).
        Parameters:
        index - at which index the specified filter is to be inserted.
        filter - the filter to be inserted.
        Throws:
        java.lang.IndexOutOfBoundsException - if index is out of range (index < 0 || index > size()).
      • getFilters

        public java.util.List<ArtifactsFilter> getFilters()
        Returns:
        the filters.
      • setFilters

        public void setFilters​(java.util.List<ArtifactsFilter> filters)
        Parameters:
        filters - The filters to set.