Package org.springframework.xd.dirt.core.DeploymentUnitStatus

Examples of org.springframework.xd.dirt.core.DeploymentUnitStatus.State


    }
  }

  private boolean waitForUndeploy(StreamDefinition definition) {
    streamDeployer.undeploy(definition.getName());
    State state = streamResourceStateVerifier.waitForUndeploy(definition.getName());
    return state.equals(State.undeployed);
  }
View Full Code Here


    return waitForDeploy(definition, EMPTY_PROPERTIES);
  }

  private boolean waitForDeploy(StreamDefinition definition, Map<String, String> properties) {
    streamDeployer.deploy(definition.getName(), properties);
    State state = streamStateVerifier().waitForDeploy(definition.getName());
    if (state.equals(State.deployed)) {
      return true;
    }
    return false;

  }
View Full Code Here

  }

  private boolean waitForDeploy(StreamDefinition definition, Map<String, String> properties, boolean allowIncomplete) {
    streamDeployer.deploy(definition.getName(), properties);
    State state = streamResourceStateVerifier.waitForDeploy(definition.getName(), allowIncomplete);
    if (allowIncomplete) {
      return state.equals(State.deployed) || state.equals(State.incomplete);
    }
    return state.equals(State.deployed);
  }
View Full Code Here

TOP

Related Classes of org.springframework.xd.dirt.core.DeploymentUnitStatus.State

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.