Package org.openstreetmap.josm.command
Enum Class SplitWayCommand.WhenRelationOrderUncertain
java.lang.Object
java.lang.Enum<SplitWayCommand.WhenRelationOrderUncertain>
org.openstreetmap.josm.command.SplitWayCommand.WhenRelationOrderUncertain
- All Implemented Interfaces:
Serializable,Comparable<SplitWayCommand.WhenRelationOrderUncertain>,Constable
- Enclosing class:
- SplitWayCommand
public static enum SplitWayCommand.WhenRelationOrderUncertain
extends Enum<SplitWayCommand.WhenRelationOrderUncertain>
What to do when the split way is part of relations, and the order of the new parts in the relation cannot be
determined without downloading missing relation members.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf there are relation members missing, and these are needed to determine the order of the new parts in that relation, abort the split operation.Ask the user to consent to downloading the missing members.If there are relation members missing, and these are needed to determine the order of the new parts in that relation, automatically download these without prompting the user.If there are relation members missing, and these are needed to determine the order of the new parts in that relation, continue with the split operation anyway, without downloading anything. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ASK_USER_FOR_CONSENT_TO_DOWNLOAD
Ask the user to consent to downloading the missing members. The user can abort the operation or choose to proceed without downloading anything. -
ABORT
If there are relation members missing, and these are needed to determine the order of the new parts in that relation, abort the split operation. -
SPLIT_ANYWAY
If there are relation members missing, and these are needed to determine the order of the new parts in that relation, continue with the split operation anyway, without downloading anything. Caution: use this option with care. -
DOWNLOAD_MISSING_MEMBERS
If there are relation members missing, and these are needed to determine the order of the new parts in that relation, automatically download these without prompting the user.
-
-
Constructor Details
-
WhenRelationOrderUncertain
private WhenRelationOrderUncertain()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-