public class ActionTypeNameResolver extends Object
| Constructor and Description |
|---|
ActionTypeNameResolver() |
| Modifier and Type | Method and Description |
|---|---|
Map<Long,String> |
getActionTypesIdsToNames()
Get the map of action type IDs to names.
|
Map<String,Long> |
getActionTypesNamesToIds()
Get the map of action type names to IDs.
|
void |
populateActionTypesFromApi(com.github.cafdataprocessing.processing.service.client.api.ActionTypesApi actionTypesApi,
String projectId)
Records action type name and ID information for future resolution by querying provided action type API with the project ID.
|
public void populateActionTypesFromApi(com.github.cafdataprocessing.processing.service.client.api.ActionTypesApi actionTypesApi,
String projectId)
throws com.github.cafdataprocessing.processing.service.client.ApiException
actionTypesApi - API to call to retreive action type information.projectId - ProjectId to send query requests with.com.github.cafdataprocessing.processing.service.client.ApiException - Thrown if there is an error communicating with the API or if error response received from API.public Map<String,Long> getActionTypesNamesToIds()
Copyright © 2015–2017 EntIT Software LLC, a Micro Focus company. All rights reserved.