Package org.codehaus.plexus.collections
Class AbstractActiveList
java.lang.Object
org.codehaus.plexus.collections.AbstractActiveList
- All Implemented Interfaces:
Iterable,Collection,List,ActiveCollection,ActiveList
- Direct Known Subclasses:
DefaultActiveList
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.codehaus.plexus.PlexusContainerprivate org.codehaus.plexus.logging.Loggerprivate StringFields inherited from interface org.codehaus.plexus.collections.ActiveList
ROLE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractActiveList(org.codehaus.plexus.PlexusContainer container, String role) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int arg0, Collection arg1) booleanaddAll(Collection arg0) protected final Listvoidclear()final voidcontextualize(org.codehaus.plexus.context.Context context) final voidenableLogging(org.codehaus.plexus.logging.Logger logger) protected final ListgetList()protected final org.codehaus.plexus.logging.Loggerfinal StringgetRole()Retrive the role, or type of component, which is collected in the current instance.remove(int index) booleanbooleanremoveAll(Collection arg0) booleanretainAll(Collection arg0) protected final voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.plexus.collections.ActiveCollection
checkedIsEmpty, checkedSize, isEmpty, sizeMethods inherited from interface org.codehaus.plexus.collections.ActiveList
checkedContains, checkedContainsAll, checkedGet, checkedIndexOf, checkedIterator, checkedLastIndexOf, checkedListIterator, checkedListIterator, checkedSubList, checkedToArray, checkedToArrayMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, replaceAll, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
role
-
container
private org.codehaus.plexus.PlexusContainer container -
logger
private org.codehaus.plexus.logging.Logger logger
-
-
Constructor Details
-
AbstractActiveList
protected AbstractActiveList() -
AbstractActiveList
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection- Specified by:
addin interfaceList
-
add
-
addAll
- Specified by:
addAllin interfaceCollection- Specified by:
addAllin interfaceList
-
addAll
-
clear
public void clear()- Specified by:
clearin interfaceCollection- Specified by:
clearin interfaceList
-
remove
- Specified by:
removein interfaceCollection- Specified by:
removein interfaceList
-
remove
-
removeAll
- Specified by:
removeAllin interfaceCollection- Specified by:
removeAllin interfaceList
-
retainAll
- Specified by:
retainAllin interfaceCollection- Specified by:
retainAllin interfaceList
-
set
-
checkedGetList
protected final List checkedGetList() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
-
getList
-
getRole
Description copied from interface:ActiveCollectionRetrive 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:
getRolein interfaceActiveCollection
-
setRole
-
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)
-