public enum RedisType extends Enum<RedisType>
| Enum Constant and Description |
|---|
CLUSTER |
SENTINEL |
STANDALONE |
| Modifier and Type | Field and Description |
|---|---|
private String |
description |
private String |
displayName |
| Modifier and Type | Method and Description |
|---|---|
static RedisType |
fromDisplayName(String displayName) |
String |
getDescription() |
String |
getDisplayName() |
static RedisType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisType STANDALONE
public static final RedisType SENTINEL
public static final RedisType CLUSTER
private final String displayName
private final String description
public static RedisType[] values()
for (RedisType c : RedisType.values()) System.out.println(c);
public static RedisType 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 String getDisplayName()
public String getDescription()
Copyright © 2022 Apache NiFi Project. All rights reserved.