| Package | Description |
|---|---|
| net.sf.tweety.plugin | |
| net.sf.tweety.plugin.parameter |
| Modifier and Type | Field and Description |
|---|---|
protected List<CommandParameter> |
AbstractTweetyPlugin.parameters
valid parameters for this plugin
|
| Modifier and Type | Method and Description |
|---|---|
CommandParameter |
AbstractTweetyPlugin.validateParameter(String s)
checks, whether each command parameter given with the plugin call is
valid within is this plugin
|
| Modifier and Type | Method and Description |
|---|---|
List<CommandParameter> |
TweetyPlugin.getParameters()
returns parameters allowed with plugin calls
|
List<CommandParameter> |
AbstractTweetyPlugin.getParameters()
returns all possible parameters
|
ArrayList<CommandParameter> |
AbstractTweetyPlugin.validateParameter(ArrayList<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(File[] input,
CommandParameter[] params)
passes by the arguments given with the call to the called plugin
|
abstract PluginOutput |
AbstractTweetyPlugin.execute(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(ArrayList<String> a) |
CommandParameter |
SelectionCommandParameter.instantiate(String s)
instantiates a new parameter iff the given value ist valid for this
command parameter
|
CommandParameter |
FileListCommandParameter.instantiate(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(String s)
instantiates unary argument if valid
|
CommandParameter |
IntegerCommandParameter.instantiate(String s)
instantiates a new parameter iff the given value is valid for this command parameter
|
CommandParameter |
CustomStringListCommandParameter.instantiate(String s)
instantiate single string
|
abstract CommandParameter |
CommandParameter.instantiate(String s)
instantiate the command with the given argument string if valid
|
CommandParameter |
StringListCommandParameter.instantiate(String[] s)
instantiates a list of arguments if valid
|
CommandParameter |
CustomStringListCommandParameter.instantiate(String[] s)
instantiates a list of arguments if valid
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<CommandParameter> |
SelectionCommandParameter.instantiate(ArrayList<String> s) |
Copyright © 2018. All rights reserved.