public static enum GraphOpts.Op extends Enum<GraphOpts.Op>
Enum Constant and Description |
---|
FORCE
Permits the use of force to remove objects even against the
permission system.
|
HARD
Default operation.
|
KEEP
Prevents the action from being carried out.
|
NULL
Nulls a particular field of the target rather than performing the
standard action on it.
|
ORPHAN |
REAP
If more than one step points at the same
REAP GraphSpec
then only the last one will be interpreted as HARD , all
others will be interpreted as SOFT . |
SOFT
Graph is attempted, but the exceptions which would make a
HARD operation fail lead only to warnings. |
Modifier and Type | Method and Description |
---|---|
static GraphOpts.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphOpts.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphOpts.Op HARD
ConstraintViolationException
or
similar, then the failure will cause the entire command to fail as an
error.public static final GraphOpts.Op SOFT
HARD
operation fail lead only to warnings.public static final GraphOpts.Op KEEP
AnnotationGraphSpec
this value may be
vetoed by GraphSpec.overrideKeep()
.public static final GraphOpts.Op FORCE
public static final GraphOpts.Op REAP
REAP
GraphSpec
then only the last one will be interpreted as HARD
, all
others will be interpreted as SOFT
. This gives earlier objects
in the graph a chance to let later objects cleanup for them.public static final GraphOpts.Op ORPHAN
public static final GraphOpts.Op NULL
public static GraphOpts.Op[] values()
for (GraphOpts.Op c : GraphOpts.Op.values()) System.out.println(c);
public static GraphOpts.Op 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 null
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.