CloudSlang/cloud-slang

View on GitHub
cloudslang-tests/src/main/java/io/cloudslang/lang/systemtests/RuntimeInformation.java

Summary

Maintainability
A
1 hr
Test Coverage
/*******************************************************************************
 * (c) Copyright 2016 Hewlett-Packard Development Company, L.P.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Apache License v2.0 which accompany this distribution.
 *
 * The Apache License is available at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 *******************************************************************************/
package io.cloudslang.lang.systemtests;

import java.util.List;
import java.util.Map;

/**
 * Date: 4/8/2015
 *
 * @author Bonczidai Levente
 */
public class RuntimeInformation {
    private final Map<String, StepData> steps;
    private final Map<String, List<StepData>> branchesByPath;
    private final Map<String, StepData> parallelSteps;

    public RuntimeInformation(Map<String, StepData> steps, Map<String, List<StepData>> branchesByPath,
                              Map<String, StepData> parallelSteps) {
        this.steps = steps;
        this.branchesByPath = branchesByPath;
        this.parallelSteps = parallelSteps;
    }

    public Map<String, StepData> getSteps() {
        return steps;
    }

    public Map<String, List<StepData>> getBranchesByPath() {
        return branchesByPath;
    }

    public Map<String, StepData> getParallelSteps() {
        return parallelSteps;
    }
}