Package wt.generic.rule
Class VariantNameGenerator
java.lang.Object
wt.generic.rule.VariantNameGenerator
- All Implemented Interfaces:
RuleAlgorithm
An algorithm that generates a Name for the Variant created using the Configurable
(Generic) part name as it's prefix. This is a very specific implementation for
variant creation. The algorithm expects the prefix for the name to be in the
MethodContext.
This class should be strictly used for Object Initialization Rules
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptioncalculate(Object[] args, WTContainerRef container) Calculate the name of the next variant of the current configurable (generic) part.
-
Method Details
-
calculate
Calculate the name of the next variant of the current configurable (generic) part.
Supported API: true- Specified by:
calculatein interfaceRuleAlgorithm- Parameters:
args- the arguments for the algorithmcontainer- the container to use for object lookups- Returns:
- Object
- Throws:
WTException
-