Enum RuntimePathOption

  • All Implemented Interfaces:
    Serializable, Comparable<RuntimePathOption>

    public enum RuntimePathOption
    extends Enum<RuntimePathOption>
    All the classes and dependencies are added to either the classpath or modulepath depending on the option set in the plugin configuration. If not set, the plugin chooses the suitable option for classes and dependencies based on a few parameters, like presence of module descriptor file.
    • Enum Constant Detail

      • CLASSPATH

        public static final RuntimePathOption CLASSPATH
        Puts all the dependencies on the classpath. If a module-info.java is present, it is ignored. A Launcher class is required to run a JavaFX application from the classpath.
      • MODULEPATH

        public static final RuntimePathOption MODULEPATH
        Puts all the dependencies on the modulepath.
    • Method Detail

      • values

        public static RuntimePathOption[] 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 (RuntimePathOption c : RuntimePathOption.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RuntimePathOption 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 name
        NullPointerException - if the argument is null