Package org.kuali.rice.kew.api.rule
Class RuleDelegation.Builder
java.lang.Object
org.kuali.rice.kew.api.rule.RuleDelegation.Builder
- All Implemented Interfaces:
Serializable,ModelBuilder,RuleDelegationContract
- Enclosing class:
- RuleDelegation
public static final class RuleDelegation.Builder
extends Object
implements Serializable, ModelBuilder, RuleDelegationContract
A builder which can be used to construct
RuleDelegation instances. Enforces the constraints of the RuleDelegationContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static RuleDelegation.Buildercreate()static RuleDelegation.Buildercreate(RuleDelegationContract contract) rule associated with the RuleDelegationtype of delegation for the RuleDelegationvoidsetDelegationRule(Rule.Builder delegationRule) voidsetDelegationType(DelegationType delegationType)
-
Method Details
-
create
-
create
-
build
- Specified by:
buildin interfaceModelBuilder
-
getDelegationType
Description copied from interface:RuleDelegationContracttype of delegation for the RuleDelegationDetermines what kind of delegation the RuleDelegation is
- Specified by:
getDelegationTypein interfaceRuleDelegationContract- Returns:
- delegationType
-
getDelegationRule
Description copied from interface:RuleDelegationContractrule associated with the RuleDelegationThis rule is run for the original rule as the delegate
- Specified by:
getDelegationRulein interfaceRuleDelegationContract- Returns:
- delegationRule
-
setDelegationType
-
setDelegationRule
-