public class MeasurementDescriptorRule extends AbstractRule
RuleIF
loggerName, postMethods, preMethods, sessionRef
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
MeasurementDescriptorRule()
Create an abstract rule.
|
Modifier and Type | Method and Description |
---|---|
protected void |
createFromDescriptorArray(java.util.Vector<NameValueUnit> vec,
DescriptorIF[] descs,
java.lang.String pattern,
java.lang.String name) |
protected void |
createFromParameterSets(java.util.Vector<NameValueUnit> vec,
ParameterSetDescriptorIF[] pSets,
java.lang.String psPat,
java.lang.String pPat,
java.lang.String name) |
protected NameValueUnit |
createNVU(DescriptorIF desc,
java.lang.String attrName) |
protected NameValueUnit |
createNVU(DescriptorIF desc,
java.lang.String attrName,
java.lang.String elemName,
java.lang.String pattern) |
NameValueUnit[][] |
getValue()
Get the named value from rule.
|
void |
init()
Initialize the work.
|
protected void |
setToArray(DescriptorIF[] arr,
java.lang.String name,
java.lang.String value) |
protected void |
setToParameterArray(ParameterSetDescriptorIF[] arr,
java.lang.String name,
java.lang.String value) |
void |
setValue(NameValueUnit[][] nvuArr)
Set the named value to rule.
|
protected java.lang.String |
toString(AoException aoe) |
execute, execute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, terminate, 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 MeasurementDescriptorRule()
public void init() throws InitializationFailedException
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
- if the initialization fails.public NameValueUnit[][] getValue()
RuleIF.setValue(NameValueUnit[][] nvu)
protected NameValueUnit createNVU(DescriptorIF desc, java.lang.String attrName)
protected NameValueUnit createNVU(DescriptorIF desc, java.lang.String attrName, java.lang.String elemName, java.lang.String pattern)
protected void createFromParameterSets(java.util.Vector<NameValueUnit> vec, ParameterSetDescriptorIF[] pSets, java.lang.String psPat, java.lang.String pPat, java.lang.String name)
protected void createFromDescriptorArray(java.util.Vector<NameValueUnit> vec, DescriptorIF[] descs, java.lang.String pattern, java.lang.String name)
public void setValue(NameValueUnit[][] nvuArr)
nvuIT
- The name value of the rule.protected void setToArray(DescriptorIF[] arr, java.lang.String name, java.lang.String value)
protected void setToParameterArray(ParameterSetDescriptorIF[] arr, java.lang.String name, java.lang.String value)
protected java.lang.String toString(AoException aoe)