public enum RuleMode extends Enum<RuleMode>
| Enum Constant and Description |
|---|
DOWNGRADE |
READ |
UPDOWN |
UPGRADE |
WRITE |
WRITEREAD |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDomainRule() |
boolean |
isMigrationRule() |
static RuleMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleMode UPGRADE
public static final RuleMode DOWNGRADE
public static final RuleMode UPDOWN
public static final RuleMode WRITE
public static final RuleMode READ
public static final RuleMode WRITEREAD
public static RuleMode[] values()
for (RuleMode c : RuleMode.values()) System.out.println(c);
public static RuleMode 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 nullpublic boolean isMigrationRule()
public boolean isDomainRule()
Copyright © 2025 Confluent, Inc.. All rights reserved.