live.threads
Class ThreadedZVMTasks.QueryGuestInfo
java.lang.Object
java.lang.Thread
live.threads.ThreadedUserAction
live.threads.ThreadedZVMTasks.QueryGuestInfo
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- ThreadedZVMTasks
- public static class ThreadedZVMTasks.QueryGuestInfo
- extends ThreadedUserAction
Retrieves some of the info from a guest's directory entry. Wraps
ZVMTasks.queryGuest(String)
.
Methods inherited from class live.threads.ThreadedUserAction |
getCache, getException, getID, getStatus, getTimeFinished, getTimeStarted, init, init, isFinished, result, run, setCanceled, setComplete, setError, setError, setIndeterminate, setIndeterminate, setInProgress, startJoinForever, startJoinTimeout, startNoJoin, toString |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield |
info
private Guest info
guestName
private String guestName
ThreadedZVMTasks.QueryGuestInfo
public ThreadedZVMTasks.QueryGuestInfo(ThreadInitInfo initInfo,
String guestNameToQuery)
- Parameters:
initInfo
- The ThreadInitInfo object that contains the
information explained aboveguestNameToQuery
- The guest's directory entry to return
runImpl
protected void runImpl()
throws ZVMTasksException
- Calls
ZVMTasks.queryGuest(String)
.
- Specified by:
runImpl
in class ThreadedUserAction
- Throws:
ZVMTasksException
- passes up the SMAPI exception- See Also:
ThreadedUserAction.run()
description
public String description()
- Returns the description of this task.
- Specified by:
description
in class ThreadedUserAction
- Returns:
- String description
- See Also:
ThreadedUserAction.toString()
rawResult
public Object rawResult()
- Returns a
Guest
object with the fields filled in,
except for the group name. Or, it returns an exception thrown
by ZVMTasks.queryGuest(String)
or null
if that call hasn't completed.
- Specified by:
rawResult
in class ThreadedUserAction
- Returns:
- A filled out Group, Exception, or null
Copyright © 2005