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 TypeMethodDescriptionboolean
add
(IParameter param) void
clear()
void
boolean
consumesSessionVariable
(String sessionKey) findParameter
(String name) void
forEach
(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 objectsboolean
hasParameter
(String name) boolean
isEmpty()
iterator()
boolean
remove
(IParameter param) int
size()
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:
iterator
in interfaceIterable<IParameter>
-
forEach
- Specified by:
forEach
in interfaceIterable<IParameter>
-
spliterator
- Specified by:
spliterator
in 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 unlessinvalid reference
#setNamesMustBeUnique(boolean)
true
, they will appear multiple times in the list if they are present multiple times in the ParameterList.
-