Class ContextRepository

java.lang.Object
org.qubership.atp.environments.repo.impl.ContextRepository

@Repository public class ContextRepository extends Object
  • Constructor Details

    • ContextRepository

      public ContextRepository()
  • Method Details

    • getContext

      @Nonnull public Context getContext()
      Get context.
      Returns:
      Context instance of current thread.
    • setContext

      public void setContext(@Nonnull Context context)
      Set context.
      Parameters:
      context - Context instance of current thread.
    • removeContext

      public void removeContext()
      Remove context of current thread.