Class RoleMacroExtension
java.lang.Object
com.synopsys.arc.jenkins.plugins.rolestrategy.RoleMacroExtension
- All Implemented Interfaces:
IMacroExtension
,ExtensionPoint
- Direct Known Subclasses:
BuildableJobMacro
,ContainedInViewMacro
,FolderMacro
,StubMacro
Extension for macro roles (automatic membership handling).
- Since:
- 2.1.0
- Author:
- Oleg Nenashev
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<RoleMacroExtension>
all()
Get list of all registeredRoleMacroExtension
s.static Macro
Parse Macro and return it.static RoleMacroExtension
getMacroExtension
(String macroName) Get Macro with the given name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.synopsys.arc.jenkins.plugins.rolestrategy.IMacroExtension
getDescription, getName, hasPermission, hasPermission, IsApplicable
-
Constructor Details
-
RoleMacroExtension
public RoleMacroExtension()
-
-
Method Details
-
getMacro
Parse Macro and return it.- Parameters:
unparsedMacroString
- String to parse- Returns:
- parsed Macro
-
getMacroExtension
Get Macro with the given name.- Parameters:
macroName
- Name of Macro- Returns:
- RoleMacroExtension
-
all
Get list of all registeredRoleMacroExtension
s.- Returns:
- List of
RoleMacroExtension
s.
-