Package com.ptc.core.rule.server.impl
Class GetDiscreteSetConstraint
java.lang.Object
com.ptc.core.rule.server.impl.GetDiscreteSetConstraint
- All Implemented Interfaces:
RuleAlgorithm
Input Parameter of the algorithm: The set value of "DiscreteSet" will be
passed into the algorithm through the input parameter.
The LifeCycleTemplate and TeamTemplate related information could be gotten
through the corresponding helper classes, instead of through the input parameters.
Examples could be:
TeamHelper.service.findCandidateTeamTemplates();
LifeCycleHelper.service.findCandidateTemplates(...);
Return value of the algorithm: The RuleConstraintWrapper object that
the string value contains DISCRETE_SET_CONSTRAINT and Serializable set to the
corresponding DiscreteSet object.
Supported API: true
Supported API: true
-
Method Summary
Modifier and TypeMethodDescriptioncalculate(Object[] args, WTContainerRef container) Execute the algorithm using the specified arguments.
-
Method Details
-
calculate
Execute the algorithm using the specified arguments. Return the result.
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
-