CatalogInitialization
@Deprecated public enum CatalogLoadMode extends java.lang.Enum<CatalogLoadMode>
Enum Constant and Description |
---|
LOAD_BROOKLYN_CATALOG_URL
Deprecated.
The server will load its initial catalog from the URL configured in
BrooklynServerConfig.BROOKLYN_CATALOG_URL and will
disregard existing persisted state. |
LOAD_BROOKLYN_CATALOG_URL_IF_NO_PERSISTED_STATE
Deprecated.
The server will load its initial catalog from previously persisted state,
and will behave as
LOAD_BROOKLYN_CATALOG_URL if no state exists. |
LOAD_PERSISTED_STATE
Deprecated.
The server will load its initial catalog from previously persisted state.
|
Modifier and Type | Method and Description |
---|---|
static CatalogLoadMode |
forPersistMode(PersistMode m)
Deprecated.
|
static CatalogLoadMode |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static CatalogLoadMode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CatalogLoadMode LOAD_BROOKLYN_CATALOG_URL
BrooklynServerConfig.BROOKLYN_CATALOG_URL
and will
disregard existing persisted state.public static final CatalogLoadMode LOAD_BROOKLYN_CATALOG_URL_IF_NO_PERSISTED_STATE
LOAD_BROOKLYN_CATALOG_URL
if no state exists.public static final CatalogLoadMode LOAD_PERSISTED_STATE
public static CatalogLoadMode[] values()
for (CatalogLoadMode c : CatalogLoadMode.values()) System.out.println(c);
public static CatalogLoadMode 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 static CatalogLoadMode forPersistMode(PersistMode m)
LOAD_BROOKLYN_CATALOG_URL
LOAD_PERSISTED_STATE
LOAD_BROOKLYN_CATALOG_URL_IF_NO_PERSISTED_STATE