|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.api.rule.RuleDelegation.Builder
public static final class RuleDelegation.Builder
A builder which can be used to construct RuleDelegation
instances. Enforces the constraints of the RuleDelegationContract
.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |