|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectListFolders
public class ListFolders
This class defines a utility that may be used to list the job folders that have been defined in the SLAMD server. It does this by communicating with the SLAMD administrative interface over HTTP to ensure that all appropriate validity checking is performed, and that any required authentication is honored.
| Constructor Summary | |
|---|---|
ListFolders(java.lang.String[] args)
Parses the provided command-line arguments. |
|
| Method Summary | |
|---|---|
void |
debug(java.lang.String message)
Prints the provided message if the program is operating in verbose mode. |
static void |
displayUsage()
Displays usage information for this program. |
static void |
main(java.lang.String[] args)
Invokes the constructor and provides it with the command-line arguments. |
boolean |
sendRequest()
Sends the request to the SLAMD server and parses the response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListFolders(java.lang.String[] args)
args - The command-line arguments provided to this program.| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - The command-line arguments provided to this program.public boolean sendRequest()
true if the folder list was retrieved successfully,
or false if not.public void debug(java.lang.String message)
message - The message to be printed.public static void displayUsage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||