Package com.xebialabs.deployit.cli
Class Cli
- java.lang.Object
-
- com.xebialabs.deployit.cli.Cli
-
public class Cli extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCLI_PASSWORD_PROPERTY_NAMEstatic java.lang.StringCLI_USERNAME_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description Cli(CliOptions options)Cli(CliOptions options, jline.console.ConsoleReader consoleReader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateCredentials(com.xebialabs.deployit.booter.remote.BooterConfig.Builder builder)InterpretergetNewInterpreter()static voidmain(java.lang.String[] args)
-
-
-
Field Detail
-
CLI_PASSWORD_PROPERTY_NAME
public static final java.lang.String CLI_PASSWORD_PROPERTY_NAME
- See Also:
- Constant Field Values
-
CLI_USERNAME_PROPERTY_NAME
public static final java.lang.String CLI_USERNAME_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Cli
public Cli(CliOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
Cli
public Cli(CliOptions options, jline.console.ConsoleReader consoleReader) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
getNewInterpreter
public Interpreter getNewInterpreter() throws javax.script.ScriptException, java.io.IOException
- Throws:
javax.script.ScriptExceptionjava.io.IOException
-
createCredentials
public void createCredentials(com.xebialabs.deployit.booter.remote.BooterConfig.Builder builder) throws java.io.IOException- Throws:
java.io.IOException
-
-