Package net.officefloor.maven.woof
Class JavaFxFacet
- java.lang.Object
-
- net.officefloor.maven.woof.JavaFxFacet
-
-
Constructor Summary
Constructors Constructor Description JavaFxFacet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.net.URL[]
getClassPathEntries(java.net.URL[] pluginUrls, boolean isIncludeJavaFx, java.io.File javaFxLibDir)
Obtains theURL
s for class path entries.boolean
isSupported(JavaFacetContext context)
Indicates if the facet is supported.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.frame.compatibility.JavaFacet
isSupported
-
-
-
-
Method Detail
-
getClassPathEntries
public static java.net.URL[] getClassPathEntries(java.net.URL[] pluginUrls, boolean isIncludeJavaFx, java.io.File javaFxLibDir) throws java.lang.Exception
Obtains theURL
s for class path entries.- Parameters:
pluginUrls
-URL
entries for plugin class path.isIncludeJavaFx
- Indicates whether to include the JavaFX classes.javaFxLibDir
- Library directory for JavaFX install. May benull
.- Returns:
URL
s for class path entries.- Throws:
java.lang.Exception
- If fails to load the class path entries.
-
isSupported
public boolean isSupported(JavaFacetContext context) throws java.lang.Exception
Description copied from interface:JavaFacet
Indicates if the facet is supported.- Specified by:
isSupported
in interfaceJavaFacet
- Parameters:
context
-JavaFacetContext
.- Returns:
true
if the facet is supported.- Throws:
java.lang.Exception
- If fails to determine if facet is supported.
-
-