Methods inherited from class atst.cs.services.
AbstractServiceTool chainTool, doReset, doStartService, doStopService, getTool, killService, numActive, reset, sameAs, startService, stopService, unChainTool
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void healthChange(
Carry out any behavoir necessssary based on a, potential, change in
health. There is a change the oldHealth and oldHealth reflect the
same health. Both the old and new values are supplied so that a
service tool can carry out different behavoir if the health is
getting better vs getting worse.
tb - -- the toolbox of the component whose health is chaning.
This may be used to, among other things, obtain the current
cat - -- the health category that was supplied with the new health.
oldHealth - -- the previous health of this category, if there was one.
newHealth - -- the newly supplied health for this category.
protected abstract void doHealthChange(
tb - -- The toolbox for the entity settings its health
cat - -- The category of health being set
oldHealth - -- The previous health for this category.
newHealth - -- The new health for this category.