Package org.apache.solr.gcs
Class GCSConfigParser
- java.lang.Object
-
- org.apache.solr.gcs.GCSConfigParser
-
public class GCSConfigParser extends Object
Parses configuration forGCSBackupRepository
from NamedList and environment variables
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GCSConfigParser.GCSConfig
-
Field Summary
Fields Modifier and Type Field Description protected static String
GCS_BUCKET_ENV_VAR_NAME
protected static String
GCS_CREDENTIAL_ENV_VAR_NAME
-
Constructor Summary
Constructors Constructor Description GCSConfigParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GCSConfigParser.GCSConfig
parseConfiguration(NamedList<?> repositoryConfig)
GCSConfigParser.GCSConfig
parseConfiguration(NamedList<?> repoConfig, Map<String,String> envVars)
static String
potentiallyMissingCredentialMsg()
-
-
-
Field Detail
-
GCS_BUCKET_ENV_VAR_NAME
protected static final String GCS_BUCKET_ENV_VAR_NAME
- See Also:
- Constant Field Values
-
GCS_CREDENTIAL_ENV_VAR_NAME
protected static final String GCS_CREDENTIAL_ENV_VAR_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseConfiguration
public GCSConfigParser.GCSConfig parseConfiguration(NamedList<?> repositoryConfig)
-
parseConfiguration
public GCSConfigParser.GCSConfig parseConfiguration(NamedList<?> repoConfig, Map<String,String> envVars)
-
potentiallyMissingCredentialMsg
public static String potentiallyMissingCredentialMsg()
-
-