wt.queue
Class QueueManager

java.lang.Object
  extended bywt.queue.QueueManager

public class QueueManager
extends Object

This is the general utility for managing queues. Fuctionality includes starting, stopping, creating, deleting, showing entries of, and editing queues. This utility may also be used to execute and change the state of individual queue entries.

Supported API: true

Extendable: false


Field Summary
private static boolean first
           
private static String principal
           
private static WtQueueEntry selectedEntry
           
private static WtQueue selectedQueue
           
private static String[] statusCodeArray
           
 
Constructor Summary
QueueManager()
           
 
Method Summary
private static void allQueues(Class qtype, Vector qz)
           
private static void changeEntryStatus()
           
private static void changeQueueName()
           
private static void createQueue()
           
private static void deleteEntries()
           
private static void deleteSelectedQueue()
           
private static void enableQueue(boolean desired)
           
private static void executeEntry()
           
private static Vector getAllQueues()
           
private static int getChoice(int min, int max)
           
private static String getEntry()
           
private static String getName(String target)
           
private static String isActive(Class qtype, WtQueue queue)
           
static void main(String[] args)
           
private static boolean more(String verb)
           
private static void resetEntries()
           
private static void selectEntry()
           
private static void selectQueue()
           
private static void setQueueHost()
           
private static void showQueues()
           
private static int showQueues(Class qtype, int num)
           
private static void showSelectedQueue()
           
private static void startQueues()
           
private static void startSelectedQueue()
           
private static void stopQueues()
           
private static void stopSelectedQueue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selectedQueue

private static WtQueue selectedQueue

selectedEntry

private static WtQueueEntry selectedEntry

principal

private static String principal

first

private static boolean first

statusCodeArray

private static String[] statusCodeArray
Constructor Detail

QueueManager

public QueueManager()
Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        WTException
Throws:
IOException
WTException

resetEntries

private static void resetEntries()

deleteEntries

private static void deleteEntries()

showQueues

private static void showQueues()

showQueues

private static int showQueues(Class qtype,
                              int num)

isActive

private static String isActive(Class qtype,
                               WtQueue queue)

startQueues

private static void startQueues()

stopQueues

private static void stopQueues()

selectQueue

private static void selectQueue()

getAllQueues

private static Vector getAllQueues()
                            throws WTException
Throws:
WTException

allQueues

private static void allQueues(Class qtype,
                              Vector qz)
                       throws WTException
Throws:
WTException

startSelectedQueue

private static void startSelectedQueue()

enableQueue

private static void enableQueue(boolean desired)

setQueueHost

private static void setQueueHost()

stopSelectedQueue

private static void stopSelectedQueue()

executeEntry

private static void executeEntry()

changeEntryStatus

private static void changeEntryStatus()

showSelectedQueue

private static void showSelectedQueue()

selectEntry

private static void selectEntry()

createQueue

private static void createQueue()

deleteSelectedQueue

private static void deleteSelectedQueue()

changeQueueName

private static void changeQueueName()

getEntry

private static String getEntry()

getChoice

private static int getChoice(int min,
                             int max)

getName

private static String getName(String target)

more

private static boolean more(String verb)