org.rhq.enterprise.communications.command.param
Class OptionalParameterDefinitionIterator
java.lang.Object
org.rhq.enterprise.communications.command.param.AbstractParameterDefinitionIterator
org.rhq.enterprise.communications.command.param.OptionalParameterDefinitionIterator
- All Implemented Interfaces:
- Iterator
public class OptionalParameterDefinitionIterator
- extends AbstractParameterDefinitionIterator
Iterates over a Collection of ParameterDefinition objects - only the optional parameters are
actually iterated (non-required parameters are ignored).
Note that a snapshot of the parameter definitions is taken at the time this iterator is created - concurrent
access is allowed on the original set of parameter definitions, however, changes made to the original collection are
not reflected by this iterator.
- Author:
- John Mazzitelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptionalParameterDefinitionIterator
public OptionalParameterDefinitionIterator(Collection<ParameterDefinition> parameterDefinitions)
- Constructor for
OptionalParameterDefinitionIterator that provides an iterator over a collection of
parameter definitions - of which only the optional ones will be iterated.
- Parameters:
parameterDefinitions - full set of parameter definitions
OptionalParameterDefinitionIterator
public OptionalParameterDefinitionIterator(ParameterDefinition[] parameterDefinitions)
- Constructor for
OptionalParameterDefinitionIterator that provides an iterator over an array of parameter
definitions - of which only the optional ones will be iterated.
- Parameters:
parameterDefinitions - full set of parameter definitions
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.