public interface MonitoredParameterIf
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRAINT_TYPE_LOV |
static int |
CONSTRAINT_TYPE_NUMBER |
static int |
RULE_CHECK_ERROR |
static int |
RULE_CHECK_TRIGGER_ACTIVATED |
static int |
RULE_CHECK_TRIGGER_NOT_ACTIVATED |
Modifier and Type | Method and Description |
---|---|
int |
checkTrigger(java.lang.StringBuffer messageBuf,
int contextType,
java.lang.String objects,
java.lang.String param,
java.lang.String op,
java.lang.String values)
Basically you want to execute op(objects, values), so apply the operation against objects and values
and decide whether or not the trigger should be activated or not.
|
java.lang.String |
getApplicableCloudType() |
int |
getApplicableContextType()
Return the same integer you used in MonitoredContextIf.getContextType() you want to pair with.
|
java.lang.String |
getParamLabel()
Returns a string to display to the user describing this parameter.
|
java.lang.String |
getParamName()
Returns a string to uniquely identify this parameter.
|
FormLOVPair[] |
getSupportedOps()
Returns an array of name-value pairs that describes the operations that can be applied against
this parameter type.
|
int |
getValueConstraintType() |
FormLOVPair[] |
getValueLOVs()
Returns an array of name-value pairs that describes the values that can be applied to the supported
operations.
|
static final int CONSTRAINT_TYPE_NUMBER
static final int CONSTRAINT_TYPE_LOV
static final int RULE_CHECK_ERROR
static final int RULE_CHECK_TRIGGER_NOT_ACTIVATED
static final int RULE_CHECK_TRIGGER_ACTIVATED
java.lang.String getParamLabel()
java.lang.String getParamName()
FormLOVPair[] getSupportedOps()
int getValueConstraintType()
FormLOVPair[] getValueLOVs()
int getApplicableContextType()
java.lang.String getApplicableCloudType()
int checkTrigger(java.lang.StringBuffer messageBuf, int contextType, java.lang.String objects, java.lang.String param, java.lang.String op, java.lang.String values)
messageBuf
- For logging purposes, append any additional information you find useful here.contextType
- Technically speaking, useless, you already know the context type of this parameter
as you must have defined it while developing this.objects
- This string will be the value selected by the user coming from MonitoredContextIf.getPossibleLOVs().param
- Technically speaking, useless, this is what you specified in getParamName().op
- This string will be the operation the user selected coming from getSupportedOps().values
- This string will the value the user selected coming from getValueLOVs().