public final class StubMacro extends RoleMacroExtension
| 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
|
all, getMacro, getMacroExtensionpublic static final StubMacro Instance
public String getName()
IMacroExtensionpublic boolean IsApplicable(RoleType roleType)
IMacroExtensionroleType - Type to be checkedtrue if the macro is applicable to the specified role typepublic boolean hasPermission(String sid, hudson.security.Permission p, RoleType type, hudson.security.AccessControlled item, Macro macro)
IMacroExtensionsid - SID to be checkedp - Permissiontype - Type of the role to be checkeditem - Itemmacro - Macro with parameterspublic String getDescription()
IMacroExtensionCopyright © 2016–2017. All rights reserved.