Enum Class CommunityScopeType

java.lang.Object
java.lang.Enum<CommunityScopeType>
com.illumon.iris.controller.handle.CommunityScopeType
All Implemented Interfaces:
Serializable, Comparable<CommunityScopeType>, java.lang.constant.Constable

public enum CommunityScopeType extends Enum<CommunityScopeType>
These are the type strings that DHC uses to identify types within the scope. They are not constants, but are instead defined within the AbstractScriptSession.java
  • Enum Constant Details

  • Method Details

    • values

      public static CommunityScopeType[] 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 CommunityScopeType 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
    • getLocalizedType

      public ExportedObjectInfo.Type getLocalizedType()
    • of

      public static ExportedObjectInfo.Type of(@NotNull String wireTypeName)
      Convert a community wireTypeName into a ExportedObjectInfo.Type we can use.
      Parameters:
      wireTypeName - wire type of community object
      Returns:
      the ExportedObjectInfo.Type for the PQ messages