public class ServiceManager extends Object
Constructor and Description |
---|
ServiceManager(ParamRepository par,
Run run)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
configure()
Configures the service.
|
static Set<String> |
getActiveDeployments()
Obtains the set of active services and tools deployments used in the
current run.
|
void |
getConfig()
Obtains the configuration of a service.
|
void |
getLogs()
Obtains the logs of a service.
|
List<MasterToolContext> |
getTools()
Returns a list of MasterToolContext.
|
void |
parseServicesAndTools(String type,
String dir)
Parses a service/tool bundle.
|
void |
parseToolSets(String type,
String dir)
Parses and creates the appropriate structures for the tool sets.
|
void |
shutdown()
Stops a service.
|
void |
startup()
Starts a service.
|
public ServiceManager(ParamRepository par, Run run) throws Exception
par
- The param repositoryrun
- The run objectException
- If there is an error constructingpublic static Set<String> getActiveDeployments()
public void parseServicesAndTools(String type, String dir)
type
- The location type, services or benchmarkdir
- The deploy jar name, without .jarpublic void parseToolSets(String type, String dir)
type
- The location type, services or benchmarkdir
- The deploy jar name, without .jarpublic List<MasterToolContext> getTools()
public void configure()
public void getConfig()
public void getLogs()
public void startup()
public void shutdown()