public interface IMacroExtension
RoleMacroExtension,
UserMacroExtension| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns description of the macro (including parameters)
|
String |
getName()
Get name of the appropriate macro.
|
boolean |
hasPermission(String sid,
hudson.security.Permission p,
RoleType type,
hudson.security.AccessControlled item,
Macro macro)
Check if user belongs to specified Macro
|
boolean |
IsApplicable(RoleType roleType)
Check if role is applicable to specified role type
|
String getName()
boolean IsApplicable(RoleType roleType)
roleType - Type to be checkedString getDescription()
boolean hasPermission(String sid, hudson.security.Permission p, RoleType type, hudson.security.AccessControlled item, Macro macro)
user - User to be checkedtype - Type of the role to be checkeditem - Itemmacro - Macro with parametersCopyright © 2004-2013. All Rights Reserved.