wt.queue
Class QueueManager
java.lang.Object
wt.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
QueueManager
public QueueManager()
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)