com.ibm.btt.channel
Class PolicyOperationStep
java.lang.Object
com.ibm.btt.base.OperationStep
com.ibm.btt.channel.AbstractPolicyOperationStep
com.ibm.btt.channel.PolicyOperationStep
- All Implemented Interfaces:
- OperationStepInterface
public class PolicyOperationStep
- extends AbstractPolicyOperationStep
BTT provided implementation of checking rule operation step.
It suppose that you use bean context as the data model. So you can use
input,output,result to describe the bean collection name defined in your
data.
Field Summary |
static java.lang.String |
INPUT
|
static java.lang.String |
OUTPUT
|
static java.lang.String |
RESULT
|
Method Summary |
protected java.util.Map<java.lang.String,java.lang.Object> |
getInputParameter()
Construct the input parameters using the data from the operation context
or getting from data store. |
protected int |
processResult(java.util.Map<java.lang.String,java.lang.Object> result)
Subclass override this method to process the result |
Methods inherited from class com.ibm.btt.base.OperationStep |
addElement, getApplicationId, getContext, getElementAt, getFormat, getFormats, getKeyedCollection, getName, getOperation, getParams, getParent, getService, getValueAt, postExecute, preExecute, removeAt, setApplicationId, setContext, setKeyedCollection, setName, setOperation, setParams, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INPUT
public static final java.lang.String INPUT
- See Also:
- Constant Field Values
OUTPUT
public static final java.lang.String OUTPUT
- See Also:
- Constant Field Values
RESULT
public static final java.lang.String RESULT
- See Also:
- Constant Field Values
PolicyOperationStep
public PolicyOperationStep()
getInputParameter
protected java.util.Map<java.lang.String,java.lang.Object> getInputParameter()
- Construct the input parameters using the data from the operation context
or getting from data store.
- Specified by:
getInputParameter
in class AbstractPolicyOperationStep
- Parameters:
inputParameters
- the JRules input parameters
processResult
protected int processResult(java.util.Map<java.lang.String,java.lang.Object> result)
- Subclass override this method to process the result
- Specified by:
processResult
in class AbstractPolicyOperationStep
- Parameters:
result
- RC_OK if the request is accepted or RC_ERROR if the request is
rejected.
(c) Copyright IBM Corporation 1998, 2010