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,org.kuali.rice.core.api.mo.ModelBuilder,RuleDelegationContract
- Enclosing class:
RuleDelegation
public static final class RuleDelegation.Builder
extends Object
implements Serializable, org.kuali.rice.core.api.mo.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 RuleDelegationorg.kuali.rice.core.api.delegation.DelegationTypetype of delegation for the RuleDelegationvoidsetDelegationRule(Rule.Builder delegationRule) voidsetDelegationType(org.kuali.rice.core.api.delegation.DelegationType delegationType)
-
Method Details
-
create
-
create
-
build
- Specified by:
buildin interfaceorg.kuali.rice.core.api.mo.ModelBuilder
-
getDelegationType
public org.kuali.rice.core.api.delegation.DelegationType 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
public void setDelegationType(org.kuali.rice.core.api.delegation.DelegationType delegationType) -
setDelegationRule
-