public static enum SubPackageHandling.Option extends Enum<SubPackageHandling.Option>
Enum Constant and Description |
---|
ADD
adds the package using
JcrPackageManager.upload(java.io.File, boolean, boolean, java.lang.String) |
EXTRACT
adds and extracts the package using
JcrPackage.extract(org.apache.jackrabbit.vault.fs.io.ImportOptions) |
IGNORE
ignores the sub package completely
|
INSTALL
adds and installs the package using
JcrPackage.install(org.apache.jackrabbit.vault.fs.io.ImportOptions) |
Modifier and Type | Method and Description |
---|---|
static SubPackageHandling.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubPackageHandling.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubPackageHandling.Option INSTALL
JcrPackage.install(org.apache.jackrabbit.vault.fs.io.ImportOptions)
public static final SubPackageHandling.Option EXTRACT
JcrPackage.extract(org.apache.jackrabbit.vault.fs.io.ImportOptions)
public static final SubPackageHandling.Option ADD
JcrPackageManager.upload(java.io.File, boolean, boolean, java.lang.String)
public static final SubPackageHandling.Option IGNORE
public static SubPackageHandling.Option[] values()
for (SubPackageHandling.Option c : SubPackageHandling.Option.values()) System.out.println(c);
public static SubPackageHandling.Option 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"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"