public class AddRedisStoreCommand extends ServiceEnabledCommand<String>
ServiceEnabledCommand.HttpMethod
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTIES_CONTEXT
A REST Operation for the AddStoreCommand where --type=redis
|
path
Constructor and Description |
---|
AddRedisStoreCommand() |
Modifier and Type | Method and Description |
---|---|
String |
computeResults(OperationParams params) |
void |
execute(OperationParams params)
Execute the command, and return whether we want to continue execution
|
String |
getId() |
Boolean |
getMakeDefault() |
String |
getNamespace() |
List<String> |
getParameters() |
String |
getPath()
get the path to expose as a resource
|
String |
getPluginName() |
DataStorePluginOptions |
getPluginOptions() |
String |
getStoreType() |
boolean |
prepare(OperationParams params)
NOTE: ONLY USE THIS METHOD TO SET @PARAMETERSDELEGATE options.
|
void |
setMakeDefault(Boolean makeDefault) |
void |
setParameters(String storeName) |
void |
setPluginOptions(DataStorePluginOptions pluginOptions) |
getMethod, getName, runAsync, successStatusIs200
generateNewEncryptionToken, getGeoWaveConfigFile, getGeoWaveConfigFile, getGeoWaveConfigProperties, getGeoWaveConfigProperties, getGeoWaveConfigProperties, getGeoWaveDirectory, getSecurityTokenFile, setSecurityTokenFile, usage
public static final String PROPERTIES_CONTEXT
public boolean prepare(OperationParams params)
Operation
prepare
in interface Operation
prepare
in class DefaultOperation
public void execute(OperationParams params) throws Exception
Command
Exception
public String computeResults(OperationParams params) throws Exception
computeResults
in class ServiceEnabledCommand<String>
Exception
public String getId()
getId
in class ServiceEnabledCommand<String>
public String getPath()
ServiceEnabledCommand
getPath
in class ServiceEnabledCommand<String>
public DataStorePluginOptions getPluginOptions()
public String getPluginName()
public String getNamespace()
public void setParameters(String storeName)
public Boolean getMakeDefault()
public void setMakeDefault(Boolean makeDefault)
public String getStoreType()
public void setPluginOptions(DataStorePluginOptions pluginOptions)
Copyright © 2013–2022. All rights reserved.