mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
51 lines
1.7 KiB
Java
51 lines
1.7 KiB
Java
package FoamXServer;
|
|
|
|
|
|
/**
|
|
* FoamXServer/JobStatus.java .
|
|
* Generated by the IDL-to-Java compiler (portable), version "3.1"
|
|
* from FoamX.idl
|
|
* 02 April 2007 09:53:40 o'clock BST
|
|
*/
|
|
|
|
public class JobStatus implements org.omg.CORBA.portable.IDLEntity
|
|
{
|
|
private int __value;
|
|
private static int __size = 7;
|
|
private static FoamXServer.JobStatus[] __array = new FoamXServer.JobStatus [__size];
|
|
|
|
public static final int _JOB_UNDEFINED = 0;
|
|
public static final FoamXServer.JobStatus JOB_UNDEFINED = new FoamXServer.JobStatus(_JOB_UNDEFINED);
|
|
public static final int _JOB_LAUNCHING = 1;
|
|
public static final FoamXServer.JobStatus JOB_LAUNCHING = new FoamXServer.JobStatus(_JOB_LAUNCHING);
|
|
public static final int _JOB_RUNNING = 2;
|
|
public static final FoamXServer.JobStatus JOB_RUNNING = new FoamXServer.JobStatus(_JOB_RUNNING);
|
|
public static final int _JOB_STOPPING = 3;
|
|
public static final FoamXServer.JobStatus JOB_STOPPING = new FoamXServer.JobStatus(_JOB_STOPPING);
|
|
public static final int _JOB_SUSPENDED = 4;
|
|
public static final FoamXServer.JobStatus JOB_SUSPENDED = new FoamXServer.JobStatus(_JOB_SUSPENDED);
|
|
public static final int _JOB_FINISHED = 5;
|
|
public static final FoamXServer.JobStatus JOB_FINISHED = new FoamXServer.JobStatus(_JOB_FINISHED);
|
|
public static final int _JOB_ABORTED = 6;
|
|
public static final FoamXServer.JobStatus JOB_ABORTED = new FoamXServer.JobStatus(_JOB_ABORTED);
|
|
|
|
public int value ()
|
|
{
|
|
return __value;
|
|
}
|
|
|
|
public static FoamXServer.JobStatus from_int (int value)
|
|
{
|
|
if (value >= 0 && value < __size)
|
|
return __array[value];
|
|
else
|
|
throw new org.omg.CORBA.BAD_PARAM ();
|
|
}
|
|
|
|
protected JobStatus (int value)
|
|
{
|
|
__value = value;
|
|
__array[__value] = this;
|
|
}
|
|
} // class JobStatus
|