com.atlassian.bamboo.repository.svn
Enum SvnWcFormat

java.lang.Object
  extended by java.lang.Enum<SvnWcFormat>
      extended by com.atlassian.bamboo.repository.svn.SvnWcFormat
All Implemented Interfaces:
Serializable, Comparable<SvnWcFormat>

public enum SvnWcFormat
extends Enum<SvnWcFormat>


Enum Constant Summary
WC_1_3
           
WC_1_4
           
WC_1_5
           
WC_1_6
           
WC_1_7
           
WC_1_8
           
 
Method Summary
 String getSvnVersion()
           
 int getWcFormatVersion()
           
static SvnWcFormat parse(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.
 
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

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 name
NullPointerException - if the argument is null

parse

public static SvnWcFormat parse(@NotNull
                                String svnVersion)

getWcFormatVersion

public int getWcFormatVersion()

getSvnVersion

public String getSvnVersion()


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.