Class StatisticsResource
java.lang.Object
io.nflow.rest.v1.ResourceBase
io.nflow.rest.v1.jaxrs.JaxRsResource
io.nflow.rest.v1.jaxrs.StatisticsResource
@Path("/v1/statistics")
@Consumes("application/json")
@Produces("application/json")
@Component
public class StatisticsResource
extends JaxRsResource
-
Field Summary
Fields inherited from class ResourceBase
DEPRECATED_INCLUDE_PARAM_DESC, INCLUDES_PARAM_DESC, QUERY_ARCHIVED_DEFAULT, QUERY_ARCHIVED_DEFAULT_STR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsegetStatistics(String type, org.joda.time.DateTime createdAfter, org.joda.time.DateTime createdBefore, org.joda.time.DateTime modifiedAfter, org.joda.time.DateTime modifiedBefore) jakarta.ws.rs.core.ResponseMethods inherited from class JaxRsResource
handleExceptionsMethods inherited from class ResourceBase
fetchWorkflowInstance, handleExceptions, listWorkflowDefinitions, listWorkflowInstances, resolveExceptionHttpStatus, updateWorkflowInstance
-
Constructor Details
-
StatisticsResource
public StatisticsResource()
-
-
Method Details
-
queryStatistics
@GET public jakarta.ws.rs.core.Response queryStatistics() -
getStatistics
@GET @Path("/workflow/{type}") public jakarta.ws.rs.core.Response getStatistics(@PathParam("type") String type, @QueryParam("createdAfter") org.joda.time.DateTime createdAfter, @QueryParam("createdBefore") org.joda.time.DateTime createdBefore, @QueryParam("modifiedAfter") org.joda.time.DateTime modifiedAfter, @QueryParam("modifiedBefore") org.joda.time.DateTime modifiedBefore)
-