public static class MBeanAccessChecker.Arg extends Object
Constructor and Description |
---|
Arg(boolean pIsTypeAllowed,
RequestType pType,
ObjectName pName,
String pValue)
Constructor for this immutable object
|
Modifier and Type | Method and Description |
---|---|
ObjectName |
getName()
MBean name
|
RequestType |
getType()
Get request type
|
String |
getValue()
Value which is interpreted as operation or attribute name,
dependening on the type
|
boolean |
isTypeAllowed()
Whethe the command type is allowed generally.
|
public Arg(boolean pIsTypeAllowed, RequestType pType, ObjectName pName, String pValue)
pIsTypeAllowed
- whether the type is allowed in principal (i.e. whether it is mentioned in
s <commands>
section)pType
- the type to checkpName
- the MBean name to checkpValue
- attribute or operation to checkpublic boolean isTypeAllowed()
public RequestType getType()
public ObjectName getName()
public String getValue()
Copyright © 2021. All rights reserved.