◆ executeCommand()
static String org.turro.action.content.ContentProviders.executeCommand |
( |
String |
command, |
|
|
IContact |
contact, |
|
|
String |
idContext |
|
) |
| |
|
static |
Definition at line 56 of file ContentProviders.java.
57 ContentRenderer executor =
loadCommand(command, contact, idContext);
58 return executor !=
null ? executor.execute() :
null;
static ContentRenderer loadCommand(String command, IContact contact, String idContext)
◆ getHelpCommands()
static List<String> org.turro.action.content.ContentProviders.getHelpCommands |
( |
| ) |
|
|
static |
Definition at line 39 of file ContentProviders.java.
40 List<String> commands =
new ArrayList<>();
42 commands.addAll(provider.getHelpCommands());
static List< IContentProvider > getProviders()
◆ getProviders()
static List<IContentProvider> org.turro.action.content.ContentProviders.getProviders |
( |
| ) |
|
|
static |
Definition at line 35 of file ContentProviders.java.
36 return Instances.cached().byAnnotation(ContentProvider.class, IContentProvider.class);
◆ loadCommand()
static ContentRenderer org.turro.action.content.ContentProviders.loadCommand |
( |
String |
command, |
|
|
IContact |
contact, |
|
|
String |
idContext |
|
) |
| |
|
static |
Definition at line 47 of file ContentProviders.java.
49 if(provider.itsMe(command)) {
50 return provider.loadCommand(command, contact, idContext);
The documentation for this class was generated from the following file: