public interface CommandManagerService
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createCommand(java.lang.String commandType,
javax.management.AttributeList properties)
Create a new Command.
|
void |
deleteCommand(java.lang.String commandID)
Delete a command configuration.
|
java.util.Set<CommandConfigFactoryDTO> |
getCommandConfigFactories()
This method gets the available command types on the edge server and the
ID of the ReaderFactory that the command type works with.
|
java.util.Set<CommandConfigFactoryDTO> |
getCommandConfigFactoriesByReaderID(java.lang.String readerFactoryID)
Get all the CommandConfigFactoryID associated with a readerFactoryID.
|
CommandConfigFactoryDTO |
getCommandConfigFactory(java.lang.String commandFactoryID)
Get the CommandConfigurationFactory
|
CommandConfigurationDTO |
getCommandConfiguration(java.lang.String commandConfigurationID)
Gets the DTO for a given Command Configuration.
|
javax.management.MBeanInfo |
getCommandDescription(java.lang.String commandType)
Gets the meta information necessary to construct a new Command.
|
java.util.Set<CommandConfigurationDTO> |
getCommands()
Gets the DTOs for configured commands.
|
void |
setCommandProperties(java.lang.String commandID,
javax.management.AttributeList properties)
Sets the properties of a Command.
|
java.util.Set<CommandConfigFactoryDTO> getCommandConfigFactories()
java.util.Set<CommandConfigFactoryDTO> getCommandConfigFactoriesByReaderID(java.lang.String readerFactoryID)
readerFactoryID
- CommandConfigFactoryDTO getCommandConfigFactory(java.lang.String commandFactoryID)
commandFactoryID
- java.util.Set<CommandConfigurationDTO> getCommands()
CommandConfigurationDTO getCommandConfiguration(java.lang.String commandConfigurationID)
commandConfigurationID
- The ID of the commandConfiguration to getjavax.management.MBeanInfo getCommandDescription(java.lang.String commandType)
commandType
- the type of command to makejava.lang.String createCommand(java.lang.String commandType, javax.management.AttributeList properties)
commandType
- The type of the Command to makeproperties
- the properties of a Commandvoid setCommandProperties(java.lang.String commandID, javax.management.AttributeList properties)
commandID
- the ID of the command to setproperties
- the new properties of the commandvoid deleteCommand(java.lang.String commandID)
commandConfigurationID
- the ID of the commandConfiguration to delete