live.threads
Class ThreadedZVMTasks.SetGuestToGroup
java.lang.Object
java.lang.Thread
live.threads.ThreadedUserAction
live.threads.ThreadedZVMTasks.SetGuestToGroup
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- ThreadedZVMTasks
- public static class ThreadedZVMTasks.SetGuestToGroup
- extends ThreadedUserAction
This moves a guest from one group to another. Wraps
ZVMTasks.setGuestsGroup(String, String, 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 |
newGroupName
private String newGroupName
oldGroupName
private String oldGroupName
guestName
private String guestName
ThreadedZVMTasks.SetGuestToGroup
public ThreadedZVMTasks.SetGuestToGroup(ThreadInitInfo initInfo,
String guestName,
String oldGroupName,
String newGroupName)
- Creates an action that will call
ZVMTasks.setGuestsGroup(String, String, String)
.
- Parameters:
initInfo
- The ThreadInitInfo objectguestName
- The name of the guest to moveoldGroupName
- The name of the group to remove guestName
from, or nullnewGroupName
- The name of the group to add guestName
to, or null
runImpl
protected void runImpl()
throws ZVMTasksException
- Calls
ZVMTasks.setGuestsGroup(String, String, String)
.
- Specified by:
runImpl
in class ThreadedUserAction
- Throws:
ZVMTasksException
- See Also:
ThreadedUserAction.run()
description
public String description()
- Returns a description of this task
- Specified by:
description
in class ThreadedUserAction
- Returns:
- String
- See Also:
ThreadedUserAction.toString()
rawResult
public Object rawResult()
- Returns null or an exception
- Specified by:
rawResult
in class ThreadedUserAction
- Returns:
- Object
Copyright © 2005