Package | Description |
---|---|
org.bonitasoft.engine.api |
Main Community Edition package to access Community APIs.
|
Modifier and Type | Method and Description |
---|---|
CommandDescriptor |
CommandAPI.get(long commandId)
Get the command descriptor by its id
|
CommandDescriptor |
PlatformCommandAPI.get(String name)
Deprecated.
As of release 6.2.1, replaced by
PlatformCommandAPI.getCommand(String) that does not throw CreationException. |
CommandDescriptor |
PlatformCommandAPI.getCommand(String commandName)
Returns the command descriptor corresponding to the command name passed as parameter.
|
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
|
Copyright © 2014 Bonitasoft S.A.. All Rights Reserved.