All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sitoolkit.wt.domain.operation.OperationResult Maven / Gradle / Ivy

There is a newer version: 2.3
Show newest version
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