public enum SubscriptionAuthMode extends Enum<SubscriptionAuthMode>
| Enum Constant and Description |
|---|
None
Every subscription name can be used by every role.
|
Prefix
Subscription name with auth role prefix can be used by the role.
|
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionAuthMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionAuthMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionAuthMode None
public static final SubscriptionAuthMode Prefix
public static SubscriptionAuthMode[] values()
for (SubscriptionAuthMode c : SubscriptionAuthMode.values()) System.out.println(c);
public static SubscriptionAuthMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017–2022 Apache Software Foundation. All rights reserved.