Class Manager

java.lang.Object
passwordmanager.manager.Manager

public class Manager extends Object
Manager for initializing the context and providing access to it
Since:
2023-12-14
See Also:
  • Field Details

    • context

      private static IContextManager context
      Link to context (IContextManager)
    • logsUsing

      private static boolean logsUsing
      Field indicating the need to use logs
  • Constructor Details

    • Manager

      private Manager()
      Hidden constructor - prevents the creation of a class object
  • Method Details

    • initialize

      public static void initialize(boolean needLogs, boolean needRawDataChecked, boolean needMapStorage, boolean needThreadEncoder)
      Method initializing the IContextManager in accordance with the passed values
      Parameters:
      needLogs - talks about the need to use logs
      needRawDataChecked - indicates the need to check the encoded data
      needMapStorage - talks about the need to store decoded data in a key-value structure
      needThreadEncoder - speaks about the need to use multithreading when encrypting/decrypting
    • getContext

      public static IContextManager getContext()
      Method for getting a link to the created IContextManager
      Returns:
      manager context IContextManager
    • logsIsUsing

      public static boolean logsIsUsing()
      Method for obtaining information about log usage
      Returns:
      information about log usage