public class DesiredConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DesiredConfig.HostOverride
Used to represent an override on a host.
|
Constructor and Description |
---|
DesiredConfig() |
Modifier and Type | Method and Description |
---|---|
List<DesiredConfig.HostOverride> |
getHostOverrides()
Gets the host overrides for the desired config.
|
String |
getServiceName()
Gets the service name (if any) for the desired config.
|
String |
getUser()
Gets the user that set the desired config.
|
String |
getVersion()
Gets the version tag
|
void |
setHostOverrides(List<DesiredConfig.HostOverride> overrides)
Sets the host overrides for the desired config.
|
void |
setServiceName(String name)
Sets the service name (if any) for the desired config.
|
void |
setUser(String userName)
Sets the user that set the desired config.
|
void |
setVersion(String version)
Sets the version tag
|
String |
toString() |
public void setVersion(String version)
version
- the version tagpublic String getVersion()
public String getServiceName()
public void setServiceName(String name)
name
- the service namepublic void setHostOverrides(List<DesiredConfig.HostOverride> overrides)
overrides
- the host namespublic String getUser()
public void setUser(String userName)
userName
- the usernamepublic List<DesiredConfig.HostOverride> getHostOverrides()
Copyright © 2014. All rights reserved.