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()
ModelBuilder
build
in interface ModelBuilder
public DelegationType getDelegationType()
RuleDelegationContract
Determines what kind of delegation the RuleDelegation is
getDelegationType
in interface RuleDelegationContract
public Rule.Builder getDelegationRule()
RuleDelegationContract
This rule is run for the original rule as the delegate
getDelegationRule
in interface RuleDelegationContract
public void setDelegationType(DelegationType delegationType)
public void setDelegationRule(Rule.Builder delegationRule)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.