org.sitoolkit.wt.domain.operation.OperationResult Maven / Gradle / Ivy
package org.sitoolkit.wt.domain.operation;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.sitoolkit.wt.domain.evidence.LogRecord;
public class OperationResult {
private List records = new ArrayList<>();
public OperationResult() {
super();
}
public OperationResult(LogRecord... logRecords) {
this();
this.records = Arrays.asList(logRecords);
}
public OperationResult(List logRecords) {
this();
this.records = logRecords;
}
public void addRecord(LogRecord record) {
records.add(record);
}
public List getRecords() {
return records;
}
public void setRecords(List records) {
this.records = records;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy