public interface ActiveCollection
PlexusContainer
instance, which retrieves a fresh
batch of component elements for each method call. This interface DOES NOT implement Collection
,
since it is used as a common parent for active List
, Set
, and Map
implementations.
UnsupportedOperationException
if a mutator method is called.Modifier and Type | Method and Description |
---|---|
boolean |
checkedIsEmpty()
Same semantics as
Collection.isEmpty() or Map.isEmpty() , except this method
will throw a ComponentLookupException if one or more of the elements collected here
fails during lookup. |
int |
checkedSize()
Same semantics as
Collection.size() or Map.size() , except this method
will throw a ComponentLookupException if one or more of the elements collected here
fails during lookup. |
String |
getRole()
Retrive the role, or type of component, which is collected in the current instance.
|
boolean |
isEmpty()
Same semantics as
Collection.isEmpty() or Map.isEmpty() . |
int |
size()
Same semantics as
Collection.size() or Map.size() . |
String getRole()
boolean isEmpty()
Collection.isEmpty()
or Map.isEmpty()
.boolean checkedIsEmpty() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
Collection.isEmpty()
or Map.isEmpty()
, except this method
will throw a ComponentLookupException
if one or more of the elements collected here
fails during lookup.org.codehaus.plexus.component.repository.exception.ComponentLookupException
int size()
Collection.size()
or Map.size()
.int checkedSize() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
Collection.size()
or Map.size()
, except this method
will throw a ComponentLookupException
if one or more of the elements collected here
fails during lookup.org.codehaus.plexus.component.repository.exception.ComponentLookupException
Copyright © 2001–2014 Codehaus. All rights reserved.