public enum PackageOpenOption extends java.lang.Enum<PackageOpenOption>
| Enum Constant and Description | 
|---|
| CREATECreate a new package if it does not exist. | 
| CREATE_NEWCreate a new package, failing if it already exists. | 
| EXISTINGOpen an existing package. | 
| TRUNCATE_EXISTINGIf the package already exists then its content is discarded. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PackageOpenOption | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static PackageOpenOption[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PackageOpenOption EXISTING
public static final PackageOpenOption CREATE
public static final PackageOpenOption CREATE_NEW
public static final PackageOpenOption TRUNCATE_EXISTING
public static PackageOpenOption[] values()
for (PackageOpenOption c : PackageOpenOption.values()) System.out.println(c);
public static PackageOpenOption valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null