Package org.openjfx.model
Enum JavaFXModule
- java.lang.Object
-
- java.lang.Enum<JavaFXModule>
-
- org.openjfx.model.JavaFXModule
-
- All Implemented Interfaces:
Serializable
,Comparable<JavaFXModule>
public enum JavaFXModule extends Enum<JavaFXModule>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<JavaFXModule>
fromArtifactName(String artifactName)
String
getArtifactName()
List<JavaFXModule>
getDependentModules()
JavaFXDependency
getMavenDependency(String platform, String version)
String
getModuleJarFileName()
String
getModuleName()
List<JavaFXDependency>
getTransitiveMavenDependencies(String platform, String version)
static JavaFXModule
valueOf(String name)
Returns the enum constant of this type with the specified name.static JavaFXModule[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASE
public static final JavaFXModule BASE
-
GRAPHICS
public static final JavaFXModule GRAPHICS
-
CONTROLS
public static final JavaFXModule CONTROLS
-
FXML
public static final JavaFXModule FXML
-
MEDIA
public static final JavaFXModule MEDIA
-
SWING
public static final JavaFXModule SWING
-
WEB
public static final JavaFXModule WEB
-
-
Method Detail
-
values
public static JavaFXModule[] 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 (JavaFXModule c : JavaFXModule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JavaFXModule valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromArtifactName
public static Optional<JavaFXModule> fromArtifactName(String artifactName)
-
getModuleName
public String getModuleName()
-
getModuleJarFileName
public String getModuleJarFileName()
-
getArtifactName
public String getArtifactName()
-
getDependentModules
public List<JavaFXModule> getDependentModules()
-
getTransitiveMavenDependencies
public List<JavaFXDependency> getTransitiveMavenDependencies(String platform, String version)
-
getMavenDependency
public JavaFXDependency getMavenDependency(String platform, String version)
-
-