/******************************************************************************* * (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.compiler.modeller.model; import io.cloudslang.lang.compiler.SlangTextualKeys; import io.cloudslang.lang.entities.bindings.Input; import io.cloudslang.lang.entities.bindings.Output; import io.cloudslang.lang.entities.bindings.Result; import java.io.Serializable; import java.util.List; import java.util.Map; import java.util.Set; /* * Created by orius123 on 09/11/14. */ public class Flow extends Executable { private final Workflow workflow; public Flow(Map<String, Serializable> preOpActionData, Map<String, Serializable> postOpActionData, Workflow workflow, String namespace, String name, List<Input> inputs, List<Output> outputs, List<Result> results, Set<String> executableDependencies, Set<String> systemPropertyDependencies) { super(preOpActionData, postOpActionData, namespace, name, inputs, outputs, results, executableDependencies, systemPropertyDependencies); this.workflow = workflow; } public Workflow getWorkflow() { return workflow; } @Override public String getType() { return SlangTextualKeys.FLOW_TYPE; } }