1 | package de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures.builder; |
2 | |
3 | import org.opt4j.core.Objective; |
4 | import org.opt4j.core.Objective.Sign; |
5 | |
6 | import de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures.EntryLevelSystemCallObjective; |
7 | import de.uka.ipd.sdq.pcm.usagemodel.EntryLevelSystemCall; |
8 | |
9 | public class EntryLevelSystemCallObjectiveBuilder extends ObjectiveBuilder{ |
10 | |
11 | private EntryLevelSystemCall entryLevelSystemCall; |
12 | |
13 | public EntryLevelSystemCallObjectiveBuilder( |
14 | EntryLevelSystemCall entryLevelSystemCall) { |
15 | this.entryLevelSystemCall = entryLevelSystemCall; |
16 | } |
17 | |
18 | @Override |
19 | public Objective createObjective(String name, Sign sign) { |
20 | return new EntryLevelSystemCallObjective(name+"_"+this.entryLevelSystemCall.getId(), sign, this.entryLevelSystemCall); |
21 | } |
22 | |
23 | } |