org.apache.subversion.javahl
Enum ISVNRemote.Capability

java.lang.Object
  extended by java.lang.Enum<ISVNRemote.Capability>
      extended by org.apache.subversion.javahl.ISVNRemote.Capability
All Implemented Interfaces:
Serializable, Comparable<ISVNRemote.Capability>
Enclosing interface:
ISVNRemote

public static enum ISVNRemote.Capability
extends Enum<ISVNRemote.Capability>

Enumeration of known capabilities of the repository and server.


Enum Constant Summary
atomic_revprops
          The capability of specifying (and atomically verifying) expected preexisting values when modifying revprops.
commit_revprops
          The capability of including revision properties in a commit.
depth
          The capability of understanding operation depth.
ephemeral_txnprops
          The capability of a server to automatically ephemeral transaction properties.
get_file_revs_reversed
          The capability of a server to walk revisions backwards in #getFileRevisions().
inherited_props
          The capability to get inherited properties.
log_revprops
          The capability of retrieving arbitrary revprops in #getLog().
mergeinfo
          The capability of doing the right thing with merge-tracking information.
partial_replay
          The capability of replaying a directory in the repository (partial replay).
 
Method Summary
 String toString()
           
static ISVNRemote.Capability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ISVNRemote.Capability[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

depth

public static final ISVNRemote.Capability depth
The capability of understanding operation depth.

Since:
1.5

mergeinfo

public static final ISVNRemote.Capability mergeinfo
The capability of doing the right thing with merge-tracking information.

Since:
1.5

log_revprops

public static final ISVNRemote.Capability log_revprops
The capability of retrieving arbitrary revprops in #getLog().

Since:
1.5

partial_replay

public static final ISVNRemote.Capability partial_replay
The capability of replaying a directory in the repository (partial replay).

Since:
1.5

commit_revprops

public static final ISVNRemote.Capability commit_revprops
The capability of including revision properties in a commit.

Since:
1.5

atomic_revprops

public static final ISVNRemote.Capability atomic_revprops
The capability of specifying (and atomically verifying) expected preexisting values when modifying revprops.

Since:
1.7

inherited_props

public static final ISVNRemote.Capability inherited_props
The capability to get inherited properties.

Since:
1.8

ephemeral_txnprops

public static final ISVNRemote.Capability ephemeral_txnprops
The capability of a server to automatically ephemeral transaction properties.

Since:
1.8

get_file_revs_reversed

public static final ISVNRemote.Capability get_file_revs_reversed
The capability of a server to walk revisions backwards in #getFileRevisions().

Since:
1.8
Method Detail

values

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

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

valueOf

public static ISVNRemote.Capability 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

toString

public String toString()
Overrides:
toString in class Enum<ISVNRemote.Capability>