|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.util.FlagSet com.jniwrapper.win32.process.ProcessSecurityOptions
public class ProcessSecurityOptions
ProcessSecurityOptions class represents a set of options required for opening a process.
Field Summary | |
---|---|
static int |
PROCESS_ALL_ACCESS
|
static int |
PROCESS_CREATE_PROCESS
|
static int |
PROCESS_CREATE_THREAD
|
static int |
PROCESS_DUP_HANDLE
|
static int |
PROCESS_QUERY_INFORMATION
|
static int |
PROCESS_SET_INFORMATION
|
static int |
PROCESS_SET_QUOTA
|
static int |
PROCESS_SET_SESSIONID
|
static int |
PROCESS_TERMINATE
|
static int |
PROCESS_VM_OPERATION
|
static int |
PROCESS_VM_READ
|
static int |
PROCESS_VM_WRITE
|
Constructor Summary | |
---|---|
ProcessSecurityOptions()
|
|
ProcessSecurityOptions(boolean allAccess)
|
|
ProcessSecurityOptions(long flags)
|
Method Summary | |
---|---|
boolean |
isAllAccess()
All possible access rights for a process object. |
boolean |
isCreateProcess()
Required to create a process. |
boolean |
isCreateThread()
Required to create a thread. |
boolean |
isDuplicateHandle()
Required to duplicate a handle. |
boolean |
isInformation()
Required to set certain information about a process, such as its priority class. |
boolean |
isQueryInformation()
Required to retrieve certain information about a process, such as its exit code and priority class. |
boolean |
isQuota()
Required to set memory limits. |
boolean |
isTerminate()
Required to terminate a process. |
boolean |
isVMOperation()
Required to perform an operation on the address space of a process. |
boolean |
isVMRead()
Required to read memory in a process. |
boolean |
isVMWrite()
Required to write to memory in a process. |
void |
setAllAccess(boolean value)
All possible access rights for a process object. |
void |
setCreateProcess(boolean value)
Required to create a process. |
void |
setCreateThread(boolean value)
Required to create a thread. |
void |
setDuplicateHandle(boolean value)
Required to duplicate a handle. |
void |
setInformation(boolean value)
Required to set certain information about a process, such as its priority class. |
void |
setQueryInformation(boolean value)
Required to retrieve certain information about a process, such as its exit code and priority class. |
void |
setQuota(boolean value)
Required to set memory limits. |
void |
setTerminate(boolean value)
Required to terminate a process. |
void |
setVMOperation(boolean value)
Required to perform an operation on the address space of a process. |
void |
setVMRead(boolean value)
Required to read memory in a process. |
void |
setVMWrite(boolean value)
Required to write to memory in a process. |
Methods inherited from class com.jniwrapper.util.FlagSet |
---|
add, and, clear, contains, getBit, getBits, getFlags, getMask, or, remove, setBit, setBits, setupFlag, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int PROCESS_TERMINATE
public static final int PROCESS_CREATE_THREAD
public static final int PROCESS_SET_SESSIONID
public static final int PROCESS_VM_OPERATION
public static final int PROCESS_VM_READ
public static final int PROCESS_VM_WRITE
public static final int PROCESS_DUP_HANDLE
public static final int PROCESS_CREATE_PROCESS
public static final int PROCESS_SET_QUOTA
public static final int PROCESS_SET_INFORMATION
public static final int PROCESS_QUERY_INFORMATION
public static final int PROCESS_ALL_ACCESS
Constructor Detail |
---|
public ProcessSecurityOptions()
public ProcessSecurityOptions(boolean allAccess)
public ProcessSecurityOptions(long flags)
Method Detail |
---|
public void setAllAccess(boolean value)
public boolean isAllAccess()
public void setCreateProcess(boolean value)
public boolean isCreateProcess()
public void setCreateThread(boolean value)
public boolean isCreateThread()
public void setDuplicateHandle(boolean value)
public boolean isDuplicateHandle()
public void setQueryInformation(boolean value)
public boolean isQueryInformation()
public void setQuota(boolean value)
public boolean isQuota()
public void setInformation(boolean value)
public boolean isInformation()
public void setTerminate(boolean value)
public boolean isTerminate()
public void setVMOperation(boolean value)
public boolean isVMOperation()
public void setVMRead(boolean value)
public boolean isVMRead()
public void setVMWrite(boolean value)
public boolean isVMWrite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |