Package org.frankframework.parameters
Class ParameterList
java.lang.Object
org.frankframework.parameters.ParameterList
- All Implemented Interfaces:
Iterable<IParameter>
List of parameters.
- Author:
- Gerrit van Brakel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(IParameter param) voidclear()voidbooleanconsumesSessionVariable(String sessionKey) findParameter(String name) voidforEach(Consumer<? super IParameter> action) getParameter(int i) Get a list of all parameter names in this ParameterList.getValue(ParameterValueList alreadyResolvedParameters, IParameter p, Message message, PipeLineSession session, boolean namespaceAware) getValues(Message message, PipeLineSession session) getValues(Message message, PipeLineSession session, boolean namespaceAware) Returns a List of ParameterValue objectsbooleanhasParameter(String name) booleanisEmpty()iterator()booleanremove(IParameter param) intsize()stream()
-
Constructor Details
-
ParameterList
public ParameterList() -
ParameterList
-
-
Method Details
-
clear
public void clear() -
configure
- Throws:
ConfigurationException
-
add
-
remove
-
remove
-
getParameter
-
findParameter
-
hasParameter
-
getValues
@Nonnull public ParameterValueList getValues(Message message, PipeLineSession session) throws ParameterException - Throws:
ParameterException
-
getValues
@Nonnull public ParameterValueList getValues(Message message, PipeLineSession session, boolean namespaceAware) throws ParameterException Returns a List of ParameterValue objects- Throws:
ParameterException
-
getValue
public ParameterValue getValue(ParameterValueList alreadyResolvedParameters, @Nonnull IParameter p, Message message, PipeLineSession session, boolean namespaceAware) throws ParameterException - Throws:
ParameterException
-
consumesSessionVariable
-
isEmpty
public boolean isEmpty() -
iterator
- Specified by:
iteratorin interfaceIterable<IParameter>
-
forEach
- Specified by:
forEachin interfaceIterable<IParameter>
-
spliterator
- Specified by:
spliteratorin interfaceIterable<IParameter>
-
stream
-
size
public int size() -
getParameterNames
Get a list of all parameter names in this ParameterList. Names do not need to be unique unlesshas been set toinvalid reference
#setNamesMustBeUnique(boolean)true, they will appear multiple times in the list if they are present multiple times in the ParameterList.
-