| Package | Description |
|---|---|
| org.bonitasoft.engine.api | |
| org.bonitasoft.engine.command |
| Modifier and Type | Method and Description |
|---|---|
CommandDescriptor |
CommandAPI.get(long commandId)
Get the command descriptor by its id
|
CommandDescriptor |
PlatformCommandAPI.get(String name)
Returns the command descriptor
|
CommandDescriptor |
CommandAPI.getCommand(String name)
Returns the command descriptor
|
CommandDescriptor |
PlatformCommandAPI.register(String name,
String description,
String implementation)
Adds a command and its descriptor.
|
CommandDescriptor |
CommandAPI.register(String name,
String description,
String implementation)
Create a new command with its provided name, description, implementation.
|
| Modifier and Type | Method and Description |
|---|---|
List<CommandDescriptor> |
CommandAPI.getAllCommands(int startIndex,
int maxResults,
CommandCriterion sort)
Returns the paginated list of command descriptors according to the sort criterion.
|
List<CommandDescriptor> |
PlatformCommandAPI.getCommands(int startIndex,
int maxResults,
CommandCriterion sort)
Returns the paginated list of command descriptors according to the sort criterion.
|
List<CommandDescriptor> |
CommandAPI.getUserCommands(int startIndex,
int maxResults,
CommandCriterion sort)
Returns the Commands with System is false
|
SearchResult<CommandDescriptor> |
CommandAPI.searchCommands(SearchOptions searchOptions)
Search commands
|
| Modifier and Type | Class and Description |
|---|---|
class |
CommandDescriptorImpl |
Copyright © 2013 BonitaSoft. All Rights Reserved.