public static enum CDOCommonRepository.State extends Enum<CDOCommonRepository.State>
states
of a CDO repository.Modifier and Type | Method and Description |
---|---|
boolean |
isConnected() |
static CDOCommonRepository.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CDOCommonRepository.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CDOCommonRepository.State INITIAL
public static final CDOCommonRepository.State OFFLINE
public static final CDOCommonRepository.State SYNCING
public static final CDOCommonRepository.State ONLINE
public static CDOCommonRepository.State[] values()
for (CDOCommonRepository.State c : CDOCommonRepository.State.values()) System.out.println(c);
public static CDOCommonRepository.State 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 isConnected()
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.