public void completeTask ( int taskId ) { getResourceFactory ( ) . getApiResource ( "/task/" + taskId + "/complete" ) . entity ( new Empty ( ) , MediaType . APPLICATION_JSON_TYPE ) . post ( ) ; }
Mark the given task as completed .