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

com.hp.octane.integrations.uft.ufttestresults.schema.UftResultStepData Maven / Gradle / Ivy

There is a newer version: 2.24.3.5
Show newest version
package com.hp.octane.integrations.uft.ufttestresults.schema;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class UftResultStepData implements Serializable {
    private List parents;
    private String type;
    private String result;
    private String message;
    private long duration;
    private List inputParameters = new ArrayList<>();
    private List outputParameters = new ArrayList<>();

    public UftResultStepData(List parents, String type, String result, String message, long duration) {
        this.parents = parents;
        this.type = type;
        this.result = result;
        this.message = message;
        this.duration = duration;
    }

    public UftResultStepData(List parents, String type, String result, String message, long duration, List inputParameters, List outputParameters) {
        this.parents = parents;
        this.type = type;
        this.result = result;
        this.message = message;
        this.duration = duration;
        this.inputParameters = inputParameters;
        this.outputParameters = outputParameters;
    }

    public List getParents() {
        return parents;
    }

    public String getType() {
        return type;
    }

    public String getMessage() {
        return message;
    }

    public String getResult() {
        return result;
    }

    public String toString() {
        return String.join("/", parents) + ":" + result + (message != null ? "," + message : "");
    }

    public long getDuration() {
        return duration;
    }

    public List getInputParameters() {
        return inputParameters;
    }

    public List getOutputParameters() {
        return outputParameters;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy