Class RoleScope

java.lang.Object
co.yellowdog.platform.interaction.account.RoleScope
All Implemented Interfaces:
Serializable

@ValidatedBy(RoleScopeValidator.class) public class RoleScope extends Object implements Serializable
See Also:
  • Method Details

    • global

      public static RoleScope global()
    • withNamespaces

      public static RoleScope withNamespaces(Set<String> namespaces)
    • builder

      public static RoleScope.Builder builder()
    • isGlobal

      public boolean isGlobal()
    • getNamespaces

      public Set<@Namespace @NotBlank String> getNamespaces()
    • setGlobal

      public void setGlobal(boolean global)
    • setNamespaces

      public void setNamespaces(Set<@Namespace @NotBlank String> namespaces)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object