class BaseSaltJobRunner implements SaltJobRunner {

    public Set<String> collectSucceededNodes(ApplyResponse applyResponse) {
        Set<String> set = new HashSet<>();
        for (Map<String, JsonNode> stringObjectMap : applyResponse.getResult()) {
            set.addAll(new ArrayList<>(stringObjectMap.keySet()));
        }
        return set;
    }

    protected  BaseSaltJobRunner(Set<String> targetHostnames, Set<Node> allNode);

}