Class RoleMacroExtension

java.lang.Object
com.synopsys.arc.jenkins.plugins.rolestrategy.RoleMacroExtension
All Implemented Interfaces:
IMacroExtension, ExtensionPoint
Direct Known Subclasses:
BuildableJobMacro, ContainedInViewMacro, FolderMacro, StubMacro

public abstract class RoleMacroExtension extends Object implements ExtensionPoint, IMacroExtension
Extension for macro roles (automatic membership handling).
Since:
2.1.0
Author:
Oleg Nenashev
  • Constructor Details

    • RoleMacroExtension

      public RoleMacroExtension()
  • Method Details

    • getMacro

      @CheckForNull public static Macro getMacro(String unparsedMacroString)
      Parse Macro and return it.
      Parameters:
      unparsedMacroString - String to parse
      Returns:
      parsed Macro
    • getMacroExtension

      public static RoleMacroExtension getMacroExtension(String macroName)
      Get Macro with the given name.
      Parameters:
      macroName - Name of Macro
      Returns:
      RoleMacroExtension
    • all

      public static ExtensionList<RoleMacroExtension> all()
      Get list of all registered RoleMacroExtensions.
      Returns:
      List of RoleMacroExtensions.