public class PepperStarter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PepperStarter.COMMAND |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSOLE_WIDTH
The standard width of the output console of Pepper.
|
static int |
CONSOLE_WIDTH_120
The width of the output console of Pepper.
|
static int |
CONSOLE_WIDTH_80
The width of the output console of Pepper, when os is windows.
|
static String |
FILE_ENDING_PEPPER
This is the default ending of a Pepper workflow description file.
|
static String |
PROMPT |
| Constructor and Description |
|---|
PepperStarter()
Initializes an instance of PepperStarter without a
PepperConnector. |
PepperStarter(PepperConnector pepperConnector)
Initializes an instance of PepperStarter.
|
| Modifier and Type | Method and Description |
|---|---|
String |
clean()
Cleans the current Pepper instance and especially removes the OSGi
workspace, to set up a new one.
|
String |
conf() |
void |
convert(String workFlowPath)
Loads the passed workflow description file and starts the conversion.
|
String |
debug()
Switches on/off the debug mode.
|
String |
fitness()
Returns a fitness report as a String.
|
PepperConnector |
getPepper() |
PepperStarterConfiguration |
getPepperConfiguration() |
static String |
getVersion()
Resolves the current Pepper version from a file named version.properties
in the pepper-lib jar file.
|
String |
help()
Help to all commands for Pepper
|
String |
installAndStart(List<String> params)
Installs and starts a new Pepper module(s).
|
String |
list()
Returns a String containing a table with information about all available
Pepper modules.
|
String |
list(String moduleSelector)
Returns a String containing a table with information about the passed
Pepper module.
|
static void |
main(String[] args) |
String |
osgi()
Opens the OSGi console via an
OSGiConsole object and delegates to
it. |
String |
remove(List<String> params)
Removes an existing Pepper module(s).
|
void |
runInteractive()
Starts the interactive console of Pepper.
|
String |
selfTest()
Deprecated.
|
void |
setPepper(PepperConnector pepper)
Sets a reference to Pepper via a
PepperConnector |
void |
setPepperConfiguration(PepperStarterConfiguration pepperConf) |
String |
start_osgi()
Starts the OSGi environment.
|
String |
stop_osgi()
Stops the OSGi environment.
|
public static final String PROMPT
public static final String FILE_ENDING_PEPPER
public static final int CONSOLE_WIDTH
public static final int CONSOLE_WIDTH_120
public static final int CONSOLE_WIDTH_80
public PepperStarter()
PepperConnector. Make sure to call method
setPepper(PepperConnector) right after calling the constructor.public PepperStarter(PepperConnector pepperConnector)
pepperConnector - a PepperConnector object via which the
PepperStarter communicates with a Pepper
instancepublic PepperConnector getPepper()
PepperConnectorpublic void setPepper(PepperConnector pepper)
PepperConnectorpublic PepperStarterConfiguration getPepperConfiguration()
PepperStarterpublic void setPepperConfiguration(PepperStarterConfiguration pepperConf)
pepperConf - configuration for PepperStarterpublic String help()
public String list()
public String list(String moduleSelector)
moduleSelector - either the name of a module or the number of a modulepublic String start_osgi()
public String stop_osgi()
public String clean()
public String debug()
public String osgi()
OSGiConsole object and delegates to
it.public void convert(String workFlowPath)
workFlowPath - public String installAndStart(List<String> params)
@Deprecated public String selfTest()
PepperModule.isReadyToStart() for all Pepper modules.public String fitness()
public String conf()
public void runInteractive()
public static String getVersion()
Copyright © 2009–2020 Humboldt-Universität zu Berlin, INRIA. All rights reserved.