提交 434c56af 编写于 作者: K kohsuke

documenting this interface.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9708 71c3de6d-444a-0410-be80-ed276b4c234a
上级 f21fa55f
package hudson.security;
/**
* Object that has an {@link ACL}
*
* @since 1.220
*/
public interface AccessControlled {
/**
* Obtains the ACL associated with this object.
*
* @return never null.
*/
ACL getACL();
/**
* Convenient short-cut for {@code getACL().checkPermission(permission)}
*/
void checkPermission(Permission permission);
/**
* Convenient short-cut for {@code getACL().hasPermission(permission)}
*/
boolean hasPermission(Permission permission);
void checkPermission(Permission permission);
boolean hasPermission(Permission permission);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册