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, localNVU
loggerName, postMethods, preMethods, sessionRef
arguments, 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, terminate
execute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, toString, toString, toString
addAttributesToNameValueUnitArray, 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, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContext, getDescriptor, setContext, setDescriptor
protected 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 ImplementationIF
init
in class AbstractSequencerRule
InitializationFailedException
- if the initialization fails.public void setArguments(java.util.Properties args) throws InvalidArgumentException
setArguments
in interface ImplementationIF
setArguments
in class AbstractImplementation
args
- the property mapInvalidArgumentException
- if the arguments are not valid.public void execute() throws ExecutableException
execute
in interface ExecutableIF
execute
in class AbstractSequencerRule
ExecutableException
- if execution fails.AbstractRule.execute()
public void setValue(NameValueUnit[][] nvuArr)
nvu
- The name value of the rule.