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
public abstract class AbstractActiveList
- extends Object
- implements ActiveList
Fields inherited from interface org.codehaus.plexus.collections.ActiveList |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.plexus.collections.ActiveList |
checkedContains, checkedContainsAll, checkedGet, checkedIndexOf, checkedIterator, checkedLastIndexOf, checkedListIterator, checkedListIterator, checkedSubList, checkedToArray, checkedToArray |
Methods inherited from interface java.util.List |
contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, size, subList, toArray, toArray |
AbstractActiveList
protected AbstractActiveList()
AbstractActiveList
protected AbstractActiveList(org.codehaus.plexus.PlexusContainer container,
String role)
add
public boolean add(Object arg0)
- Specified by:
add
in interface Collection
- Specified by:
add
in interface List
add
public void add(int arg0,
Object arg1)
- Specified by:
add
in interface List
addAll
public boolean addAll(Collection arg0)
- Specified by:
addAll
in interface Collection
- Specified by:
addAll
in interface List
addAll
public boolean addAll(int arg0,
Collection arg1)
- Specified by:
addAll
in interface List
clear
public void clear()
- Specified by:
clear
in interface Collection
- Specified by:
clear
in interface List
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection
- Specified by:
remove
in interface List
remove
public Object remove(int index)
- Specified by:
remove
in interface List
removeAll
public boolean removeAll(Collection arg0)
- Specified by:
removeAll
in interface Collection
- Specified by:
removeAll
in interface List
retainAll
public boolean retainAll(Collection arg0)
- Specified by:
retainAll
in interface Collection
- Specified by:
retainAll
in interface List
set
public Object set(int arg0,
Object arg1)
- Specified by:
set
in interface List
checkedGetList
protected final List checkedGetList()
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
getList
protected final List getList()
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
getLogger
protected final org.codehaus.plexus.logging.Logger getLogger()
enableLogging
public final void enableLogging(org.codehaus.plexus.logging.Logger logger)
Copyright © 2001-2012 Codehaus. All Rights Reserved.