public static enum ExportMessage.Code extends Enum<ExportMessage.Code>
Modifier and Type | Method and Description |
---|---|
ExportMessage.Level |
getLevel()
Returns the corresponding severity level of the message code.
|
boolean |
isError()
Checks, if the current code is an error.
|
boolean |
isNotice()
Checks, if the current code is a notice.
|
boolean |
isWarning()
Checks, if the current code is a warning.
|
static ExportMessage.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExportMessage.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportMessage.Code CONTACT_NOT_FOUND
public static final ExportMessage.Code CONTACT_NOT_SAVED
public static final ExportMessage.Code OBJECTS_NOT_FOUND
public static final ExportMessage.Code OBJECT_NOT_FOUND
public static final ExportMessage.Code OBJECT_NOT_FOUND_FOR_ARCHIVING
public static final ExportMessage.Code OBJECT_NOT_FOUND_FOR_REMOVING
public static final ExportMessage.Code OBJECT_NOT_SAVED
public static final ExportMessage.Code OBJECT_NOT_REMOVED
public static final ExportMessage.Code OBJECT_NOT_PUBLISHED
public static final ExportMessage.Code OBJECT_NOT_UNPUBLISHED
public static final ExportMessage.Code OBJECT_NOT_DISABLED
public static final ExportMessage.Code OBJECT_PUBLISHINGS_NOT_FOUND
public static final ExportMessage.Code OBJECT_WITHOUT_ATTACHMENTS
public static final ExportMessage.Code OBJECT_WITHOUT_CONTACT
public static final ExportMessage.Code OBJECT_UNORDERED_ATTACHMENTS
public static final ExportMessage.Code OBJECT_OLD_ATTACHMENT_NOT_REMOVED
public static final ExportMessage.Code OBJECT_ATTACHMENT_NOT_SAVED
public static final ExportMessage.Code PUBLISH_CHANNELS_NOT_FOUND
public static final ExportMessage.Code XML_NOT_READABLE
public static ExportMessage.Code[] values()
for (ExportMessage.Code c : ExportMessage.Code.values()) System.out.println(c);
public static ExportMessage.Code 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 ExportMessage.Level getLevel()
public boolean isError()
public boolean isNotice()
public boolean isWarning()
Copyright © 2014 OpenEstate. All rights reserved.