Class SessionCommandBuilder.WithTargetSessionCommandLineBuilder
- java.lang.Object
-
- com.e1c.g5.v8.dt.platform.standaloneserver.core.SessionCommandBuilder.CommandLineBuilderWithMandatoryParameters
-
- com.e1c.g5.v8.dt.platform.standaloneserver.core.SessionCommandBuilder.WithTargetSessionCommandLineBuilder
-
- Enclosing class:
- SessionCommandBuilder
public static class SessionCommandBuilder.WithTargetSessionCommandLineBuilder extends SessionCommandBuilder.CommandLineBuilderWithMandatoryParameters
Further builds command line once target standalone server was specified.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getThisArgument()
Gets name of the argument represented by this builder.SessionCommandBuilder.InfoBuilder
info()
Creates builder for getting infomation about a session.SessionCommandBuilder.InterruptServerCallBuilder
interruptServerCall()
Creates builder for interrupting current server call.SessionCommandBuilder.ListBuilder
list()
Creates builder for getting a list of sessions.SessionCommandBuilder.TerminateBuilder
terminate()
Creates builder for terminating a session.-
Methods inherited from class com.e1c.g5.v8.dt.platform.standaloneserver.core.SessionCommandBuilder.CommandLineBuilderWithMandatoryParameters
addOption, collectArguments, getInitialArguments, getOptionsForThisArgument
-
-
-
-
Method Detail
-
info
public SessionCommandBuilder.InfoBuilder info()
Creates builder for getting infomation about a session.- Returns:
- Command line builder. Never
null
.
-
list
public SessionCommandBuilder.ListBuilder list()
Creates builder for getting a list of sessions.- Returns:
- Command line builder. Never
null
.
-
terminate
public SessionCommandBuilder.TerminateBuilder terminate()
Creates builder for terminating a session.- Returns:
- Command line builder. Never
null
.
-
interruptServerCall
public SessionCommandBuilder.InterruptServerCallBuilder interruptServerCall()
Creates builder for interrupting current server call.- Returns:
- Command line builder. Never
null
.
-
getThisArgument
protected String getThisArgument()
Description copied from class:SessionCommandBuilder.CommandLineBuilderWithMandatoryParameters
Gets name of the argument represented by this builder.- Specified by:
getThisArgument
in classSessionCommandBuilder.CommandLineBuilderWithMandatoryParameters
- Returns:
- Name of the argument or
null
if no argument is to be added by the builder itself.
-
-