class ClouderaManagerClusterStatusService implements ClusterStatusService {

    @Override
    public ClusterStatusResult getStatus(boolean blueprintPresent) {
        if (!isClusterManagerRunning()) {
            return ClusterStatusResult.of(ClusterStatus.CLUSTERMANAGER_NOT_RUNNING);
        } else if (blueprintPresent) {
            return determineClusterStatus(stack);
        } else {
            return ClusterStatusResult.of(ClusterStatus.CLUSTERMANAGER_RUNNING);
        }
    }

      ClouderaManagerClusterStatusService(Stack stack, HttpClientConfig clientConfig);

}