public static final class RuleDelegation.Builder extends Object implements Serializable, ModelBuilder, RuleDelegationContract
RuleDelegation instances. Enforces the constraints of the RuleDelegationContract.| Modifier and Type | Method and Description |
|---|---|
RuleDelegation |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static RuleDelegation.Builder |
create() |
static RuleDelegation.Builder |
create(RuleDelegationContract contract) |
Rule.Builder |
getDelegationRule()
rule associated with the RuleDelegation
|
DelegationType |
getDelegationType()
type of delegation for the RuleDelegation
|
void |
setDelegationRule(Rule.Builder delegationRule) |
void |
setDelegationType(DelegationType delegationType) |
public static RuleDelegation.Builder create()
public static RuleDelegation.Builder create(RuleDelegationContract contract)
public RuleDelegation build()
ModelBuilderbuild in interface ModelBuilderpublic DelegationType getDelegationType()
RuleDelegationContractDetermines what kind of delegation the RuleDelegation is
getDelegationType in interface RuleDelegationContractpublic Rule.Builder getDelegationRule()
RuleDelegationContractThis rule is run for the original rule as the delegate
getDelegationRule in interface RuleDelegationContractpublic void setDelegationType(DelegationType delegationType)
public void setDelegationRule(Rule.Builder delegationRule)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.