public class ExecServiceDescription extends ServiceDescription
Gathers elements to define the exec service, including:
| Constructor and Description |
|---|
ExecServiceDescription(String name,
String description)
Creates exec service description with the given service name and
description.
|
| Modifier and Type | Method and Description |
|---|---|
ExecServiceDescription |
shell(String shell)
Adds the shell command for the service.
|
ExecServiceDescription |
shellArg(String shellArg)
Adds the argument to the shell for the service.
|
addServiceMethod, createService, createServiceMethods, executorServicepublic ExecServiceDescription shell(String shell)
shell - command to open shell; can't be nullpublic ExecServiceDescription shellArg(String shellArg)
shellArg - argument to apply to the terminal/shell; can't be nullCopyright © 2015. All rights reserved.