org.ops4j.pax.exam.options
Enum WrappedUrlProvisionOption.OverwriteMode

java.lang.Object
  extended by java.lang.Enum<WrappedUrlProvisionOption.OverwriteMode>
      extended by org.ops4j.pax.exam.options.WrappedUrlProvisionOption.OverwriteMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WrappedUrlProvisionOption.OverwriteMode>
Enclosing class:
WrappedUrlProvisionOption

public static enum WrappedUrlProvisionOption.OverwriteMode
extends java.lang.Enum<WrappedUrlProvisionOption.OverwriteMode>

Strategy to use regarding manifest rewrite, for a jar that is already a bundle (has osgi manifest attributes).


Enum Constant Summary
FULL
          Full rewrite.
KEEP
          Keep existing manifest.
MERGE
          Merge instructions with current manifest entries.
 
Method Summary
static WrappedUrlProvisionOption.OverwriteMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WrappedUrlProvisionOption.OverwriteMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

KEEP

public static final WrappedUrlProvisionOption.OverwriteMode KEEP
Keep existing manifest.


MERGE

public static final WrappedUrlProvisionOption.OverwriteMode MERGE
Merge instructions with current manifest entries.


FULL

public static final WrappedUrlProvisionOption.OverwriteMode FULL
Full rewrite.

Method Detail

values

public static WrappedUrlProvisionOption.OverwriteMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WrappedUrlProvisionOption.OverwriteMode c : WrappedUrlProvisionOption.OverwriteMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WrappedUrlProvisionOption.OverwriteMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.