com.cisco.trex.stateless.model.TRexClientResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trex-java-sdk Show documentation
Show all versions of trex-java-sdk Show documentation
Java client SDK provides an implementation for TRex RPC APIs
package com.cisco.trex.stateless.model;
public class TRexClientResult {
private String error;
private T resultObj;
public String getError() {
return error;
}
public void setError(String error) {
this.error = error;
}
public T get() {
return resultObj;
}
public void set(T resultObj) {
this.resultObj = resultObj;
}
public boolean isFailed() {
return error != null;
}
}