Package org.eclipse.tycho.plugins.p2
Enum BaselineReplace
- java.lang.Object
-
- java.lang.Enum<BaselineReplace>
-
- org.eclipse.tycho.plugins.p2.BaselineReplace
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BaselineReplace>
public enum BaselineReplace extends java.lang.Enum<BaselineReplace>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
BaselineReplace()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaselineReplace
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BaselineReplace[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none
public static final BaselineReplace none
Do not replace build artifacts with baseline version.
-
common
public static final BaselineReplace common
Replace build artifacts with baseline version. Attached artifacts only present in the build are not removed and will likely result in inconsistencies among artifacts of the same project! Use as last resort when baseline does not contain all build artifacts.
-
all
public static final BaselineReplace all
Replace build artifacts with baseline version. Attached artifacts only present in the build are removed.
-
-
Method Detail
-
values
public static BaselineReplace[] 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 (BaselineReplace c : BaselineReplace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaselineReplace 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 namejava.lang.NullPointerException
- if the argument is null
-
-