Class AbstractActiveSet

java.lang.Object
org.codehaus.plexus.collections.AbstractActiveSet
All Implemented Interfaces:
Iterable, Collection, Set, ActiveCollection, ActiveSet
Direct Known Subclasses:
DefaultActiveSet

public abstract class AbstractActiveSet extends Object implements ActiveSet
  • Field Details

    • role

      private String role
    • container

      private org.codehaus.plexus.PlexusContainer container
    • logger

      private org.codehaus.plexus.logging.Logger logger
  • Constructor Details

    • AbstractActiveSet

      protected AbstractActiveSet()
    • AbstractActiveSet

      protected AbstractActiveSet(org.codehaus.plexus.PlexusContainer container, String role)
  • Method Details

    • add

      public boolean add(Object arg0)
      Specified by:
      add in interface Collection
      Specified by:
      add in interface Set
    • addAll

      public boolean addAll(Collection arg0)
      Specified by:
      addAll in interface Collection
      Specified by:
      addAll in interface Set
    • clear

      public void clear()
      Specified by:
      clear in interface Collection
      Specified by:
      clear in interface Set
    • remove

      public boolean remove(Object o)
      Specified by:
      remove in interface Collection
      Specified by:
      remove in interface Set
    • removeAll

      public boolean removeAll(Collection arg0)
      Specified by:
      removeAll in interface Collection
      Specified by:
      removeAll in interface Set
    • retainAll

      public boolean retainAll(Collection arg0)
      Specified by:
      retainAll in interface Collection
      Specified by:
      retainAll in interface Set
    • getLogger

      protected final org.codehaus.plexus.logging.Logger getLogger()
    • getSet

      protected final Set getSet()
    • checkedGetSet

      protected final Set checkedGetSet() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException
    • getRole

      public final String getRole()
      Description copied from interface: ActiveCollection
      Retrive the role, or type of component, which is collected in the current instance. The current collection will only "contain" elements that specify this role in their component definitions.
      Specified by:
      getRole in interface ActiveCollection
    • setRole

      protected final void setRole(String role)
    • contextualize

      public final void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException
      Throws:
      org.codehaus.plexus.context.ContextException
    • enableLogging

      public final void enableLogging(org.codehaus.plexus.logging.Logger logger)