public class GrantRevokeRoleDDL extends Object
Constructor and Description |
---|
GrantRevokeRoleDDL() |
GrantRevokeRoleDDL(boolean grant,
List<String> roles,
List<PrincipalDesc> principalDesc,
String grantor,
PrincipalType grantorType,
boolean grantOption) |
Modifier and Type | Method and Description |
---|---|
boolean |
getGrant() |
String |
getGrantor() |
PrincipalType |
getGrantorType() |
List<PrincipalDesc> |
getPrincipalDesc() |
List<String> |
getRoles() |
boolean |
isGrantOption() |
void |
setGrant(boolean grant) |
void |
setGrantOption(boolean grantOption) |
void |
setGrantor(String grantor) |
void |
setGrantorType(PrincipalType grantorType) |
void |
setPrincipalDesc(List<PrincipalDesc> principalDesc) |
void |
setRoles(List<String> roles) |
public GrantRevokeRoleDDL()
public GrantRevokeRoleDDL(boolean grant, List<String> roles, List<PrincipalDesc> principalDesc, String grantor, PrincipalType grantorType, boolean grantOption)
public boolean getGrant()
public void setGrant(boolean grant)
public List<PrincipalDesc> getPrincipalDesc()
public void setPrincipalDesc(List<PrincipalDesc> principalDesc)
public String getGrantor()
public void setGrantor(String grantor)
public PrincipalType getGrantorType()
public void setGrantorType(PrincipalType grantorType)
public boolean isGrantOption()
public void setGrantOption(boolean grantOption)
Copyright © 2017 The Apache Software Foundation. All rights reserved.