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 StringgetDeployableName()longgetTimeout()voidmonitor()Check the deployment status of the associatedDeployableand tell the registeredDeployableMonitorListenerabout the status.voidregisterListener(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 associatedDeployableand tell the registeredDeployableMonitorListenerabout the status.
-
getTimeout
long getTimeout()
- Returns:
- the timeout after which we stop monitoring the
Deployable
-
-