Enum MatlabEngineSetupEnum
- java.lang.Object
-
- java.lang.Enum<MatlabEngineSetupEnum>
-
- org.eclipse.epsilon.emc.simulink.common.test.MatlabEngineSetupEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MatlabEngineSetupEnum>
public enum MatlabEngineSetupEnum extends java.lang.Enum<MatlabEngineSetupEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENGINE_JAR
LIBRARY_PATH
MATLAB
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<java.lang.String>
VERSIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
availableVersion()
static java.util.List<java.lang.String>
availableVersions()
static boolean
exists(java.lang.String version)
java.io.File
file()
java.io.File
file(java.lang.String version)
java.io.File
getLinuxFile()
java.io.File
getLinuxFile(java.lang.String version)
java.lang.String
getLinuxPath()
java.lang.String
getLinuxPath(java.lang.String version)
java.io.File
getMacOSFile()
java.io.File
getMacOSFile(java.lang.String version)
java.lang.String
getMacOSPath()
java.lang.String
getMacOSPath(java.lang.String version)
java.io.File
getWindowsFile()
java.io.File
getWindowsFile(java.lang.String version)
java.lang.String
getWindowsPath()
java.lang.String
getWindowsPath(java.lang.String version)
java.lang.String
path()
java.lang.String
path(java.lang.String version)
static MatlabEngineSetupEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MatlabEngineSetupEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENGINE_JAR
public static final MatlabEngineSetupEnum ENGINE_JAR
-
MATLAB
public static final MatlabEngineSetupEnum MATLAB
-
LIBRARY_PATH
public static final MatlabEngineSetupEnum LIBRARY_PATH
-
-
Method Detail
-
values
public static MatlabEngineSetupEnum[] 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 (MatlabEngineSetupEnum c : MatlabEngineSetupEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatlabEngineSetupEnum 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 namejava.lang.NullPointerException
- if the argument is null
-
file
public java.io.File file(java.lang.String version) throws java.lang.Exception
- Throws:
java.lang.Exception
-
path
public java.lang.String path(java.lang.String version) throws java.lang.Exception
- Throws:
java.lang.Exception
-
exists
public static boolean exists(java.lang.String version)
-
availableVersions
public static java.util.List<java.lang.String> availableVersions() throws java.lang.Exception
- Throws:
java.lang.Exception
-
availableVersion
public static java.lang.String availableVersion() throws java.lang.Exception
- Throws:
java.lang.Exception
-
file
public java.io.File file() throws java.lang.Exception
- Throws:
java.lang.Exception
-
path
public java.lang.String path() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getWindowsPath
public java.lang.String getWindowsPath() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getMacOSPath
public java.lang.String getMacOSPath() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getLinuxPath
public java.lang.String getLinuxPath() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getWindowsFile
public java.io.File getWindowsFile() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getMacOSFile
public java.io.File getMacOSFile() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getLinuxFile
public java.io.File getLinuxFile() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getWindowsPath
public java.lang.String getWindowsPath(java.lang.String version) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getMacOSPath
public java.lang.String getMacOSPath(java.lang.String version) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getLinuxPath
public java.lang.String getLinuxPath(java.lang.String version) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getWindowsFile
public java.io.File getWindowsFile(java.lang.String version) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getMacOSFile
public java.io.File getMacOSFile(java.lang.String version) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getLinuxFile
public java.io.File getLinuxFile(java.lang.String version) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-