Package com.ibm.fhir.persistence.blob
Class BlobPropertyGroupAdapter
- java.lang.Object
-
- com.ibm.fhir.persistence.blob.BlobPropertyGroupAdapter
-
public class BlobPropertyGroupAdapter extends java.lang.Object
Provides a facade on top of the fhir-server-config PropertyGroup structure to simplify access to configuration elements we need for connecting to the Azure Blob API
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_CONNECTION_STRING
static java.lang.String
PROP_CONTAINER_NAME
static java.lang.String
PROP_TIMEOUT_SECS
-
Constructor Summary
Constructors Constructor Description BlobPropertyGroupAdapter(PropertyGroup pg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConnectionString()
Get the configured value for the Azure Blob connectionStringjava.lang.String
getContainerName()
Get the configured value for the keyspace to use for the tenant.java.time.Duration
getTimeout()
Get theDuration
representing the configured timeout
-
-
-
Field Detail
-
PROP_CONNECTION_STRING
public static final java.lang.String PROP_CONNECTION_STRING
- See Also:
- Constant Field Values
-
PROP_CONTAINER_NAME
public static final java.lang.String PROP_CONTAINER_NAME
- See Also:
- Constant Field Values
-
PROP_TIMEOUT_SECS
public static final java.lang.String PROP_TIMEOUT_SECS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BlobPropertyGroupAdapter
public BlobPropertyGroupAdapter(PropertyGroup pg)
-
-
Method Detail
-
getConnectionString
public java.lang.String getConnectionString()
Get the configured value for the Azure Blob connectionString- Returns:
-
getContainerName
public java.lang.String getContainerName()
Get the configured value for the keyspace to use for the tenant.- Returns:
-
getTimeout
public java.time.Duration getTimeout()
Get theDuration
representing the configured timeout- Returns:
-
-