Enum Class PolicyName

java.lang.Object
java.lang.Enum<PolicyName>
org.apache.pulsar.common.policies.data.PolicyName
All Implemented Interfaces:
Serializable, Comparable<PolicyName>, Constable

public enum PolicyName extends Enum<PolicyName>
PolicyName authorization operations.
  • Enum Constant Details

    • ALL

      public static final PolicyName ALL
    • ANTI_AFFINITY

      public static final PolicyName ANTI_AFFINITY
    • AUTO_SUBSCRIPTION_CREATION

      public static final PolicyName AUTO_SUBSCRIPTION_CREATION
    • AUTO_TOPIC_CREATION

      public static final PolicyName AUTO_TOPIC_CREATION
    • BACKLOG

      public static final PolicyName BACKLOG
    • COMPACTION

      public static final PolicyName COMPACTION
    • DELAYED_DELIVERY

      public static final PolicyName DELAYED_DELIVERY
    • INACTIVE_TOPIC

      public static final PolicyName INACTIVE_TOPIC
    • DEDUPLICATION

      public static final PolicyName DEDUPLICATION
    • MAX_CONSUMERS

      public static final PolicyName MAX_CONSUMERS
    • MAX_PRODUCERS

      public static final PolicyName MAX_PRODUCERS
    • DEDUPLICATION_SNAPSHOT

      public static final PolicyName DEDUPLICATION_SNAPSHOT
    • MAX_UNACKED

      public static final PolicyName MAX_UNACKED
    • MAX_SUBSCRIPTIONS

      public static final PolicyName MAX_SUBSCRIPTIONS
    • OFFLOAD

      public static final PolicyName OFFLOAD
    • PARTITION

      public static final PolicyName PARTITION
    • PERSISTENCE

      public static final PolicyName PERSISTENCE
    • RATE

      public static final PolicyName RATE
    • RETENTION

      public static final PolicyName RETENTION
    • REPLICATION

      public static final PolicyName REPLICATION
    • REPLICATION_RATE

      public static final PolicyName REPLICATION_RATE
    • SCHEMA_COMPATIBILITY_STRATEGY

      public static final PolicyName SCHEMA_COMPATIBILITY_STRATEGY
    • SUBSCRIPTION_AUTH_MODE

      public static final PolicyName SUBSCRIPTION_AUTH_MODE
    • SUBSCRIPTION_EXPIRATION_TIME

      public static final PolicyName SUBSCRIPTION_EXPIRATION_TIME
    • ENCRYPTION

      public static final PolicyName ENCRYPTION
    • TTL

      public static final PolicyName TTL
    • MAX_TOPICS

      public static final PolicyName MAX_TOPICS
    • RESOURCEGROUP

      public static final PolicyName RESOURCEGROUP
    • ENTRY_FILTERS

      public static final PolicyName ENTRY_FILTERS
    • SHADOW_TOPIC

      public static final PolicyName SHADOW_TOPIC
  • Method Details

    • values

      public static PolicyName[] 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 PolicyName 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