Class AbstractOrderableValve
java.lang.Object
org.hippoecm.hst.container.valves.AbstractValve
org.hippoecm.hst.container.valves.AbstractOrderableValve
- All Implemented Interfaces:
OrderableValve
,Valve
AbstractOrderableValve
This abstract class determines the valve name and other attributes by reading the properties of OrderableValve
.
e.g., OrderableValve.getValveName()
, OrderableValve.getAfterValves()
, OrderableValve.getBeforeValves()
, etc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
Returns prerequisite valve names that should follow this valve.final String
Returns postrequisite valve names that should follow this valve.final String
Returns the valve name.final void
setAfterValves
(String afterValves) Sets prerequisite valve names that should follow this valve.final void
setBeforeValves
(String beforeValves) Sets postrequisite valve names that should follow this valve.final void
setValveName
(String valveName) Sets thevalveName
which can be used by other valves insetAfterValves(String)
orsetBeforeValves(String)
Methods inherited from class org.hippoecm.hst.container.valves.AbstractValve
destroy, initialize, invoke
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hippoecm.hst.core.container.Valve
destroy, initialize, invoke
-
Constructor Details
-
AbstractOrderableValve
public AbstractOrderableValve()
-
-
Method Details
-
getValveName
Description copied from interface:OrderableValve
Returns the valve name.- Specified by:
getValveName
in interfaceOrderableValve
- Returns:
- the valve name.
-
setValveName
Sets thevalveName
which can be used by other valves insetAfterValves(String)
orsetBeforeValves(String)
- Parameters:
valveName
- the name of the current valve
-
getBeforeValves
Description copied from interface:OrderableValve
Returns postrequisite valve names that should follow this valve. The return can have multiple valve names, separated by ' ', ',', '\t', '\r' or '\n'- Specified by:
getBeforeValves
in interfaceOrderableValve
- Returns:
- postrequisite valve names that should follow this valve.
-
setBeforeValves
Sets postrequisite valve names that should follow this valve. ThebeforeValves
can have multiple valve names, separated by ' ', ',', '\t', '\r' or '\n'- Parameters:
beforeValves
- thebeforeValves
for thisAbstractOrderableValve
. It can have multiple valve names, separated by ' ', ',', '\t', '\r' or '\n'
-
getAfterValves
Description copied from interface:OrderableValve
Returns prerequisite valve names that should follow this valve. The return can have multiple valve names, separated by ' ', ',', '\t', '\r' or '\n'- Specified by:
getAfterValves
in interfaceOrderableValve
- Returns:
- prerequisite valve names that should follow this valve.
-
setAfterValves
Sets prerequisite valve names that should follow this valve. Theafter
can have multiple valve names, separated by ' ', ',', '\t', '\r' or '\n'- Parameters:
afterValves
- theafterValves
for thisAbstractOrderableValve
. It can have multiple valve names, separated by ' ', ',', '\t', '\r' or '\n'
-