public static enum RemoteSiteDef.SiteState extends java.lang.Enum<RemoteSiteDef.SiteState>
Enum Constant and Description |
---|
OFFLINE
Remote site is not available for receiving router write actions
|
ONLINE
Remote site is available for receiving router write actions
|
RESYNCING
Local site is re-syncing pending router write actions to this remote site
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static RemoteSiteDef.SiteState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RemoteSiteDef.SiteState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoteSiteDef.SiteState ONLINE
public static final RemoteSiteDef.SiteState OFFLINE
public static final RemoteSiteDef.SiteState RESYNCING
public static RemoteSiteDef.SiteState[] values()
for (RemoteSiteDef.SiteState c : RemoteSiteDef.SiteState.values()) System.out.println(c);
public static RemoteSiteDef.SiteState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.