T
- the type of the static config, e.g. RegionConfigR
- the type of the corresponding runtime information, e.g. RuntimeRegionInfo@Experimental public class ClusterManagementListResult<T extends AbstractConfiguration<R>,R extends RuntimeInfo> extends ClusterManagementResult
ClusterManagementResult.StatusCode
Constructor and Description |
---|
ClusterManagementListResult() |
ClusterManagementListResult(ClusterManagementResult.StatusCode statusCode,
String message) |
Modifier and Type | Method and Description |
---|---|
void |
addEntityInfo(EntityInfo<T,R> entityInfo) |
List<T> |
getConfigResult()
Returns only the static config portion of the results
|
List<EntityGroupInfo<T,R>> |
getEntityGroupInfo()
Returns the combined payload of the list call
|
List<EntityInfo<T,R>> |
getResult() |
List<R> |
getRuntimeResult()
Returns only the runtime information portion of the results
|
void |
setEntityGroupInfo(List<EntityGroupInfo<T,R>> entityGroupInfos) |
void |
setResult(List<EntityInfo<T,R>> entities) |
equals, getStatusCode, getStatusMessage, hashCode, isSuccessful, setLinks, setStatus, toString
public ClusterManagementListResult()
public ClusterManagementListResult(ClusterManagementResult.StatusCode statusCode, String message)
public List<EntityGroupInfo<T,R>> getEntityGroupInfo()
EntityGroupInfo
public List<EntityInfo<T,R>> getResult()
public void setResult(List<EntityInfo<T,R>> entities)
public void addEntityInfo(EntityInfo<T,R> entityInfo)
public void setEntityGroupInfo(List<EntityGroupInfo<T,R>> entityGroupInfos)
public List<T> getConfigResult()