public class PermissionStatus extends Object
| Constructor and Description |
|---|
PermissionStatus(FunctionID rpcName,
boolean isRPCAllowed,
Map<String,Boolean> allowedParameters)
Creates a new PermissionStatus instance
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Boolean> |
getAllowedParameters()
Get the status of the permission parameter for the RPC
|
boolean |
getIsRPCAllowed()
Get whether the RCP is allowed or not
|
FunctionID |
getRPCName()
Get the name of the RPC
|
protected void |
setAllowedParameters(Map<String,Boolean> allowedParameters)
Set the status of the permission parameter for the RPC
|
protected void |
setIsRPCAllowed(boolean isRPCAllowed)
Set whether the RPC is allowed or not
|
String |
toString() |
public PermissionStatus(@NonNull
FunctionID rpcName,
boolean isRPCAllowed,
Map<String,Boolean> allowedParameters)
rpcName - isRPCAllowed - allowedParameters - public FunctionID getRPCName()
public boolean getIsRPCAllowed()
protected void setIsRPCAllowed(boolean isRPCAllowed)
isRPCAllowed - public Map<String,Boolean> getAllowedParameters()
protected void setAllowedParameters(Map<String,Boolean> allowedParameters)
allowedParameters -