Type Params | Return Type | Name and description |
---|---|---|
|
Component |
init(java.util.Map<java.lang.String, java.lang.Object> configuration, FlowPlugin plugin) Method is used to configure the component. |
|
boolean |
isEFComponent() Flag method that shows this component requires FlowPlugin instance on initialization. |
|
static boolean |
isWindows() Checks if current OS is Windows. |
|
Command |
newCommand(java.lang.String program) Creates new Command instance |
|
Command |
newCommand(java.lang.String program, java.lang.String... args) Creates new Command instance |
|
Command |
newCommand(java.lang.String program, java.util.ArrayList<java.lang.String> args) Creates new Command instance |
|
ExecutionResult |
runCommand(Command command) Shortcut for a Command.run. |
Methods inherited from class | Name |
---|---|
class Component |
init, isEFComponent |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method is used to configure the component.
Flag method that shows this component requires FlowPlugin instance on initialization.
Checks if current OS is Windows.
Creates new Command instance
program
- name of the program to be executedCreates new Command instance
program
- name of the program to be executedargs
- arguments for the program as a String array (variable-length args)Creates new Command instance
program
- name of the program to be executedargs
- arguments for the program as a List of stringsShortcut for a Command.run.
command
- preconfigured Command instance