fr.ifremer.isisfish.ui.script
Enum ScriptAction.ScriptMapping
java.lang.Object
java.lang.Enum<ScriptAction.ScriptMapping>
fr.ifremer.isisfish.ui.script.ScriptAction.ScriptMapping
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ScriptAction.ScriptMapping>
- Enclosing class:
- ScriptAction
protected static enum ScriptAction.ScriptMapping
- extends java.lang.Enum<ScriptAction.ScriptMapping>
enum to encapsulate a script module
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Script
public static final ScriptAction.ScriptMapping Script
Simulator
public static final ScriptAction.ScriptMapping Simulator
Export
public static final ScriptAction.ScriptMapping Export
Rule
public static final ScriptAction.ScriptMapping Rule
AnalysePlan
public static final ScriptAction.ScriptMapping AnalysePlan
Sensitivity
public static final ScriptAction.ScriptMapping Sensitivity
SensitivityExport
public static final ScriptAction.ScriptMapping SensitivityExport
EquationModel
public static final ScriptAction.ScriptMapping EquationModel
module
protected java.io.File module
templatePath
protected java.lang.String templatePath
values
public static ScriptAction.ScriptMapping[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ScriptAction.ScriptMapping c : ScriptAction.ScriptMapping.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ScriptAction.ScriptMapping 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
java.lang.NullPointerException - if the argument is null
getMappingFor
public static ScriptAction.ScriptMapping getMappingFor(java.io.File file)
- Get script type for script path.
- Parameters:
file - file to get type
- Returns:
- ScriptMapping type
getModule
public java.io.File getModule()
getTemplatePath
public java.lang.String getTemplatePath()
Copyright © 1999-2010 CodeLutin. All Rights Reserved.