public abstract class AbstractOrderableValve extends AbstractValve implements OrderableValve
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 and Description |
---|
AbstractOrderableValve() |
Modifier and Type | Method and Description |
---|---|
String |
getAfterValves()
Returns prerequisite valve names that should follow this valve.
|
String |
getBeforeValves()
Returns postrequisite valve names that should follow this valve.
|
String |
getValveName()
Returns the valve name.
|
void |
setAfterValves(String afterValves)
Sets prerequisite valve names that should follow this valve.
|
void |
setBeforeValves(String beforeValves)
Sets postrequisite valve names that should follow this valve.
|
void |
setValveName(String valveName)
Sets the
valveName which can be used by other valves in setAfterValves(String) or
setBeforeValves(String) |
destroy, initialize, invoke
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, initialize, invoke
public final String getValveName()
OrderableValve
getValveName
in interface OrderableValve
public final void setValveName(String valveName)
valveName
which can be used by other valves in setAfterValves(String)
or
setBeforeValves(String)
valveName
- the name of the current valvepublic final String getBeforeValves()
OrderableValve
getBeforeValves
in interface OrderableValve
public final void setBeforeValves(String beforeValves)
beforeValves
can have multiple valve names, separated by ' ', ',', '\t', '\r' or '\n'beforeValves
- the beforeValves
for this AbstractOrderableValve
. It can have multiple valve names, separated by ' ', ',', '\t', '\r' or '\n'public final String getAfterValves()
OrderableValve
getAfterValves
in interface OrderableValve
public final void setAfterValves(String afterValves)
after
can have multiple valve names, separated by ' ', ',', '\t', '\r' or '\n'afterValves
- the afterValves
for this AbstractOrderableValve
. It can have multiple valve names, separated by ' ', ',', '\t', '\r' or '\n'Copyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.