zaber.motion.LogOutputMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of motion-library Show documentation
Show all versions of motion-library Show documentation
A library that aims to provide easy-to-use API for communication with Zaber devices using Zaber ASCII Protocol.
// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
// ============== DO NOT EDIT DIRECTLY ============== //
package zaber.motion;
/**
* Mode of logging output of the library.
*/
public enum LogOutputMode {
/**
* Off.
*/
OFF(0),
/**
* Stdout.
*/
STDOUT(1),
/**
* Stderr.
*/
STDERR(2),
/**
* File.
*/
FILE(3);
private int value;
LogOutputMode(int value) {
this.value = value;
}
public int getValue() {
return value;
}
public static LogOutputMode valueOf(int argValue) {
for (LogOutputMode value : values()) {
if (value.value == argValue) {
return value;
}
}
throw new IllegalArgumentException(String.valueOf(argValue));
}
}