Gridarta Editor
|
Public Member Functions | |
BshRunnable< G, A, R > | doRunPlugin (@NotNull final Plugin< G, A, R > plugin, @NotNull final ConsoleInterface console, @NotNull final Map< String, Object > parameters) |
int | executePlugin (@NotNull final String plugin, @NotNull final Iterable< String > parameters) |
PluginExecutor (@NotNull final PluginModel< G, A, R > pluginModel, @NotNull final PluginParameters pluginParameters) | |
Private Attributes | |
final PluginModel< G, A, R > | pluginModel |
final PluginParameters | pluginParameters |
Allows execution of Plugins.
Definition at line 48 of file PluginExecutor.java.
net.sf.gridarta.plugin.PluginExecutor< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.PluginExecutor | ( | @NotNull final PluginModel< G, A, R > | pluginModel, |
@NotNull final PluginParameters | pluginParameters | ||
) |
Creates a new instance.
pluginModel | the plugin model to execute |
pluginParameters | the parameters to pass to the plugin |
Definition at line 67 of file PluginExecutor.java.
BshRunnable<G, A, R> net.sf.gridarta.plugin.PluginExecutor< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doRunPlugin | ( | @NotNull final Plugin< G, A, R > | plugin, |
@NotNull final ConsoleInterface | console, | ||
@NotNull final Map< String, Object > | parameters | ||
) |
Runs a plugin model.
plugin | the plugin model |
console | the console to use |
parameters | the parameters to pass to the plugin |
Definition at line 196 of file PluginExecutor.java.
References net.sf.gridarta.plugin.PluginRunMode.BATCH, and net.sf.gridarta.plugin.PluginParameters.setInterpreterValues().
Referenced by net.sf.gridarta.gui.dialog.plugin.PluginController<?, ?, ?>.runPlugin().
int net.sf.gridarta.plugin.PluginExecutor< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.executePlugin | ( | @NotNull final String | plugin, |
@NotNull final Iterable< String > | parameters | ||
) |
Executes an editor plugin.
plugin | the plugin name to execute |
parameters | the plugin parameters |
Definition at line 78 of file PluginExecutor.java.
References net.sf.gridarta.plugin.Plugin< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.clonePlugin(), net.sf.gridarta.plugin.parameter.PluginParameter< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R, V >.getName(), net.sf.gridarta.plugin.Plugin< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getParameter(), net.sf.gridarta.plugin.PluginModel< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getPlugin(), net.sf.gridarta.plugin.BshRunnable< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.isSuccess(), net.sf.gridarta.utils.StringUtils.PATTERN_EQUAL, and net.sf.gridarta.plugin.parameter.PluginParameter< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R, V >.setStringValue().
|
private |
The PluginModel to execute.
Definition at line 54 of file PluginExecutor.java.
|
private |
The parameters to pass to the plugin.
Definition at line 60 of file PluginExecutor.java.