public class PhaseRule
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
PhaseRule()
Constructor PhaseRule.
|
PhaseRule(java.lang.String phaseName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAfter()
Method getAfter.
|
java.lang.String |
getBefore()
Method getBefore.
|
java.lang.String |
getPhaseName()
Method getPhaseName.
|
boolean |
isPhaseFirst()
Method isPhaseFirst.
|
boolean |
isPhaseLast()
Method isPhaseLast.
|
void |
setAfter(java.lang.String after)
Set the "after" name for this rule.
|
void |
setBefore(java.lang.String before)
Set the "before" name for this rule.
|
void |
setPhaseFirst(boolean phaseFirst)
Method setPhaseFirst.
|
void |
setPhaseLast(boolean phaseLast)
Method setPhaseLast.
|
void |
setPhaseName(java.lang.String phaseName)
Method setPhaseName.
|
void |
validate()
Validate "sane" rules - cannot have both phaseFirst/phaseLast and before/after
|
public PhaseRule()
public PhaseRule(java.lang.String phaseName)
public java.lang.String getAfter()
public java.lang.String getBefore()
public java.lang.String getPhaseName()
public boolean isPhaseFirst()
public boolean isPhaseLast()
public void setAfter(java.lang.String after)
after - the name of the "after" handlerpublic void setBefore(java.lang.String before)
before - the name of the "before" handlerpublic void setPhaseFirst(boolean phaseFirst)
phaseFirst - true if this rule defines the first Handler in a Phasepublic void setPhaseLast(boolean phaseLast)
phaseLast - true if this rule defines the last Handler in a Phasepublic void setPhaseName(java.lang.String phaseName)
phaseName - the name of the Phasepublic void validate()
throws PhaseException
PhaseException - if phaseFirst/phaseLast is set along with before/afterCopyright © 2004-2024 The Apache Software Foundation. All Rights Reserved.