com.cisco.trex.stateful.api.lowlevel.ASTFCmdJmpnz 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.stateful.api.lowlevel;
/** Java implementation for TRex python sdk ASTFCmdJmpnz class */
public class ASTFCmdJmpnz extends ASTFCmd {
private static final String NAME = "jmp_nz";
private String label;
/**
* construct
*
* @param idVal
* @param offset
* @param label
*/
public ASTFCmdJmpnz(String idVal, int offset, String label) {
super();
this.label = label;
fields.addProperty("name", NAME);
fields.addProperty("id", idVal);
fields.addProperty("offset", offset);
}
@Override
public String getName() {
return NAME;
}
/**
* get label
*
* @return label
*/
public String getLabel() {
return label;
}
}