Package passwordmanager.manager
Class Manager
java.lang.Object
passwordmanager.manager.Manager
Manager for initializing the context and providing access to it
- Since:
- 2023-12-14
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static IContextManagerLink to context (IContextManager)private static booleanField indicating the need to use logs -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateManager()Hidden constructor - prevents the creation of a class object -
Method Summary
Modifier and TypeMethodDescriptionstatic IContextManagerMethod for getting a link to the createdIContextManagerstatic voidinitialize(boolean needLogs, boolean needRawDataChecked, boolean needMapStorage, boolean needThreadEncoder) Method initializing theIContextManagerin accordance with the passed valuesstatic booleanMethod for obtaining information about log usage
-
Field Details
-
context
Link to context (IContextManager) -
logsUsing
private static boolean logsUsingField 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 theIContextManagerin accordance with the passed values- Parameters:
needLogs- talks about the need to use logsneedRawDataChecked- indicates the need to check the encoded dataneedMapStorage- talks about the need to store decoded data in a key-value structureneedThreadEncoder- speaks about the need to use multithreading when encrypting/decrypting
-
getContext
Method for getting a link to the createdIContextManager- Returns:
- manager context
IContextManager
-
logsIsUsing
public static boolean logsIsUsing()Method for obtaining information about log usage- Returns:
- information about log usage
-