public class SetPropertyRule extends AbstractSequencerRule
cleanAfterGet, localNVU
loggerName, postMethods, preMethods, sessionRef
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
SetPropertyRule() |
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()
The terminate method reset the class variables.
|
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
getValue
in interface RuleIF
getValue
in class AbstractSequencerRule
RuleException
RuleIF.getValue()
public void init() throws InitializationFailedException
AbstractImplementation
init
in interface ImplementationIF
init
in class AbstractSequencerRule
InitializationFailedException
- if the initialization fails.public void terminate() throws TerminationException
AbstractSequencerRule
terminate
in interface ExecutableIF
terminate
in class AbstractSequencerRule
TerminationException
- if termination fails.AbstractRule.terminate()