Class AbstractActiveList

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.codehaus.plexus.PlexusContainer container  
      private org.codehaus.plexus.logging.Logger logger  
      private java.lang.String role  
      • Fields inherited from interface org.codehaus.plexus.collections.ActiveList

        ROLE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractActiveList()  
      protected AbstractActiveList​(org.codehaus.plexus.PlexusContainer container, java.lang.String role)  
    • Field Detail

      • role

        private java.lang.String role
      • container

        private org.codehaus.plexus.PlexusContainer container
      • logger

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

      • AbstractActiveList

        protected AbstractActiveList()
      • AbstractActiveList

        protected AbstractActiveList​(org.codehaus.plexus.PlexusContainer container,
                                     java.lang.String role)
    • Method Detail

      • add

        public boolean add​(java.lang.Object arg0)
        Specified by:
        add in interface java.util.Collection
        Specified by:
        add in interface java.util.List
      • add

        public void add​(int arg0,
                        java.lang.Object arg1)
        Specified by:
        add in interface java.util.List
      • addAll

        public boolean addAll​(java.util.Collection arg0)
        Specified by:
        addAll in interface java.util.Collection
        Specified by:
        addAll in interface java.util.List
      • addAll

        public boolean addAll​(int arg0,
                              java.util.Collection arg1)
        Specified by:
        addAll in interface java.util.List
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection
        Specified by:
        clear in interface java.util.List
      • remove

        public boolean remove​(java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection
        Specified by:
        remove in interface java.util.List
      • remove

        public java.lang.Object remove​(int index)
        Specified by:
        remove in interface java.util.List
      • removeAll

        public boolean removeAll​(java.util.Collection arg0)
        Specified by:
        removeAll in interface java.util.Collection
        Specified by:
        removeAll in interface java.util.List
      • retainAll

        public boolean retainAll​(java.util.Collection arg0)
        Specified by:
        retainAll in interface java.util.Collection
        Specified by:
        retainAll in interface java.util.List
      • set

        public java.lang.Object set​(int arg0,
                                    java.lang.Object arg1)
        Specified by:
        set in interface java.util.List
      • checkedGetList

        protected final java.util.List checkedGetList()
                                               throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
        Throws:
        org.codehaus.plexus.component.repository.exception.ComponentLookupException
      • getList

        protected final java.util.List getList()
      • getRole

        public final java.lang.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​(java.lang.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
      • getLogger

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

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