Package org.springframework.xd.rest.domain

Examples of org.springframework.xd.rest.domain.RESTDeploymentState


  }

  @Override
  protected ModuleMetadataResource instantiateResource(ModuleMetadata entity) {
    String moduleType = (entity.getModuleType() != null) ? entity.getModuleType().name() : null;
    RESTDeploymentState deploymentStatus = (entity.getDeploymentStatus() != null) ? RESTDeploymentState.valueOf(entity.getDeploymentStatus().name())
        : null;
    return new ModuleMetadataResource(entity.getQualifiedId(), entity.getName(), entity.getUnitName(),
        RESTModuleType.valueOf(moduleType), entity.getContainerId(), entity.getModuleOptions(),
        entity.getDeploymentProperties(), deploymentStatus);
  }
View Full Code Here

TOP

Related Classes of org.springframework.xd.rest.domain.RESTDeploymentState

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.