|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PSPOptions.Mode>
edu.internet2.middleware.ldappc.spml.PSPOptions.Mode
public static enum PSPOptions.Mode
Represent cli args as requests.
| Enum Constant Summary | |
|---|---|
bulkCalc
BulkCalcRequest |
|
bulkDiff
BulkDiffRequest |
|
bulkSync
BulkSyncRequest |
|
calc
CalcRequest |
|
diff
DiffRequest |
|
sync
SyncRequest |
|
| Method Summary | |
|---|---|
abstract ProvisioningRequest |
getNewProvisioningRequest()
Return a newly created ProvisioningRequest appropriate for the mode of operation. |
String |
getOpt()
Return the Option name via getOption().getOpt(). |
abstract org.apache.commons.cli.Option |
getOption()
Return the commons-cli option. |
List<ProvisioningRequest> |
getRequests(org.apache.commons.cli.CommandLine line)
Return the ProvisioningRequests resulting from the processing of the command line. |
static PSPOptions.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PSPOptions.Mode[] |
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 |
|---|
public static final PSPOptions.Mode bulkCalc
public static final PSPOptions.Mode bulkDiff
public static final PSPOptions.Mode bulkSync
public static final PSPOptions.Mode calc
public static final PSPOptions.Mode diff
public static final PSPOptions.Mode sync
| Method Detail |
|---|
public static PSPOptions.Mode[] values()
for (PSPOptions.Mode c : PSPOptions.Mode.values()) System.out.println(c);
public static PSPOptions.Mode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic abstract ProvisioningRequest getNewProvisioningRequest()
ProvisioningRequest appropriate for the mode of operation.
ProvisioningRequestpublic String getOpt()
Option name via getOption().getOpt().
public abstract org.apache.commons.cli.Option getOption()
Optionpublic List<ProvisioningRequest> getRequests(org.apache.commons.cli.CommandLine line)
ProvisioningRequests resulting from the processing of the command line.
line - the CommandLine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||