org.jboss.dna.connector.svn
Enum SVNProtocol

java.lang.Object
  extended by java.lang.Enum<SVNProtocol>
      extended by org.jboss.dna.connector.svn.SVNProtocol
All Implemented Interfaces:
Serializable, Comparable<SVNProtocol>

public enum SVNProtocol
extends Enum<SVNProtocol>


Enum Constant Summary
FILE
           
HTTP
           
HTTPS
           
SVN
           
SVN_SSH
           
 
Method Summary
 String value()
           
static SVNProtocol valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SVNProtocol[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FILE

public static final SVNProtocol FILE

SVN

public static final SVNProtocol SVN

SVN_SSH

public static final SVNProtocol SVN_SSH

HTTP

public static final SVNProtocol HTTP

HTTPS

public static final SVNProtocol HTTPS
Method Detail

values

public static SVNProtocol[] 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 (SVNProtocol c : SVNProtocol.values())
    System.out.println(c);

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

valueOf

public static SVNProtocol 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

value

public String value()


Copyright © 2008-2009 JBoss, a division of Red Hat. All Rights Reserved.