public enum PublishingMode extends Enum<PublishingMode> implements com.openindex.openestate.impl.utils.Translatable
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static PublishingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublishingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
write()
Deprecated.
|
public static final PublishingMode DEFAULT
public static final PublishingMode NEVER
public static final PublishingMode ALWAYS
public static PublishingMode[] values()
for (PublishingMode c : PublishingMode.values()) System.out.println(c);
public static PublishingMode 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 String getTranslation()
getTranslation
in interface com.openindex.openestate.impl.utils.Translatable
public String getTranslation(Locale locale)
getTranslation
in interface com.openindex.openestate.impl.utils.Translatable
@Deprecated public String write()
Copyright © 2015 OpenEstate. All rights reserved.