org.jboss.dna.connector.svn
Enum SVNProtocol
java.lang.Object
java.lang.Enum<SVNProtocol>
org.jboss.dna.connector.svn.SVNProtocol
- All Implemented Interfaces:
- Serializable, Comparable<SVNProtocol>
public enum SVNProtocol
- extends Enum<SVNProtocol>
- Author:
- Serge Pagop
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
values
public static final SVNProtocol[] values()
- Returns an array containing the constants of this enum type, in
the order they're 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're 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
value
public String value()
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.