Search in sources :

Example 1 with XTParameter

use of org.eclipse.winery.model.tosca.xml.XTParameter in project winery by eclipse.

the class Visitor method visit.

public void visit(XTPlan plan) {
    Objects.requireNonNull(plan);
    visit((XTExtensibleElements) plan);
    final XTCondition precondition = plan.getPrecondition();
    if (precondition != null) {
        precondition.accept(this);
    }
    final List<XTParameter> inputParameters = plan.getInputParameters();
    if (inputParameters != null) {
        for (XTParameter parameter : inputParameters) {
            parameter.accept(this);
        }
    }
    List<XTParameter> outputParameters = plan.getOutputParameters();
    if (outputParameters != null) {
        for (XTParameter parameter : outputParameters) {
            parameter.accept(this);
        }
    }
}
Also used : XTParameter(org.eclipse.winery.model.tosca.xml.XTParameter) XTCondition(org.eclipse.winery.model.tosca.xml.XTCondition)

Aggregations

XTCondition (org.eclipse.winery.model.tosca.xml.XTCondition)1 XTParameter (org.eclipse.winery.model.tosca.xml.XTParameter)1