edu.internet2.middleware.ldappc.spml
Enum PSPOptions.Opts

java.lang.Object
  extended by java.lang.Enum<PSPOptions.Opts>
      extended by edu.internet2.middleware.ldappc.spml.PSPOptions.Opts
All Implemented Interfaces:
Serializable, Comparable<PSPOptions.Opts>
Enclosing class:
PSPOptions

public static enum PSPOptions.Opts
extends Enum<PSPOptions.Opts>

cli options


Enum Constant Summary
conf
          configuration directory
entityName
          SPML entityName
interval
          polling interval
intervalFullSync
          full synchronization interval
iterations
          iterations
lastModifyTime
          polling interval
logSpml
          log spml requests and responses
output
          output file
printRequests
          whether or not to print requests
requestID
          SPML request ID
returnData
          SPML returnData data
returnEverything
          SPML returnData data
returnIdentifier
          SPML returnData data
targetID
          SPML target IDs
 
Method Summary
 String getOpt()
          Return the Option name via getOption().getOpt().
abstract  org.apache.commons.cli.Option getOption()
          Get the Option
abstract  void handle(PSPOptions pspOptions, org.apache.commons.cli.CommandLine line)
          Handle the cli arguments.
static PSPOptions.Opts valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PSPOptions.Opts[] 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

conf

public static final PSPOptions.Opts conf
configuration directory


entityName

public static final PSPOptions.Opts entityName
SPML entityName


interval

public static final PSPOptions.Opts interval
polling interval


intervalFullSync

public static final PSPOptions.Opts intervalFullSync
full synchronization interval


iterations

public static final PSPOptions.Opts iterations
iterations


lastModifyTime

public static final PSPOptions.Opts lastModifyTime
polling interval


logSpml

public static final PSPOptions.Opts logSpml
log spml requests and responses


output

public static final PSPOptions.Opts output
output file


printRequests

public static final PSPOptions.Opts printRequests
whether or not to print requests


requestID

public static final PSPOptions.Opts requestID
SPML request ID


returnData

public static final PSPOptions.Opts returnData
SPML returnData data


returnEverything

public static final PSPOptions.Opts returnEverything
SPML returnData data


returnIdentifier

public static final PSPOptions.Opts returnIdentifier
SPML returnData data


targetID

public static final PSPOptions.Opts targetID
SPML target IDs

Method Detail

values

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

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

valueOf

public static PSPOptions.Opts 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

getOpt

public String getOpt()
Return the Option name via getOption().getOpt().

Returns:
the name of the option

getOption

public abstract org.apache.commons.cli.Option getOption()
Get the Option

Returns:
the Option

handle

public abstract void handle(PSPOptions pspOptions,
                            org.apache.commons.cli.CommandLine line)
Handle the cli arguments. For example, set the bean parameters matching the cli args.

Parameters:
pspOptions - the PSPOptions
line - the CommandLine


Copyright © 2012 Internet2. All Rights Reserved.