@SuppressWarnings("deprecation") @Test public void testDeserializePoll() throws Exception { final WarehouseTask warehouseTask = readObjectFromResource("/warehouse/warehouseTask-poll.json", WarehouseTask.class); assertThat(warehouseTask.getPollUri(), is("/gdc/datawarehouse/executions/executionId")); }
public String getPollUri() { return links.get(POLL_LINK); }
WarehouseTask { public String getPollUri() { return links.get(POLL_LINK); } }
WarehouseTask { public String getPollUri() { return links.get(POLL_LINK); } @JsonCreator private  WarehouseTask(@JsonProperty("links") Map<String, String> links); }
WarehouseTask { public String getPollUri() { return links.get(POLL_LINK); } @JsonCreator private  WarehouseTask(@JsonProperty("links") Map<String, String> links); String getPollUri(); String getWarehouseUri(); String getWarehouseUserUri(); }
WarehouseTask { public String getPollUri() { return links.get(POLL_LINK); } @JsonCreator private  WarehouseTask(@JsonProperty("links") Map<String, String> links); String getPollUri(); String getWarehouseUri(); String getWarehouseUserUri();  }