public static enum ContentRepositoryModel.Status extends Enum<ContentRepositoryModel.Status>
Enum Constant and Description |
---|
error
Check produced an error
|
ok
Check was ok
|
queued
Check is queued to run in background
|
running
Check is currently running (in background)
|
unchecked
Check was never done
|
Modifier and Type | Method and Description |
---|---|
int |
code()
Get the status code
|
static ContentRepositoryModel.Status |
from(int code)
Transform status code into Status
|
static ContentRepositoryModel.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentRepositoryModel.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentRepositoryModel.Status unchecked
public static final ContentRepositoryModel.Status error
public static final ContentRepositoryModel.Status ok
public static final ContentRepositoryModel.Status running
public static final ContentRepositoryModel.Status queued
public static ContentRepositoryModel.Status[] values()
for (ContentRepositoryModel.Status c : ContentRepositoryModel.Status.values()) System.out.println(c);
public static ContentRepositoryModel.Status 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 int code()
public static ContentRepositoryModel.Status from(int code)
code
- codeCopyright © 2024 Gentics Software. All rights reserved.