public class FileSystemConfig extends AbstractSecuredStoragePluginConfig
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
credentialsProvider, directCredentials
Constructor and Description |
---|
FileSystemConfig(String connection,
Map<String,String> config,
Map<String,WorkspaceConfig> workspaces,
Map<String,FormatPluginConfig> formats,
CredentialsProvider credentialsProvider) |
Modifier and Type | Method and Description |
---|---|
FileSystemConfig |
copy()
Copy the file system configuration.
|
FileSystemConfig |
copyWithFormats(Map<String,FormatPluginConfig> newFormats)
Copy this file system config with the set of new/replaced formats.
|
boolean |
equals(Object obj) |
Map<String,String> |
getConfig() |
String |
getConnection() |
Map<String,FormatPluginConfig> |
getFormats() |
String |
getValue(String key) |
Map<String,WorkspaceConfig> |
getWorkspaces() |
int |
hashCode() |
String |
toString() |
getCredentialsProvider
isEnabled, isEnabledStatusPresent, setEnabled
public static final String NAME
public FileSystemConfig(String connection, Map<String,String> config, Map<String,WorkspaceConfig> workspaces, Map<String,FormatPluginConfig> formats, CredentialsProvider credentialsProvider)
public String getConnection()
public Map<String,WorkspaceConfig> getWorkspaces()
public Map<String,FormatPluginConfig> getFormats()
public String getValue(String key)
getValue
in class StoragePluginConfig
public int hashCode()
hashCode
in class StoragePluginConfig
public boolean equals(Object obj)
equals
in class StoragePluginConfig
public FileSystemConfig copy()
public FileSystemConfig copyWithFormats(Map<String,FormatPluginConfig> newFormats)
newFormats
- optional new formats to addCopyright © 1970 The Apache Software Foundation. All rights reserved.