public static enum RestoreNodeReport.RestoreStatus extends Enum<RestoreNodeReport.RestoreStatus>
Enum Constant and Description |
---|
FAILURE_DUPLICATE_CHILD_NODE_NAME
duplicate child name not allowed
|
FAILURE_INTEGRITY
there was an integrity failure after the node was restored
|
FAILURE_INVALID_ARCHIVE_NODE
the node to restore was missing
|
FAILURE_INVALID_PARENT
the destination parent of the restore operation was missing
|
FAILURE_OTHER
the problem was not well-recognized
|
FAILURE_PERMISSION
the permissions required for either reading or writing were invalid
|
SUCCESS
the operation was a success
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSuccess() |
static RestoreNodeReport.RestoreStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestoreNodeReport.RestoreStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestoreNodeReport.RestoreStatus SUCCESS
public static final RestoreNodeReport.RestoreStatus FAILURE_INVALID_ARCHIVE_NODE
public static final RestoreNodeReport.RestoreStatus FAILURE_INVALID_PARENT
public static final RestoreNodeReport.RestoreStatus FAILURE_PERMISSION
public static final RestoreNodeReport.RestoreStatus FAILURE_INTEGRITY
public static final RestoreNodeReport.RestoreStatus FAILURE_DUPLICATE_CHILD_NODE_NAME
public static final RestoreNodeReport.RestoreStatus FAILURE_OTHER
public static RestoreNodeReport.RestoreStatus[] values()
for (RestoreNodeReport.RestoreStatus c : RestoreNodeReport.RestoreStatus.values()) System.out.println(c);
public static RestoreNodeReport.RestoreStatus 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 isSuccess()
Copyright © 2005–2017 Alfresco Software. All rights reserved.