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

@param taskId
The id of the task to nark as complete