public class LoggedUserMacro extends UserMacroExtension
| Constructor and Description |
|---|
LoggedUserMacro()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Deprecated.
Returns description of the macro (including parameters).
|
String |
getName()
Deprecated.
Get name of the appropriate macro.
|
boolean |
hasPermission(String sid,
hudson.security.Permission p,
RoleType type,
hudson.security.AccessControlled item,
Macro macro)
Deprecated.
Check if user belongs to specified Macro
|
boolean |
IsApplicable(RoleType roleType)
Deprecated.
Check if the macro extension is applicable to specified role type
|
allpublic 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–2018. All rights reserved.