public enum DestinationComplianceMode extends Enum<DestinationComplianceMode>
| Enum Constant and Description |
|---|
filesAndDirectories
This compliance mode makes sure that files and directories that are NOT contained in the bundle are kept in the
destination directory.
|
full
The full compliance means that the deployment destination is completely wiped before the bundle contents are
deployed into it.
|
| Modifier and Type | Field and Description |
|---|---|
static DestinationComplianceMode |
BACKWARDS_COMPATIBLE_DEFAULT
This is the default compliance mode to be used in the legacy bundle recipes which do not explicitly set neither
the compliance nor the legacy
manageRootDir attribute. |
| Modifier and Type | Method and Description |
|---|---|
static DestinationComplianceMode |
instanceOrDefault(DestinationComplianceMode compliance)
Use this method to get either the supplied compliance mode or the
default
compliance. |
static DestinationComplianceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DestinationComplianceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DestinationComplianceMode full
public static final DestinationComplianceMode filesAndDirectories
public static final DestinationComplianceMode BACKWARDS_COMPATIBLE_DEFAULT
manageRootDir attribute.public static DestinationComplianceMode[] values()
for (DestinationComplianceMode c : DestinationComplianceMode.values()) System.out.println(c);
public static DestinationComplianceMode 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 nullpublic static DestinationComplianceMode instanceOrDefault(DestinationComplianceMode compliance)
default
compliance.
Only use this method if you need to handle the legacy recipes.compliance - the compliance to return or null if not knowncompliance or the default compliance mode, never null.Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.