Search in sources :

Example 1 with TCondition

use of org.eclipse.winery.model.tosca.TCondition in project winery by eclipse.

the class Visitor method visit.

public void visit(TPlan plan) {
    Objects.requireNonNull(plan);
    visit((TExtensibleElements) plan);
    final TCondition precondition = plan.getPrecondition();
    if (precondition != null) {
        precondition.accept(this);
    }
    if (plan.getInputParameters() != null) {
        for (TParameter parameter : plan.getInputParameters()) {
            parameter.accept(this);
        }
    }
    if (plan.getOutputParameters() != null) {
        for (TParameter parameter : plan.getOutputParameters()) {
            parameter.accept(this);
        }
    }
}
Also used : TCondition(org.eclipse.winery.model.tosca.TCondition) TParameter(org.eclipse.winery.model.tosca.TParameter)

Aggregations

TCondition (org.eclipse.winery.model.tosca.TCondition)1 TParameter (org.eclipse.winery.model.tosca.TParameter)1