public class ProcessSecurityOptions
extends com.jniwrapper.util.FlagSet
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ProcessSecurityOptions() |
ProcessSecurityOptions(boolean allAccess) |
ProcessSecurityOptions(long flags) |
Modifier and Type | Method and Description |
---|---|
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.
|
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
public ProcessSecurityOptions()
public ProcessSecurityOptions(boolean allAccess)
public ProcessSecurityOptions(long flags)
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()