public class ExecServiceDescription extends Object
This class encapsulate the description of a service, including:
Constructor and Description |
---|
ExecServiceDescription(String name,
String description)
A new service description with the given service name and description.
|
Modifier and Type | Method and Description |
---|---|
ExecServiceDescription |
addServiceMethod(ExecServiceMethodDescription jdbcServiceMethodDescription)
Adds a service method (i.e.
|
ExecServiceDescription |
executorService(ExecutorService executorService)
The ExecutorService on which to execute the query.
|
ExecServiceDescription |
shell(String shell) |
ExecServiceDescription |
shellArg(String shellArg) |
public ExecServiceDescription addServiceMethod(ExecServiceMethodDescription jdbcServiceMethodDescription)
jdbcServiceMethodDescription
- a method descriptionpublic ExecServiceDescription shell(String shell)
public ExecServiceDescription shellArg(String shellArg)
public ExecServiceDescription executorService(ExecutorService executorService)
executorService
- an executor serviceCopyright © 2010–2015. All rights reserved.