public class DBConfigHeaderParameter extends AbstractDBConfigParameter
Constructor and Description |
---|
DBConfigHeaderParameter() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getClassName() |
String |
getHeaderName() |
Object |
getValue(org.adroitlogic.x.api.XMessageContext xMessageContext,
Object... args)
Returns the actual value to insert to the database for the relevant parameter.
|
boolean |
isParsingRequired()
Whether the payload should be parsed to extract parameter values.
|
void |
setClassName(Class<?> className) |
void |
setHeaderName(String headerName) |
String |
toString() |
void |
validate()
Checks whether the values of the parameter attributes are valid or not.
|
getName, setName
public String getHeaderName()
public void setHeaderName(String headerName)
public Class<?> getClassName()
public void setClassName(Class<?> className)
public boolean isParsingRequired()
AbstractDBConfigParameter
isParsingRequired
in class AbstractDBConfigParameter
public void validate()
AbstractDBConfigParameter
validate
in class AbstractDBConfigParameter
public Object getValue(org.adroitlogic.x.api.XMessageContext xMessageContext, Object... args)
AbstractDBConfigParameter
getValue
in class AbstractDBConfigParameter
xMessageContext
- XMessageContext
instance of the message.args
- Any addition arguments required to extract the value.public String toString()
toString
in class AbstractDBConfigParameter
Copyright © 2016–2019 AdroitLogic. All rights reserved.