Class SessionCommandBuilder.InterruptServerCallBuilder
- java.lang.Object
-
- com.e1c.g5.v8.dt.platform.standaloneserver.core.SessionCommandBuilder.CommandLineBuilderWithMandatoryParameters
-
- com.e1c.g5.v8.dt.platform.standaloneserver.core.SessionCommandBuilder.CommandLineBuilderWithoutMandatoryParameters
-
- com.e1c.g5.v8.dt.platform.standaloneserver.core.SessionCommandBuilder.InterruptServerCallBuilder
-
- Enclosing class:
- SessionCommandBuilder
public static class SessionCommandBuilder.InterruptServerCallBuilder extends SessionCommandBuilder.CommandLineBuilderWithoutMandatoryParameters
Builds arguments for the 'interrupt-current-server-call' command.
-
-
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.InterruptServerCallBuilder
withErrorMessage(String message)
Specify a reason for interrupting a call.-
Methods inherited from class com.e1c.g5.v8.dt.platform.standaloneserver.core.SessionCommandBuilder.CommandLineBuilderWithoutMandatoryParameters
build
-
Methods inherited from class com.e1c.g5.v8.dt.platform.standaloneserver.core.SessionCommandBuilder.CommandLineBuilderWithMandatoryParameters
addOption, collectArguments, getInitialArguments, getOptionsForThisArgument
-
-
-
-
Method Detail
-
withErrorMessage
public SessionCommandBuilder.InterruptServerCallBuilder withErrorMessage(String message)
Specify a reason for interrupting a 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.
-
-