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 the macro extension is applicable to specified role type
|
String getName()
boolean IsApplicable(RoleType roleType)
roleType
- Type to be checkedtrue
if the macro is applicable to the specified role typeString getDescription()
boolean hasPermission(String sid, hudson.security.Permission p, RoleType type, hudson.security.AccessControlled item, Macro macro)
sid
- SID to be checkedp
- Permissiontype
- Type of the role to be checkeditem
- Itemmacro
- Macro with parametersCopyright © 2016–2018. All rights reserved.