public class PropertyAttributeRule extends AbstractRule
loggerName, postMethods, preMethods, sessionRef
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
PropertyAttributeRule() |
Modifier and Type | Method and Description |
---|---|
NameValueUnit[][] |
getValue()
Read the property and make a data set of it with the attribute name
|
void |
init()
Initialize the work.
|
void |
setValue(NameValueUnit[][] nvu)
Search for the attribute and store the first occurrence in the
context with the property name.
|
void |
terminate()
Terminate the execution.
|
execute, 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, setArguments, setContext, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
public void setValue(NameValueUnit[][] nvu) throws RuleException
nvu
- The name value of the rule.RuleException
public NameValueUnit[][] getValue() throws RuleException
RuleException
RuleIF.setValue(NameValueUnit[][] nvu)
public void init() throws InitializationFailedException
AbstractImplementation
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
- if the initialization fails.public void terminate() throws TerminationException
AbstractRule
terminate
in interface ExecutableIF
terminate
in class AbstractRule
TerminationException
- if termination fails.