use of org.kie.server.api.model.KieContainerStatus in project kie-wb-common by kiegroup.
the class BuildExecutor method makeContainerSpec.
private ContainerSpec makeContainerSpec(final String containerId, final String containerAlias, final ServerTemplate serverTemplate, final Map<String, String> parameters) {
final ReleaseId releaseId = makeReleaseId();
final KieContainerStatus status = KieContainerStatus.STOPPED;
final ServerTemplateKey serverTemplateKey = new ServerTemplateKey(serverTemplate.getId(), serverTemplate.getId());
return new ContainerSpec(containerId, containerAlias, serverTemplateKey, releaseId, status, makeConfigs(serverTemplate, parameters));
}
Aggregations