Class UrlPathDeployableMonitor

  • All Implemented Interfaces:
    DeployableMonitor, Loggable

    public class UrlPathDeployableMonitor
    extends AbstractDeployableMonitor
    Monitor that verifies if a Deployable is deployed by pinging a URL constructed from URL path (provided by the user) and other parameters provided by container configuration.
    • Constructor Detail

      • UrlPathDeployableMonitor

        public UrlPathDeployableMonitor​(Configuration configuration,
                                        String pingUrlPath)
        Parameters:
        configuration - container configuration
        pingUrlPath - the URL path to be pinged and which will tell when the Deployable is deployed
      • UrlPathDeployableMonitor

        public UrlPathDeployableMonitor​(Configuration configuration,
                                        String pingUrlPath,
                                        long timeout)
        Parameters:
        configuration - container configuration
        pingUrlPath - the URL path to be pinged and which will tell when the Deployable is deployed
        timeout - the timeout after which we stop monitoring the deployment
    • Method Detail

      • getDeployableName

        public String getDeployableName()
        Returns:
        a string identifying the deployable that is monitored