live.threads
Class ThreadedZVMTasks.CloneGuest
java.lang.Object
java.lang.Thread
live.threads.ThreadedUserAction
live.threads.ThreadedZVMTasks.CloneGuest
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- ThreadedZVMTasks
- public static class ThreadedZVMTasks.CloneGuest
- extends ThreadedUserAction
TODO
This changes a guest's memory. Wraps
ZVMTasks.changeMemory(String, String, String)
.
Methods inherited from class live.threads.ThreadedUserAction |
getCache, getException, getID, getStatus, getTimeFinished, getTimeStarted, init, init, isFinished, 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 |
existGuestName
private final String existGuestName
cloneGuestName
private final String cloneGuestName
clonePassword
private final String clonePassword
copyDisks
private final boolean copyDisks
formatDisks
private final boolean formatDisks
AddressAndSuccess
private LinkedList AddressAndSuccess
ThreadedZVMTasks.CloneGuest
public ThreadedZVMTasks.CloneGuest(ThreadInitInfo initInfo,
String existGuestName,
String cloneGuestName,
String clonePassword,
boolean copyDisks,
boolean formatDisks)
- Creates an action that calls
ZVMTasks.changeMemory(String, String, String)
.
- Parameters:
initInfo
- The ThreadInitInfo objectexistGuestName
- The name of the guest to clonecloneGuestName
- The name of the new (clone) guestclonePassword
- The clone's password
runImpl
protected void runImpl()
throws ZVMTasksException
- Calls
ZVMTasks.changeMemory(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()
result
public String result()
- Return the resultString concatenated with disk operation information
- Overrides:
result
in class ThreadedUserAction
- Returns:
- String
rawResult
public Object rawResult()
- Returns null or an exception
- Specified by:
rawResult
in class ThreadedUserAction
- Returns:
- Object
Copyright © 2005