The HistoriesClient.deleteHistory will return a HistoryDeleteResponse representing the information returned from a DELETE operation. Deleting libraries or workflows will just return a ClientResponse (specific response objects for each could be added though).
This adds the methods to delete Histories, Data Libraries, and Workflows. This can be accomplished by running the methods:
The
HistoriesClient.deleteHistory
will return aHistoryDeleteResponse
representing the information returned from a DELETE operation. Deleting libraries or workflows will just return aClientResponse
(specific response objects for each could be added though).Also,
HistoriesClient.deleteHistory
does not allow for purging of histories. This is due to a bug in Java 6 and 7 which disallows sending a body along with a DELETE request (see http://bugs.java.com/view_bug.do?bug_id=7157360 and http://stackoverflow.com/questions/12670169/not-able-to-invoke-an-delete-web-service-in-rest-jersey/20075713#20075713).Please let me know if you'd like to see any additional changes.