Package io.manebot.virtual
Interface VirtualProcess
-
public interface VirtualProcess
-
-
Method Summary
Modifier and Type Method Description booleancanControl()voidchangeUser(User user)java.lang.StringgetDescription()longgetId()java.util.logging.LoggergetLogger()java.lang.StringgetName()VirtualProcessgetParent()ProfilergetProfiler()UsergetUser()voidinterrupt()booleanisCallerSelf()booleanisRoot()booleanisRunning()voidkill()java.util.concurrent.ThreadFactorynewThreadFactory()voidsetDescription(java.lang.String description)voidstart()
-
-
-
Method Detail
-
interrupt
void interrupt()
-
kill
void kill() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
getId
long getId()
-
setDescription
void setDescription(java.lang.String description)
-
getDescription
java.lang.String getDescription()
-
getName
java.lang.String getName()
-
isRoot
boolean isRoot()
-
isCallerSelf
boolean isCallerSelf()
-
getUser
User getUser()
-
start
void start()
-
changeUser
void changeUser(User user) throws java.lang.SecurityException
- Throws:
java.lang.SecurityException
-
getParent
VirtualProcess getParent()
-
getLogger
java.util.logging.Logger getLogger()
-
canControl
boolean canControl()
-
isRunning
boolean isRunning()
-
getProfiler
Profiler getProfiler()
-
newThreadFactory
java.util.concurrent.ThreadFactory newThreadFactory() throws java.lang.SecurityException- Throws:
java.lang.SecurityException
-
-