public class ServiceConfigVersionResponse extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CONFIG_GROUP_NAME
Name used for default config group.
|
static String |
DELETED_CONFIG_GROUP_NAME
Name used for config groups that were deleted in the service config version response.
|
Constructor and Description |
---|
ServiceConfigVersionResponse(ServiceConfigEntity serviceConfigEntity,
String configGroupName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getClusterName() |
List<ConfigurationResponse> |
getConfigurations() |
Long |
getCreateTime() |
Long |
getGroupId() |
String |
getGroupName() |
List<String> |
getHosts() |
Boolean |
getIsCurrent() |
String |
getNote() |
String |
getServiceName() |
String |
getStackId()
Gets the Stack ID that this configuration is scoped for.
|
String |
getUserName() |
Long |
getVersion() |
int |
hashCode() |
Boolean |
isCompatibleWithCurrentStack()
Gets whether this service configuration is compatible with the cluster's
current stack version.
|
void |
setConfigurations(List<ConfigurationResponse> configurations) |
void |
setIsCurrent(Boolean isCurrent) |
public static final String DEFAULT_CONFIG_GROUP_NAME
public static final String DELETED_CONFIG_GROUP_NAME
public ServiceConfigVersionResponse(ServiceConfigEntity serviceConfigEntity, String configGroupName)
serviceConfigEntity
- configGroupName
- public String getServiceName()
public Long getVersion()
public Long getCreateTime()
public String getUserName()
public String getClusterName()
public List<ConfigurationResponse> getConfigurations()
public void setConfigurations(List<ConfigurationResponse> configurations)
public String getNote()
public String getGroupName()
public Long getGroupId()
public String getStackId()
public Boolean getIsCurrent()
public void setIsCurrent(Boolean isCurrent)
public Boolean isCompatibleWithCurrentStack()
true
if compatible, false
otherwise.Copyright © 2022 Apache Software Foundation. All rights reserved.