Package | Description |
---|---|
org.codice.ddf.admin.configurator | |
org.codice.ddf.admin.configurator.impl | |
org.codice.ddf.internal.admin.configurator.actions |
Modifier and Type | Method and Description |
---|---|
Optional<ConfiguratorException> |
Result.getError()
If an exception occurred during processing, this
Optional will contain the exception
thrown. |
Modifier and Type | Method and Description |
---|---|
Result<T> |
Operation.commit() |
Result<T> |
Operation.rollback() |
Modifier and Type | Method and Description |
---|---|
Optional<ConfiguratorException> |
ResultImpl.getError() |
Modifier and Type | Method and Description |
---|---|
ServiceOperation |
ServiceOperation.Actions.build(String serviceId,
Map<String,Object> configs,
boolean keepIfNotPresent) |
Result<Void> |
ServiceOperation.commit() |
Result<Void> |
FeatureOperation.commit() |
Result<Void> |
BundleOperation.commit() |
PropertyOperation |
PropertyOperation.Actions.create(Path propFile,
Map<String,String> configs) |
Operation<Void> |
ConfigOperation.Actions.create(Path configFile,
Map<String,String> configs) |
ManagedServiceOperation |
ManagedServiceOperation.Actions.create(String factoryPid,
Map<String,Object> configs) |
PropertyOperation |
PropertyOperation.Actions.delete(Path propFile) |
ConfigOperation |
ConfigOperation.Actions.delete(Path propFile) |
ManagedServiceOperation |
ManagedServiceOperation.Actions.delete(String pid) |
Map<String,String> |
PropertyOperation.Actions.getProperties(Path propFile) |
Map<String,String> |
ConfigOperation.Actions.getProperties(Path propFile) |
<S> S |
ServiceReaderImpl.getServiceReference(Class<S> serviceClass) |
<S> Set<S> |
ServiceReaderImpl.getServices(Class<S> serviceClass,
String filter) |
boolean |
FeatureOperation.Actions.isFeatureStarted(String featureName) |
boolean |
BundleOperation.Actions.isStarted(String bundleSymName) |
Map<String,Map<String,Object>> |
ManagedServiceOperation.Actions.read(String factoryPid) |
Map<String,Object> |
ServiceOperation.Actions.read(String serviceId) |
Result<Void> |
ServiceOperation.rollback() |
Result<Void> |
FeatureOperation.rollback() |
Result<Void> |
PropertyOperation.rollback() |
Result<Void> |
BundleOperation.rollback() |
FeatureOperation |
FeatureOperation.Actions.start(String featureName) |
BundleOperation |
BundleOperation.Actions.start(String bundleSymName) |
FeatureOperation |
FeatureOperation.Actions.stop(String featureName) |
BundleOperation |
BundleOperation.Actions.stop(String bundleSymName) |
PropertyOperation |
PropertyOperation.Actions.update(Path propFile,
Map<String,String> configs,
boolean keepIfNotPresent) |
Operation<Void> |
ConfigOperation.Actions.update(Path configFile,
Map<String,String> configs,
boolean keepIfNotPresent) |
Modifier and Type | Method and Description |
---|---|
Operation<Void> |
ServiceActions.build(String configPid,
Map<String,Object> configs,
boolean keepIfNotPresent)
Creates a handler for persisting changes to a bundle configuration.
|
Operation<Void> |
PropertyActions.create(Path configFile,
Map<String,String> configs)
Creates a handler for persisting property file changes to a new property file.
|
Operation<String> |
ManagedServiceActions.create(String factoryPid,
Map<String,Object> configs)
Creates a handler that will create a managed service as part of a transaction.
|
Operation<Void> |
PropertyActions.delete(Path configFile)
Creates a handler for deleting a property file.
|
Operation<String> |
ManagedServiceActions.delete(String pid)
Creates a handler that will delete a managed service as part of a transaction.
|
Map<String,String> |
PropertyActions.getProperties(Path propFile)
Gets the current key:value pairs set in the given property file.
|
<S> S |
ServiceReader.getServiceReference(Class<S> serviceClass)
Retrieves the first found service reference.
|
<S> Set<S> |
ServiceReader.getServices(Class<S> serviceClass,
String filter)
Retrieves all service references matching the class and LDAP filter.
|
boolean |
FeatureActions.isFeatureStarted(String featureName)
Determines if the feature with the given name is started.
|
boolean |
BundleActions.isStarted(String bundleSymName)
Determines if the bundle with the given name is started.
|
Map<String,Map<String,Object>> |
ManagedServiceActions.read(String factoryPid)
For the given managed service factory, retrieves the full complement of configuration
properties.
|
Map<String,Object> |
ServiceActions.read(String configPid)
Gets the current key:value pairs set in the given configuration file.
|
Operation<Void> |
BundleActions.start(String bundleSymName)
Creates a handler that will start a bundle as part of a transaction.
|
Operation<Void> |
FeatureActions.start(String featureName)
Creates a handler that will start a feature as part of a transaction.
|
Operation<Void> |
BundleActions.stop(String bundleSymName)
Creates a handler that will stop a bundle as part of a transaction.
|
Operation<Void> |
FeatureActions.stop(String featureName)
Creates a handler that will stop a feature as part of a transaction.
|
Operation<Void> |
PropertyActions.update(Path configFile,
Map<String,String> configs,
boolean keepIfNotPresent)
Creates a handler for persisting property file changes to an existing property file.
|
This work is licensed under a Creative Commons Attribution 4.0 International License.