Enum Class Bean.Visibility

java.lang.Object
java.lang.Enum<Bean.Visibility>
io.inverno.core.annotation.Bean.Visibility
All Implemented Interfaces:
Serializable, Comparable<Bean.Visibility>, Constable
Enclosing class:
Bean

public static enum Bean.Visibility extends Enum<Bean.Visibility>
Indicates the visibility of a bean in a module.
Since:
1.0
Author:
Jeremy Kuhn
  • Enum Constant Details

    • PRIVATE

      public static final Bean.Visibility PRIVATE
      A private bean is only accessible inside the module.
    • PUBLIC

      public static final Bean.Visibility PUBLIC
      A public bean is accessible inside the module and in enclosing modules.
  • Method Details

    • values

      public static Bean.Visibility[] 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 Bean.Visibility 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