public class ConstantDataInputParameter extends java.lang.Object implements DataInputParameter<java.lang.String>
This DataInputParameter
is used when you want to configure data directly in the Interlok configuration.
An example might be configuring the XPath expression directly in Interlok configuration used for the XPathService
.
In the adapter configuration file this class is aliased as constant-data-input-parameter which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
ConstantDataInputParameter() |
ConstantDataInputParameter(java.lang.String v) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
extract(InterlokMessage m) |
java.lang.String |
getValue() |
void |
setValue(java.lang.String v) |
public ConstantDataInputParameter()
public ConstantDataInputParameter(java.lang.String v)
public java.lang.String extract(InterlokMessage m) throws InterlokException
extract
in interface DataInputParameter<java.lang.String>
InterlokException
public java.lang.String getValue()
public void setValue(java.lang.String v)
v
- the value, supports metadata resolution via InterlokMessage.resolve(String)
.