Interface IPSHasRichGroup

All Known Implementing Classes:
PSAssertReport, PSDiagnostic, PSPattern, PSPhase, PSRule, PSSchema

public interface IPSHasRichGroup
Base interface for objects having a rich group.
Author:
Philip Helger
  • Method Details

    • getRich

      Returns:
      Get the existing rich group or null if none is present.
    • hasRich

      default boolean hasRich()
      Returns:
      true if a rich group is present, false otherwise.
    • getRichClone

      @Nullable default PSRichGroup getRichClone()
      Returns:
      Get a clone of the rich group or null if no rich group is present at this object.
    • setRich

      void setRich(@Nullable PSRichGroup aRich)
      Overwrite any existing rich group.
      Parameters:
      aRich - The new rich group to set. May be null.