Class SaveRequestResolvingContext
java.lang.Object
org.qubership.atp.itf.lite.backend.model.context.SaveRequestResolvingContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollect fields class to scope.Collect fields class to scope with prefix.voidparseAndClassifyContextVariables(List<ContextVariable> contextVariables) Add context by classify.parseScope(Map<String, Object> context, ContextScope scope) Parses the context and looks for parameters with a scope prefix.parseSystems(List<System> systems) Collect map systems from list systems.
-
Constructor Details
-
SaveRequestResolvingContext
public SaveRequestResolvingContext()
-
-
Method Details
-
parseScope
Parses the context and looks for parameters with a scope prefix. If a parameter is found, truncates the prefix and adds the parameter to the result map- Parameters:
context- contextscope- desired scope- Returns:
- context for provided scope
-
parseSystems
Collect map systems from list systems. -
mergeScopes
Collect fields class to scope. -
mergeWithScopePrefixes
Collect fields class to scope with prefix. -
parseAndClassifyContextVariables
Add context by classify.
-