org.webdocwf.util.loader
Class ReturnCode

java.lang.Object
  extended by org.webdocwf.util.loader.ReturnCode

public class ReturnCode
extends java.lang.Object

ReturnCode - If some element of loadjobs fails, the java.exe has to return a ReturnCode to the environment.


Field Summary
static boolean isParameter
           
 
Constructor Summary
ReturnCode()
           
 
Method Summary
static int getDefaultErrorReturnCode()
          Read default error return code
static int getErrorReturnCode()
          Read current error return code
static int getOKReturnCode()
          Read return code for normal end of java program
static void setDefaultErrorReturnCode(int code)
          Set default error return code.
static void setErrorReturnCode(int code)
          Set current error return code.
static void setOKReturnCode(int code)
          Set return code for normal end of program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isParameter

public static boolean isParameter
Constructor Detail

ReturnCode

public ReturnCode()
Method Detail

getOKReturnCode

public static int getOKReturnCode()
Read return code for normal end of java program

Returns:
int return code

setOKReturnCode

public static void setOKReturnCode(int code)
Set return code for normal end of program.

Parameters:
code - is new value of return code.

getErrorReturnCode

public static int getErrorReturnCode()
Read current error return code

Returns:
int return code

setErrorReturnCode

public static void setErrorReturnCode(int code)
Set current error return code.

Parameters:
code - is new value of return code.

getDefaultErrorReturnCode

public static int getDefaultErrorReturnCode()
Read default error return code

Returns:
int return code

setDefaultErrorReturnCode

public static void setDefaultErrorReturnCode(int code)
Set default error return code.

Parameters:
code - is new value of default return code.


Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.