| Constructor and Description |
|---|
Service(String name,
String description,
String initScript,
ServiceState state,
Set<String> pkgs)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getInitScript() |
String |
getName() |
Set<String> |
getPackages() |
ServiceState |
getState() |
void |
setState(ServiceState state) |
public Service(String name, String description, String initScript, ServiceState state, Set<String> pkgs)
name - the name of the servicedescription - a description of this serviceinitScript - the name of the init script of this servicestate - the serviceStatepkgs - the packagespublic String getDescription()
public String getInitScript()
public ServiceState getState()
public void setState(ServiceState state)
state - the state to setCopyright © 2013-2014 Cinovo AG. All Rights Reserved.