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) |
getLabelbuildRequestAttributes, buildResponseAttributes, cancel, getOrder, isCanceled, parseIntegerpublic 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 CallbackparseRequestAttributes in class LabelCallbackprotected void injectRequestAttributes(Map<String,String> request)
injectRequestAttributes in class LabelCallbackpublic void parseResponseAttributes(Map<String,String> attributes)
parseResponseAttributes in interface CallbackparseResponseAttributes in class AbstractCallbackprotected void injectResponseAttributes(Map<String,String> result)
AbstractCallbackOnly non-null values and keys may be inserted!
injectResponseAttributes in class AbstractCallbackresult - the result map which should be filledCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.