Enum MountOption

java.lang.Object
java.lang.Enum<MountOption>
org.jboss.vfs.util.automount.MountOption
All Implemented Interfaces:
Serializable, Comparable<MountOption>, java.lang.constant.Constable

public enum MountOption extends Enum<MountOption>
Custom configurations to use when mounting archives through the Automounter.
  • Enum Constant Details

  • Constructor Details

    • MountOption

      private MountOption()
  • Method Details

    • values

      public static MountOption[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MountOption 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
    • applyTo

      abstract void applyTo(MountConfig config)
      Each option must apply its custom settings to teh MountConfig.
      Parameters:
      config - MountConfig to apply settings to