Interface DeployableMonitor
-
- All Superinterfaces:
Loggable
- All Known Implementing Classes:
AbstractDeployableMonitor
,URLDeployableMonitor
,UrlPathDeployableMonitor
public interface DeployableMonitor extends Loggable
Monitor the deployment status of aDeployable
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDeployableName()
long
getTimeout()
void
monitor()
Check the deployment status of the associatedDeployable
and tell the registeredDeployableMonitorListener
about the status.void
registerListener(DeployableMonitorListener listener)
Register a listener that we will warn about the deployment status of the associatedDeployable
.
-
-
-
Method Detail
-
getDeployableName
String getDeployableName()
- Returns:
- a string identifying the deployable that is monitored
-
registerListener
void registerListener(DeployableMonitorListener listener)
Register a listener that we will warn about the deployment status of the associatedDeployable
.- Parameters:
listener
- the listener to register
-
monitor
void monitor()
Check the deployment status of the associatedDeployable
and tell the registeredDeployableMonitorListener
about the status.
-
getTimeout
long getTimeout()
- Returns:
- the timeout after which we stop monitoring the
Deployable
-
-