edu.harvard.cfa.vo.tapclient.tool
Enum TapCli.SubCommand

java.lang.Object
  extended by java.lang.Enum<TapCli.SubCommand>
      extended by edu.harvard.cfa.vo.tapclient.tool.TapCli.SubCommand
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TapCli.SubCommand>
Enclosing class:
TapCli

protected static enum TapCli.SubCommand
extends java.lang.Enum<TapCli.SubCommand>

The subcommands


Enum Constant Summary
ASYNC
          Access the /async endpoint for job creation, modification, retrieval, or execution.
AVAILABILITY
          Access the /availability endpoint
CAPABILITIES
          Access the /capabilities endpoint
ERROR
          Access the /async//error endpoint
JOBS
          Access the job list at the /async endpoint
RESULTS
          Access the /async//results endpoint
SYNC
          Access the /sync endpoint
TABLES
          Access the /tables endpoint
 
Method Summary
 java.lang.String description()
           
 java.lang.String toString()
           
static TapCli.SubCommand valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TapCli.SubCommand[] 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

AVAILABILITY

public static final TapCli.SubCommand AVAILABILITY
Access the /availability endpoint


CAPABILITIES

public static final TapCli.SubCommand CAPABILITIES
Access the /capabilities endpoint


TABLES

public static final TapCli.SubCommand TABLES
Access the /tables endpoint


JOBS

public static final TapCli.SubCommand JOBS
Access the job list at the /async endpoint


SYNC

public static final TapCli.SubCommand SYNC
Access the /sync endpoint


ASYNC

public static final TapCli.SubCommand ASYNC
Access the /async endpoint for job creation, modification, retrieval, or execution.


RESULTS

public static final TapCli.SubCommand RESULTS
Access the /async//results endpoint


ERROR

public static final TapCli.SubCommand ERROR
Access the /async//error endpoint

Method Detail

values

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

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

valueOf

public static TapCli.SubCommand valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

description

public java.lang.String description()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<TapCli.SubCommand>