org.fraid.utils
Enum ExecutionMode

java.lang.Object
  extended by java.lang.Enum<ExecutionMode>
      extended by org.fraid.utils.ExecutionMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExecutionMode>

public enum ExecutionMode
extends java.lang.Enum<ExecutionMode>


Enum Constant Summary
APPLET
           
DEVELOPMENT
           
JAR_LOCAL
           
 
Method Summary
static java.io.File getBinDir()
           
static java.io.File getExecJar()
           
static java.lang.String getFraidPath()
           
static ExecutionMode getMode()
           
static void init()
           
static void setExecutionParameters(java.lang.String aSeedFileName)
           
static void setInApplet()
           
static ExecutionMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExecutionMode[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

APPLET

public static final ExecutionMode APPLET

JAR_LOCAL

public static final ExecutionMode JAR_LOCAL

DEVELOPMENT

public static final ExecutionMode DEVELOPMENT
Method Detail

values

public static final ExecutionMode[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ExecutionMode c : ExecutionMode.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ExecutionMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getMode

public static ExecutionMode getMode()

setInApplet

public static void setInApplet()

getBinDir

public static java.io.File getBinDir()

getExecJar

public static java.io.File getExecJar()

getFraidPath

public static java.lang.String getFraidPath()

init

public static void init()

setExecutionParameters

public static void setExecutionParameters(java.lang.String aSeedFileName)
                                   throws UtilsException
Throws:
UtilsException


Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.