|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOTACommandProcessorExtension
IOTACommandProcessorExtension Any class that wants to install OTA commands (either additional commands or replacements/extensions for the default commands) must implement this interface. The class must also have a no-arg public constructor, and should be referenced in the manifest file of the library add-in jar that it is part of, with a line like this: "spot-ota-extension-"-my-library-addin: foo.bar.MyOTACommandProcessorExtension where ""spot-ota-extension-"-" is a required prefix.
| Field Summary | |
|---|---|
static String |
OTA_COMMAND_PROCESSOR_EXTENSION_PREFIX
The prefix that properties must have to identify classes that extend the SPOT admin command processor. |
| Method Summary | |
|---|---|
void |
configureCommands(IOTACommandRepository repository)
Call back invoked when command processor extensions are installed. |
| Field Detail |
|---|
static final String OTA_COMMAND_PROCESSOR_EXTENSION_PREFIX
| Method Detail |
|---|
void configureCommands(IOTACommandRepository repository)
IOTACommandRepository.addCommand(String, IOTACommand)
repository - the repository to adjust
|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||