public ObservableValue<Date> call(
CellDataFeatures<WorkflowInstanceResultModel, Date> p) {
return p.getValue().timeout;
}
});
TableColumnHelper.setConverterCellFactory(timeoutColumn, new DateStringConverter("dd.MM.yyyy HH:mm:ss"));
lastActivityTimestamp.setCellValueFactory(new Callback<CellDataFeatures<WorkflowInstanceResultModel, Date>, ObservableValue<Date>>() {
@Override
public ObservableValue<Date> call(
CellDataFeatures<WorkflowInstanceResultModel, Date> p) {
return p.getValue().lastActivityTimestamp;
}
});
TableColumnHelper.setConverterCellFactory(lastActivityTimestamp, new DateStringConverter("dd.MM.yyyy HH:mm:ss"));
overallLifetimeInMs.setCellValueFactory(new Callback<CellDataFeatures<WorkflowInstanceResultModel, String>, ObservableValue<String>>() {
@Override
public ObservableValue<String> call(
CellDataFeatures<WorkflowInstanceResultModel, String> p) {
return p.getValue().overallLifetimeInMs.asString();
}
});
startTime.setCellValueFactory(new Callback<CellDataFeatures<WorkflowInstanceResultModel, Date>, ObservableValue<Date>>() {
@Override
public ObservableValue<Date> call(
CellDataFeatures<WorkflowInstanceResultModel, Date> p) {
return p.getValue().startTime;
}
});
TableColumnHelper.setConverterCellFactory(startTime, new DateStringConverter("dd.MM.yyyy HH:mm:ss"));
finishTime.setCellValueFactory(new Callback<CellDataFeatures<WorkflowInstanceResultModel, Date>, ObservableValue<Date>>() {
@Override
public ObservableValue<Date> call(
CellDataFeatures<WorkflowInstanceResultModel, Date> p) {
return p.getValue().finishTime;
}
});
TableColumnHelper.setConverterCellFactory(finishTime, new DateStringConverter("dd.MM.yyyy HH:mm:ss"));
lastErrorTime.setCellValueFactory(new Callback<CellDataFeatures<WorkflowInstanceResultModel, Date>, ObservableValue<Date>>() {
@Override
public ObservableValue<Date> call(
CellDataFeatures<WorkflowInstanceResultModel, Date> p) {
return p.getValue().lastErrorTime;
}
});
TableColumnHelper.setConverterCellFactory(lastErrorTime, new DateStringConverter("dd.MM.yyyy HH:mm:ss"));
errorInfos.setCellValueFactory(new Callback<CellDataFeatures<WorkflowInstanceResultModel, String>, ObservableValue<String>>() {
@Override
public ObservableValue<String> call(
CellDataFeatures<WorkflowInstanceResultModel, String> p) {
return p.getValue().errorInfos;