Package software.amazon.smithy.cli
Class Command.Env
- java.lang.Object
-
- software.amazon.smithy.cli.Command.Env
-
- Enclosing interface:
- Command
public static final class Command.Env extends java.lang.Object
Environment settings for the command.
-
-
Constructor Summary
Constructors Constructor Description Env(ColorFormatter colors, CliPrinter stdout, CliPrinter stderr, java.lang.ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassLoader
classLoader()
ColorFormatter
colors()
void
flush()
CliPrinter
stderr()
CliPrinter
stdout()
Command.Env
withClassLoader(java.lang.ClassLoader classLoader)
-
-
-
Constructor Detail
-
Env
public Env(ColorFormatter colors, CliPrinter stdout, CliPrinter stderr, java.lang.ClassLoader classLoader)
-
-
Method Detail
-
colors
public ColorFormatter colors()
-
stdout
public CliPrinter stdout()
-
stderr
public CliPrinter stderr()
-
classLoader
public java.lang.ClassLoader classLoader()
-
flush
public void flush()
-
withClassLoader
public Command.Env withClassLoader(java.lang.ClassLoader classLoader)
-
-