Package fr.ifremer.isisfish.ui.script
Enum Class ScriptHandler.ScriptMapping
java.lang.Object
java.lang.Enum<ScriptHandler.ScriptMapping>
fr.ifremer.isisfish.ui.script.ScriptHandler.ScriptMapping
- All Implemented Interfaces:
Serializable
,Comparable<ScriptHandler.ScriptMapping>
,Constable
- Enclosing class:
- ScriptHandler
enum to encapsulate a script module
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScriptHandler.ScriptMapping
getMappingFor
(File file) Get script type for script path.boolean
static ScriptHandler.ScriptMapping
Returns the enum constant of this class with the specified name.static ScriptHandler.ScriptMapping[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Export
-
Rule
-
ResultInfo
-
Objective
-
Optimization
-
Script
-
Sensitivity
-
SensitivityExport
-
SimulationPlan
-
Simulator
-
Formule
-
CommunityExport
-
CommunityObjective
-
CommunityOptimization
-
CommunityRule
-
CommunityResultInfo
-
CommunityScript
-
CommunitySensitivity
-
CommunitySensitivityExport
-
CommunitySimulationPlan
-
CommunitySimulator
-
CommunityFormule
-
-
Field Details
-
module
-
templatePath
-
officialVCS
protected boolean officialVCS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getMappingFor
Get script type for script path.- Parameters:
file
- file to get type- Returns:
- ScriptMapping type
-
getModule
-
getTemplatePath
-
isOfficialVCS
public boolean isOfficialVCS()
-