Class SaveRequestResolvingContext

java.lang.Object
org.qubership.atp.itf.lite.backend.model.context.SaveRequestResolvingContext

public class SaveRequestResolvingContext extends Object
  • Constructor Details

    • SaveRequestResolvingContext

      public SaveRequestResolvingContext()
  • Method Details

    • parseScope

      public static Map<String,Object> parseScope(Map<String,Object> context, ContextScope scope)
      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 - context
      scope - desired scope
      Returns:
      context for provided scope
    • parseSystems

      public static Map<String,Object> parseSystems(List<System> systems)
      Collect map systems from list systems.
    • mergeScopes

      public Map<String,Object> mergeScopes()
      Collect fields class to scope.
    • mergeWithScopePrefixes

      public Map<String,Object> mergeWithScopePrefixes()
      Collect fields class to scope with prefix.
    • parseAndClassifyContextVariables

      public void parseAndClassifyContextVariables(List<ContextVariable> contextVariables)
      Add context by classify.