Enum SvnWcFormat
- java.lang.Object
-
- java.lang.Enum<SvnWcFormat>
-
- com.atlassian.bamboo.repository.svn.SvnWcFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<SvnWcFormat>
public enum SvnWcFormat extends Enum<SvnWcFormat>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSvnVersion()
int
getWcFormatVersion()
static SvnWcFormat
parse(@NotNull String svnVersion)
static SvnWcFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static SvnWcFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WC_1_3
public static final SvnWcFormat WC_1_3
-
WC_1_4
public static final SvnWcFormat WC_1_4
-
WC_1_5
public static final SvnWcFormat WC_1_5
-
WC_1_6
public static final SvnWcFormat WC_1_6
-
WC_1_7
public static final SvnWcFormat WC_1_7
-
WC_1_8
public static final SvnWcFormat WC_1_8
-
-
Method Detail
-
values
public static SvnWcFormat[] 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 (SvnWcFormat c : SvnWcFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SvnWcFormat valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
parse
public static SvnWcFormat parse(@NotNull @NotNull String svnVersion)
-
getWcFormatVersion
public int getWcFormatVersion()
-
getSvnVersion
public String getSvnVersion()
-
-