Class AssignmentContext
- java.lang.Object
-
- edu.kit.ipd.sdq.dataflow.systemmodel.AssignmentContext
-
@Accessors public class AssignmentContext extends Object
Container for properties that influence the generation of an individual VariableAssignment. This properties are used to resolve references made in the contained LogicTerm.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AssignmentContext.PredicateArgumentsProvider
Functional interface used to define the left side of generated rules.
-
Constructor Summary
Constructors Constructor Description AssignmentContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssignmentContext
copy()
Caller
getCurrentOperation()
AssignmentContext.PredicateArgumentsProvider
getPredicateArguments()
String
getPredicateName()
Optional<OperationCall>
getPreviousCall()
void
setCurrentOperation(Caller currentOperation)
void
setPredicateArguments(AssignmentContext.PredicateArgumentsProvider predicateArguments)
void
setPredicateName(String predicateName)
void
setPreviousCall(Optional<OperationCall> previousCall)
-
-
-
Method Detail
-
copy
public AssignmentContext copy()
-
getPredicateName
@Pure public String getPredicateName()
-
setPredicateName
public void setPredicateName(String predicateName)
-
getPredicateArguments
@Pure public AssignmentContext.PredicateArgumentsProvider getPredicateArguments()
-
setPredicateArguments
public void setPredicateArguments(AssignmentContext.PredicateArgumentsProvider predicateArguments)
-
getCurrentOperation
@Pure public Caller getCurrentOperation()
-
setCurrentOperation
public void setCurrentOperation(Caller currentOperation)
-
getPreviousCall
@Pure public Optional<OperationCall> getPreviousCall()
-
setPreviousCall
public void setPreviousCall(Optional<OperationCall> previousCall)
-
-