public class ConfirmationCallback extends LabelCallback
Modifier and Type | Class and Description |
---|---|
static class |
ConfirmationCallback.ConfirmationType |
Modifier and Type | Field and Description |
---|---|
static String |
PROP_VALUE |
static String |
TYPE |
DEFAULT_TIMEOUT, ORDER_COMPARATOR
Constructor and Description |
---|
ConfirmationCallback() |
ConfirmationCallback(ConfirmationCallback.ConfirmationType type,
String label,
int order) |
Modifier and Type | Method and Description |
---|---|
ConfirmationCallback.ConfirmationType |
getConfirmationType() |
String |
getType() |
Boolean |
getValue() |
protected void |
injectRequestAttributes(Map<String,String> request) |
protected void |
injectResponseAttributes(Map<String,String> result)
Inject values for the response message
|
void |
parseRequestAttributes(Map<String,String> attributes) |
void |
parseResponseAttributes(Map<String,String> attributes) |
void |
setConfirmationType(ConfirmationCallback.ConfirmationType confirmationType) |
void |
setValue(Boolean value) |
getLabel
buildRequestAttributes, buildResponseAttributes, cancel, getOrder, isCanceled, parseInteger
public static final String TYPE
public static final String PROP_VALUE
public ConfirmationCallback()
public ConfirmationCallback(ConfirmationCallback.ConfirmationType type, String label, int order)
public ConfirmationCallback.ConfirmationType getConfirmationType()
public void setConfirmationType(ConfirmationCallback.ConfirmationType confirmationType)
public void setValue(Boolean value)
public Boolean getValue()
public String getType()
public void parseRequestAttributes(Map<String,String> attributes)
parseRequestAttributes
in interface Callback
parseRequestAttributes
in class LabelCallback
protected void injectRequestAttributes(Map<String,String> request)
injectRequestAttributes
in class LabelCallback
public void parseResponseAttributes(Map<String,String> attributes)
parseResponseAttributes
in interface Callback
parseResponseAttributes
in class AbstractCallback
protected void injectResponseAttributes(Map<String,String> result)
AbstractCallback
Only non-null values and keys may be inserted!
injectResponseAttributes
in class AbstractCallback
result
- the result map which should be filledCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.