Enum Class ConfigShares.Apply

java.lang.Object
java.lang.Enum<ConfigShares.Apply>
dev.myriadclient.api.share.ConfigShares.Apply
All Implemented Interfaces:
Serializable, Comparable<ConfigShares.Apply>, Constable
Enclosing interface:
ConfigShares

public static enum ConfigShares.Apply extends Enum<ConfigShares.Apply>
How to take a share in.
  • Enum Constant Details

    • REPLACE

      public static final ConfigShares.Apply REPLACE
      Its settings become yours (protected ones excepted), its modules on or off as shared, its control panels, wheels and theme added.
    • AS_CONTROL_PANEL

      public static final ConfigShares.Apply AS_CONTROL_PANEL
      As a new control panel of its modules that were on for the sharer (all of them if none was) and their settings, so you can try it and turn it off to have your own back (layered over yours, nothing overwritten); none for a share without modules. Its own control panels, wheels and theme are added as with REPLACE.
  • Method Details

    • values

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

      public static ConfigShares.Apply valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null