Package ubic.gemma.cli.util
Interface CliContext
-
- All Known Implementing Classes:
SystemCliContext
public interface CliContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getArguments()
Obtain the command line arguments for the command.String
getCommandNameOrAliasUsed()
Command name or alias used to invoke the command, ornull
if this was invoked using the fully qualified class name.Console
getConsole()
Obtain the console, if available.Map<String,String>
getEnvironment()
Obtain the environment variables for the command.PrintStream
getErrorStream()
InputStream
getInputStream()
PrintStream
getOutputStream()
-
-
-
Method Detail
-
getCommandNameOrAliasUsed
@Nullable String getCommandNameOrAliasUsed()
Command name or alias used to invoke the command, ornull
if this was invoked using the fully qualified class name.
-
getArguments
String[] getArguments()
Obtain the command line arguments for the command.
-
getEnvironment
Map<String,String> getEnvironment()
Obtain the environment variables for the command.
-
getInputStream
InputStream getInputStream()
-
getOutputStream
PrintStream getOutputStream()
-
getErrorStream
PrintStream getErrorStream()
-
-