public class ClaimSourceConfiguration extends Object
ClaimSource
can have a pre or post-processor. These may be either given as JSON objects or as
interpretable code. Note that the contract is that if the raw json can be interpreted as a JSON object,
then the corresponding property is to be set, otherwise it is to be null.
Created by Jeff Gaynor
on 7/23/18 at 8:44 AM
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled |
protected boolean |
failOnError |
protected String |
id |
protected boolean |
jsonPostProcessorDone |
protected boolean |
jsonPreProcessorDone |
protected String |
name |
protected boolean |
notifyOnFail |
Constructor and Description |
---|
ClaimSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Opaque identifier for uniquely identifying this configuratioin
|
net.sf.json.JSONObject |
getJSONPostProcessing() |
net.sf.json.JSONObject |
getJSONPreProcessing()
The json for the pre-processing directives.
|
String |
getName() |
List<String> |
getOmitList()
This is the list of claims from the headers to omit.
|
Object |
getProperty(String key) |
String |
getRawPostProcessor()
The parseable string for the post processor.
|
String |
getRawPreProcessor()
The parseable string for the preprocessor.
|
boolean |
hasJSONPostProcessing() |
boolean |
hasJSONPreProcessing() |
boolean |
isEnabled()
Enable this component.
|
boolean |
isFailOnError()
Fail if there is an error, i.e.
|
boolean |
isNotifyOnFail()
If this claim source has an error, notify the system administrators.
|
protected net.sf.json.JSONObject |
makeProcessor(String rawProcessor) |
void |
setEnabled(boolean enabled) |
void |
setFailOnError(boolean failOnError) |
void |
setId(String id) |
void |
setName(String name)
Human readable string that describes this configuration
|
void |
setNotifyOnFail(boolean notifyOnFail) |
void |
setOmitList(List<String> omitList) |
void |
setProperties(Map<String,Object> map)
Set a bunch of properties for this configuration object.
|
void |
setRawPostProcessor(String rawPostProcessor) |
void |
setRawPreProcessor(String rawPreProcessor) |
String |
toString() |
protected String name
protected String id
protected boolean failOnError
protected boolean notifyOnFail
protected boolean enabled
protected boolean jsonPreProcessorDone
protected boolean jsonPostProcessorDone
public String getId()
public void setId(String id)
public List<String> getOmitList()
public void setName(String name)
name
- public String getName()
public boolean isEnabled()
public void setEnabled(boolean enabled)
public boolean isFailOnError()
public void setFailOnError(boolean failOnError)
public boolean isNotifyOnFail()
public void setNotifyOnFail(boolean notifyOnFail)
public String getRawPostProcessor()
public void setRawPostProcessor(String rawPostProcessor)
public String getRawPreProcessor()
getRawPostProcessor()
.public void setRawPreProcessor(String rawPreProcessor)
public net.sf.json.JSONObject getJSONPostProcessing()
public boolean hasJSONPreProcessing()
public boolean hasJSONPostProcessing()
public net.sf.json.JSONObject getJSONPreProcessing()
protected net.sf.json.JSONObject makeProcessor(String rawProcessor)
public void setProperties(Map<String,Object> map)
map
- Copyright © 2019. All Rights Reserved.