Uses of Class
org.tweetyproject.plugin.parameter.CommandParameter
Package
Description
-
Uses of CommandParameter in org.tweetyproject.cli.plugins
Modifier and TypeMethodDescriptionstatic ArrayList
<CommandParameter> CliMain.instantiateParameters
(TweetyPlugin tp, ArrayList<ArrayList<String>> inparams) instantiates each given input parameter within the called plugin - if possible -
Uses of CommandParameter in org.tweetyproject.logics.fol.plugin
Modifier and TypeMethodDescriptionFirstOrderLogicPlugin.execute
(File[] input, CommandParameter[] params) Executes this plugin with given input files and other aggregated parameters -
Uses of CommandParameter in org.tweetyproject.logics.pl.plugin
Modifier and TypeMethodDescriptionPlPlugin.execute
(File[] input, CommandParameter[] params) Method to be executed with input files and parameters from tweety cli -
Uses of CommandParameter in org.tweetyproject.logics.rpcl.plugin
Modifier and TypeMethodDescriptionRPCLPlugin.execute
(File[] input, CommandParameter[] params) Executes this plugin with given input files and other aggregated parameters -
Uses of CommandParameter in org.tweetyproject.plugin
Modifier and TypeMethodDescriptionAbstractTweetyPlugin.validateParameter
(String s) checks, whether each command parameter given with the plugin call is valid within is this pluginModifier and TypeMethodDescriptionAbstractTweetyPlugin.getParameters()
returns all possible parametersTweetyPlugin.getParameters()
returns parameters allowed with plugin callsAbstractTweetyPlugin.validateParameter
(ArrayList<String> s) This method handels instantiations with array-lists instead of a simple string (e.g.Modifier and TypeMethodDescriptionvoid
AbstractTweetyPlugin.addParameter
(CommandParameter cmdParameter) adds new command parameter to this pluginabstract PluginOutput
AbstractTweetyPlugin.execute
(File[] input, CommandParameter[] params) executes the given inputTweetyPlugin.execute
(File[] input, CommandParameter[] params) passes by the arguments given with the call to the called plugin -
Uses of CommandParameter in org.tweetyproject.plugin.parameter
Modifier and TypeClassDescriptionclass
This class extends the string list command parameter with functionality to define valid strings with regular expressions.class
This parameter holds a file-list of possible argumentsclass
This parameter holds a number-interval of possible argumentsclass
This class expands the CommandParameter with a selection-array containing strings the parameter supportsclass
This class models a string list command parameter for Work-in-Progress, do not use!Modifier and TypeMethodDescriptionabstract CommandParameter
CommandParameter.instantiate
(String s) instantiate the command with the given argument string if validCustomStringListCommandParameter.instantiate
(String s) instantiate single stringCustomStringListCommandParameter.instantiate
(String[] s) instantiates a list of arguments if validFileListCommandParameter.instantiate
(String filename) instantiates a new parameter iff the given value ist valid for this command parameter (for special case with one file);FileListCommandParameter.instantiate
(ArrayList<String> a) Instantiates a `FileListCommandParameter` with the given list of file paths.IntegerCommandParameter.instantiate
(String s) instantiates a new parameter iff the given value is valid for this command parameterSelectionCommandParameter.instantiate
(String s) instantiates a new parameter iff the given value ist valid for this command parameterStringListCommandParameter.instantiate
(String s) instantiates unary argument if validStringListCommandParameter.instantiate
(String[] s) instantiates a list of arguments if validModifier and TypeMethodDescriptionSelectionCommandParameter.instantiate
(ArrayList<String> s) Instantiates a list of `CommandParameter` objects based on the provided list of strings. -
Uses of CommandParameter in org.tweetyproject.preferences.plugin
Modifier and TypeMethodDescriptionvoid
PreferencesPlugin.addParameter
(CommandParameter cmdParameter) PreferencesPlugin.execute
(File[] input, CommandParameter[] params)