class Result {

    public static Result unhealthy(ComponentName componentName, String cause) {
        return new Result(componentName, ResultStatus.UNHEALTHY, Optional.of(cause), Optional.empty());
    }

    private  Result(ComponentName componentName, ResultStatus status, Optional<String> cause, Optional<Throwable> error);

}