All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liveperson.ephemerals.deploy.wait.DeploymentEndpointWaiter Maven / Gradle / Ivy

There is a newer version: 1.0.0.7
Show newest version
package com.liveperson.ephemerals.deploy.wait;

import com.liveperson.ephemerals.deploy.Deployment;
import com.liveperson.ephemerals.deploy.DeploymentEndpoints;

/**
 * Created by waseemh on 9/16/16.
 */
public abstract class DeploymentEndpointWaiter extends Waiter {

    protected Deployment deployment;

    public DeploymentEndpointWaiter(Deployment deployment ) {
        this.deployment = deployment;
    }

    protected abstract DeploymentEndpoints.Endpoint getDeploymentEndpoint();

    @Override
    protected boolean isConditionMet() {
        DeploymentEndpoints.Endpoint endpoint = getDeploymentEndpoint();
        return endpoint!=null;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy