Constructor and Description |
---|
EventAnalyticsReportResource() |
Modifier and Type | Method and Description |
---|---|
Response |
getGraph(String requestJSONStr,
String graphType)
Returns the response for a requested graph request as JSON data.
|
<T> T |
getMapValue(Map rootMap,
String key,
Class<T> type)
Method that returns the map value for the given key, converted to the given class (type) or null if this map
contains no mapping for the key.
|
@Path(value="/{graphType}") @POST @Consumes(value="application/json") @Produces(value="application/json") public Response getGraph(String requestJSONStr, @PathParam(value="graphType") String graphType) throws Exception
Exception
public <T> T getMapValue(Map rootMap, String key, Class<T> type)
rootMap
- the root mapkey
- the keytype
- type of returnLumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.