public interface Authority extends Comparable<Authority>, Serializable
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
static Pattern |
LOGICAL_MASTER_AUTH |
static Pattern |
LOGICAL_ZOOKEEPER_AUTH |
static Pattern |
MULTI_MASTERS_AUTH |
static Pattern |
SINGLE_MASTER_AUTH |
static Pattern |
ZOOKEEPER_AUTH |
Modifier and Type | Method and Description |
---|---|
default int |
compareTo(Authority o) |
static Authority |
fromString(String authority)
Gets the Authority object from the input string.
|
static final org.slf4j.Logger LOG
static final Pattern LOGICAL_MASTER_AUTH
static final Pattern LOGICAL_ZOOKEEPER_AUTH
static final Pattern SINGLE_MASTER_AUTH
static final Pattern ZOOKEEPER_AUTH
static final Pattern MULTI_MASTERS_AUTH
static Authority fromString(String authority)
authority
- the string authority to transferdefault int compareTo(Authority o)
compareTo
in interface Comparable<Authority>
Copyright © 2023. All Rights Reserved.