public static enum Session.DuplicateAction extends Enum<Session.DuplicateAction>
Enum Constant and Description |
---|
CHECK
Check that new data matches the old
|
IGNORE
Don't check just go to the next row
|
OVERWRITE
Replace old data with new
|
THROW
Throw an exception
|
Modifier and Type | Method and Description |
---|---|
static Session.DuplicateAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Session.DuplicateAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Session.DuplicateAction CHECK
public static final Session.DuplicateAction IGNORE
public static final Session.DuplicateAction OVERWRITE
public static final Session.DuplicateAction THROW
public static Session.DuplicateAction[] values()
for (Session.DuplicateAction c : Session.DuplicateAction.values()) System.out.println(c);
public static Session.DuplicateAction 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 nullCopyright © 2022 The ICAT Collaboration. All rights reserved.