public final class LeaseState extends ExpandableStringEnum<LeaseState>
Modifier and Type | Field and Description |
---|---|
static LeaseState |
AVAILABLE
Static value Available for LeaseState.
|
static LeaseState |
BREAKING
Static value Breaking for LeaseState.
|
static LeaseState |
BROKEN
Static value Broken for LeaseState.
|
static LeaseState |
EXPIRED
Static value Expired for LeaseState.
|
static LeaseState |
LEASED
Static value Leased for LeaseState.
|
Constructor and Description |
---|
LeaseState() |
Modifier and Type | Method and Description |
---|---|
static LeaseState |
fromString(String name)
Creates or finds a LeaseState from its string representation.
|
static Collection<LeaseState> |
values() |
equals, fromString, hashCode, toString, values, withNameValue
public static final LeaseState AVAILABLE
public static final LeaseState LEASED
public static final LeaseState EXPIRED
public static final LeaseState BREAKING
public static final LeaseState BROKEN
public static LeaseState fromString(String name)
name
- a name to look forpublic static Collection<LeaseState> values()
Copyright © 2019. All rights reserved.