Search in sources :

Example 11 with ServiceGraph

use of org.opentosca.toscana.core.parse.model.ServiceGraph in project TOSCAna by StuPro-TOSCAna.

the class Parameter method setValue.

@Override
public void setValue(String value) {
    set(VALUE, value);
    // in case all required inputs are set, finalize the ServiceGraph
    ServiceGraph graph = getBackingEntity().getGraph();
    if (graph.inputsValid()) {
        graph.finalizeGraph();
    }
}
Also used : ServiceGraph(org.opentosca.toscana.core.parse.model.ServiceGraph)

Aggregations

ServiceGraph (org.opentosca.toscana.core.parse.model.ServiceGraph)11 MappingEntity (org.opentosca.toscana.core.parse.model.MappingEntity)9 ScalarEntity (org.opentosca.toscana.core.parse.model.ScalarEntity)7 Entity (org.opentosca.toscana.core.parse.model.Entity)5 Test (org.junit.Test)4 BaseUnitTest (org.opentosca.toscana.core.BaseUnitTest)4 EntityId (org.opentosca.toscana.model.EntityId)2 Artifact (org.opentosca.toscana.model.artifact.Artifact)2 Before (org.junit.Before)1 BeforeClass (org.junit.BeforeClass)1 ToscaTemplateException (org.opentosca.toscana.core.parse.ToscaTemplateException)1 BaseToscaElement (org.opentosca.toscana.model.BaseToscaElement)1 WebApplication (org.opentosca.toscana.model.node.WebApplication)1 Operation (org.opentosca.toscana.model.operation.Operation)1