Class FirestoreProperties
java.lang.Object
com.google.adk.utils.FirestoreProperties
Placeholder class to test that the FirestoreProperties file is correctly included in the test
resources.
-
Method Summary
Modifier and TypeMethodDescriptionGet the root collection name from the properties file, or return the default value if not found.Get the GCS ADK bucket name from the properties file.static FirestorePropertiesReturns a singleton instance of FirestoreProperties.getProperty(String key) Functionality to read a property from the loaded properties file.Get the stop words for keyword extraction from the properties file, or return the default set if not found.static voidResets the singleton instance.
-
Method Details
-
getProperty
-
getFirebaseRootCollectionName
Get the root collection name from the properties file, or return the default value if not found.- Returns:
- the root collection name
-
getStopWords
-
getGcsAdkBucketName
Get the GCS ADK bucket name from the properties file.- Returns:
- the GCS ADK bucket name
-
getInstance
Returns a singleton instance of FirestoreProperties.- Returns:
- the FirestoreProperties instance
-
resetForTest
public static void resetForTest()Resets the singleton instance. For testing purposes only.
-