public class StatusRule extends AbstractSequencerRule
| Argument Keyword | Datatype | Default | Description |
|---|---|---|---|
| Status | String | OK | The mandatory status word to be set.
This word should be defined by the com.highqsoft.xsd.Status enumeration.
|
| Message | String | none | The status message to be used. |
| Reference | String | none | The optional name of the reference to be used as status message. The Property arguments has a higher priority. |
| Property | String | none | The optional name of the property to be used as status message. The Message arguments has a higher priority. |
AbstractRule| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
message |
protected java.lang.String |
property |
protected java.lang.String |
reference |
protected java.lang.String |
status |
protected Status |
statusValue |
cleanAfterGet, localNVUloggerName, postMethods, preMethods, sessionRefarguments, ctx, descriptor, NEW_LINE| Constructor and Description |
|---|
StatusRule()
Create an literal rule.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
The execute method.
|
void |
init()
Initialize the work.
|
void |
setArguments(java.util.Properties args)
Set the arguments.
|
void |
setValue(NameValueUnit[][] nvuArr)
Set the named value to rule.
|
getValue, terminateexecute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, toString, toString, toStringaddAttributesToNameValueUnitArray, addAttributeToNameValueUnitArray, addStringValueToNameValueUnitArray, checkDirectoy, checkDirectoy, checkDirectoy, checkFile, checkFile, checkFile, checkIntValue, checkStringValue, compressNvuArray, createMessageFromPropertyFile, createMessageFromPropertyFile, createMessageFromPropertyFile, createTsUnionFromObject, deleteRowWithAttributes, getArguments, getContext, getDescriptor, getListFromProperty, getMandatoryProperty, getMandatoryProperty, getMandatoryPropertyAsInt, getMandatoryPropertyAsList, getMandatoryPropertyWithRuleException, getNvuArrayFromMap, getNvuArrayFromMap, getNvuObjectWithName, getNvuObjectWithName, getNvuObjectWithName, getOdsCacheFromProperty, getOptioanlPropertyAsInt, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsList, makeUpperCaseKeyword, removeAttributeFromNameValueUnitArray, removeAttributeFromNameValueUnitArray, setContext, setDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContext, getDescriptor, setContext, setDescriptorprotected java.lang.String status
protected Status statusValue
protected java.lang.String message
protected java.lang.String reference
protected java.lang.String property
public void init()
throws InitializationFailedException
init in interface ImplementationIFinit in class AbstractSequencerRuleInitializationFailedException - if the initialization fails.public void setArguments(java.util.Properties args)
throws InvalidArgumentException
setArguments in interface ImplementationIFsetArguments in class AbstractImplementationargs - the property mapInvalidArgumentException - if the arguments are not valid.public void execute()
throws ExecutableException
execute in interface ExecutableIFexecute in class AbstractSequencerRuleExecutableException - if execution fails.AbstractRule.execute()public void setValue(NameValueUnit[][] nvuArr)
nvu - The name value of the rule.