public class PluginConfigWrapper extends Object
| Constructor and Description |
|---|
PluginConfigWrapper(String name,
StoragePluginConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
createOrUpdateInStorage(StoragePluginRegistry storage) |
boolean |
deleteFromStorage(StoragePluginRegistry storage) |
boolean |
enabled() |
boolean |
exists() |
StoragePluginConfig |
getConfig() |
String |
getName() |
boolean |
setEnabledInStorage(StoragePluginRegistry storage,
boolean enabled) |
public PluginConfigWrapper(String name, StoragePluginConfig config)
public String getName()
public StoragePluginConfig getConfig()
public boolean enabled()
public void createOrUpdateInStorage(StoragePluginRegistry storage) throws ExecutionSetupException
ExecutionSetupExceptionpublic boolean setEnabledInStorage(StoragePluginRegistry storage, boolean enabled) throws ExecutionSetupException
ExecutionSetupExceptionpublic boolean exists()
public boolean deleteFromStorage(StoragePluginRegistry storage)
Copyright © 2017 The Apache Software Foundation. All rights reserved.