|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.ldappc.spml.PSPOptions
public class PSPOptions
| Nested Class Summary | |
|---|---|
static class |
PSPOptions.Mode
Represent cli args as requests. |
static class |
PSPOptions.Opts
cli options |
| Field Summary | |
|---|---|
static String |
NAME
Program name. |
| Constructor Summary | |
|---|---|
PSPOptions(String[] args)
Constructor |
|
| Method Summary | |
|---|---|
String |
getBeanName()
|
String |
getConfDir()
|
int |
getInterval()
|
int |
getIntervalFullSync()
|
int |
getIterations()
|
Date |
getLastModifyTime()
|
String |
getOutputFile()
|
List<ProvisioningRequest> |
getRequests()
Returns the result of parsing the command line arguments in the form of ProvisioningRequests ready to
be executed by the PSP. |
boolean |
isLogSpml()
Whether or not the PSP should log SPML request and responses. |
boolean |
isPrintRequests()
Whether or not to print SPML requests as well as responses. |
void |
parseCommandLineOptions()
Process cli args. |
void |
printUsage()
Print usage to stdout. |
void |
setBeanName(String beanName)
|
void |
setConfDir(String confDir)
|
void |
setInterval(int interval)
|
void |
setIntervalFullSync(int intervalFullSync)
|
void |
setIterations(int iterations)
|
void |
setLastModifyTime(Date lastModifyTime)
|
void |
setLogSpml(boolean logSpml)
Whether or not the PSP should log SPML request and responses. |
void |
setOutputFile(String outputFile)
|
void |
setPrintRequests(boolean printRequests)
Set whether or not to print SPML requests as well as response. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
| Constructor Detail |
|---|
public PSPOptions(String[] args)
args - command line arguments| Method Detail |
|---|
public String getBeanName()
public String getConfDir()
public int getInterval()
public int getIntervalFullSync()
public int getIterations()
public Date getLastModifyTime()
public String getOutputFile()
public List<ProvisioningRequest> getRequests()
ProvisioningRequests ready to
be executed by the PSP.
ProvisioningRequestspublic boolean isLogSpml()
PSP should log SPML request and responses.
booleanpublic boolean isPrintRequests()
boolean
public void parseCommandLineOptions()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException - if an error occurs parsing the argspublic void printUsage()
public void setBeanName(String beanName)
beanName - The beanName to set.public void setConfDir(String confDir)
confDir - The confDir to set.public void setInterval(int interval)
interval - The interval to set.public void setIntervalFullSync(int intervalFullSync)
full - sync interval The full sync interval to set.public void setIterations(int iterations)
iterations - The number of iterations to set.public void setLastModifyTime(Date lastModifyTime)
lastModifyTime - The lastModifyTime to set.public void setLogSpml(boolean logSpml)
PSP should log SPML request and responses.
logSpml - booleanpublic void setOutputFile(String outputFile)
outputFile - The outputFile to set.public void setPrintRequests(boolean printRequests)
boolean - public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||