@Singleton @Configurable public class PhpAction extends AbstractHealthAction
<health:PhpAction>
<path>${resin.root}/php/test.php</path>
<health:OnStart/>
</health:PhpAction>
Constructor and Description |
---|
PhpAction() |
Modifier and Type | Method and Description |
---|---|
HealthActionResult |
doActionImpl(HealthEvent healthEvent) |
Path |
getPath() |
void |
init() |
void |
setPath(Path path) |
add, addListener, doAction, getPredicates, start, stop, toString
public Path getPath()
@Configurable public void setPath(Path path)
@PostConstruct public void init()
init
in class AbstractHealthAction
public HealthActionResult doActionImpl(HealthEvent healthEvent) throws java.lang.Exception
doActionImpl
in class AbstractHealthAction
java.lang.Exception