55 lines
1.7 KiB
Java
55 lines
1.7 KiB
Java
/* ----------------------------------------------------------------------------
|
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
|
* Version 3.0.8
|
|
*
|
|
* Do not make changes to this file unless you know what you are doing--modify
|
|
* the SWIG interface file instead.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
package com.sequencelogic;
|
|
|
|
public final class EYE_LOG_SINK {
|
|
public final static EYE_LOG_SINK IONU_SYSLOG = new EYE_LOG_SINK("IONU_SYSLOG");
|
|
public final static EYE_LOG_SINK IONU_CONSOLE = new EYE_LOG_SINK("IONU_CONSOLE");
|
|
|
|
public final int swigValue() {
|
|
return swigValue;
|
|
}
|
|
|
|
public String toString() {
|
|
return swigName;
|
|
}
|
|
|
|
public static EYE_LOG_SINK swigToEnum(int swigValue) {
|
|
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
|
|
return swigValues[swigValue];
|
|
for (int i = 0; i < swigValues.length; i++)
|
|
if (swigValues[i].swigValue == swigValue)
|
|
return swigValues[i];
|
|
throw new IllegalArgumentException("No enum " + EYE_LOG_SINK.class + " with value " + swigValue);
|
|
}
|
|
|
|
private EYE_LOG_SINK(String swigName) {
|
|
this.swigName = swigName;
|
|
this.swigValue = swigNext++;
|
|
}
|
|
|
|
private EYE_LOG_SINK(String swigName, int swigValue) {
|
|
this.swigName = swigName;
|
|
this.swigValue = swigValue;
|
|
swigNext = swigValue+1;
|
|
}
|
|
|
|
private EYE_LOG_SINK(String swigName, EYE_LOG_SINK swigEnum) {
|
|
this.swigName = swigName;
|
|
this.swigValue = swigEnum.swigValue;
|
|
swigNext = this.swigValue+1;
|
|
}
|
|
|
|
private static EYE_LOG_SINK[] swigValues = { IONU_SYSLOG, IONU_CONSOLE };
|
|
private static int swigNext = 0;
|
|
private final int swigValue;
|
|
private final String swigName;
|
|
}
|
|
|