Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<CommandParameter> |
CliMain.instantiateParameters(TweetyPlugin tp,
java.util.ArrayList<java.util.ArrayList<java.lang.String>> inparams)
instantiates each given input parameter within the called plugin - if
possible
|
Modifier and Type | Method and Description |
---|---|
PluginOutput |
FirstOrderLogicPlugin.execute(java.io.File[] input,
CommandParameter[] params)
Executes this plugin with given input files and other aggregated parameters
|
Modifier and Type | Method and Description |
---|---|
PluginOutput |
PropositionalLogicPlugin.execute(java.io.File[] input,
CommandParameter[] params)
Method to be executed with input files and parameters from tweety cli
|
Modifier and Type | Method and Description |
---|---|
PluginOutput |
RPCLPlugin.execute(java.io.File[] input,
CommandParameter[] params)
Executes this plugin with given input files and other aggregated parameters
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<CommandParameter> |
AbstractTweetyPlugin.parameters
valid parameters for this plugin
|
Modifier and Type | Method and Description |
---|---|
CommandParameter |
AbstractTweetyPlugin.validateParameter(java.lang.String s)
checks, whether each command parameter given with the plugin call is
valid within is this plugin
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CommandParameter> |
TweetyPlugin.getParameters()
returns parameters allowed with plugin calls
|
java.util.List<CommandParameter> |
AbstractTweetyPlugin.getParameters()
returns all possible parameters
|
java.util.ArrayList<CommandParameter> |
AbstractTweetyPlugin.validateParameter(java.util.ArrayList<java.lang.String> s)
This method handels instantiations with array-lists instead of a simple string (e.g.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTweetyPlugin.addParameter(CommandParameter cmdParameter)
adds new command parameter to this plugin
|
PluginOutput |
TweetyPlugin.execute(java.io.File[] input,
CommandParameter[] params)
passes by the arguments given with the call to the called plugin
|
abstract PluginOutput |
AbstractTweetyPlugin.execute(java.io.File[] input,
CommandParameter[] params)
executes the given input
|
Modifier and Type | Class and Description |
---|---|
class |
CustomStringListCommandParameter
This class extends the string list command parameter with functionality
to define valid strings with regular expressions.
|
class |
FileListCommandParameter
This parameter holds a file-list of possible arguments
|
class |
IntegerCommandParameter
This parameter holds a number-interval of possible arguments
|
class |
SelectionCommandParameter
This class expands the CommandParameter with a selection-array containing
strings the parameter supports
|
class |
StringListCommandParameter
This class models a string list command parameter for
Work-in-Progress, do not use!
|
Modifier and Type | Method and Description |
---|---|
CommandParameter |
FileListCommandParameter.instantiate(java.util.ArrayList<java.lang.String> a) |
CommandParameter |
SelectionCommandParameter.instantiate(java.lang.String s)
instantiates a new parameter iff the given value ist valid for this
command parameter
|
CommandParameter |
FileListCommandParameter.instantiate(java.lang.String filename)
instantiates a new parameter iff the given value ist valid for this
command parameter (for special case with one file);
|
CommandParameter |
StringListCommandParameter.instantiate(java.lang.String s)
instantiates unary argument if valid
|
CommandParameter |
IntegerCommandParameter.instantiate(java.lang.String s)
instantiates a new parameter iff the given value is valid for this command parameter
|
CommandParameter |
CustomStringListCommandParameter.instantiate(java.lang.String s)
instantiate single string
|
abstract CommandParameter |
CommandParameter.instantiate(java.lang.String s)
instantiate the command with the given argument string if valid
|
CommandParameter |
StringListCommandParameter.instantiate(java.lang.String[] s)
instantiates a list of arguments if valid
|
CommandParameter |
CustomStringListCommandParameter.instantiate(java.lang.String[] s)
instantiates a list of arguments if valid
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<CommandParameter> |
SelectionCommandParameter.instantiate(java.util.ArrayList<java.lang.String> s) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CommandParameter> |
PreferencesPlugin.getParameters() |
Modifier and Type | Method and Description |
---|---|
void |
PreferencesPlugin.addParameter(CommandParameter cmdParameter) |
PluginOutput |
PreferencesPlugin.execute(java.io.File[] input,
CommandParameter[] params) |