Class RoleDefinition

java.lang.Object
org.jenkinsci.plugins.rolestrategy.casc.RoleDefinition
All Implemented Interfaces:
Comparable<RoleDefinition>

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class RoleDefinition extends Object implements Comparable<RoleDefinition>
Role definition. Used for custom formatting
Since:
2.11
Author:
Oleg Nenashev
  • Field Details

    • LOGGER

      public static final Logger LOGGER
  • Constructor Details

    • RoleDefinition

      @DataBoundConstructor public RoleDefinition(String name, String description, String pattern, Collection<String> permissions)
      Creates a RoleDefinition.
      Parameters:
      name - Role name
      description - Role description
      pattern - Role pattern
      permissions - Assigned permissions
  • Method Details