Options
All
  • Public
  • Public/Protected
  • All
Menu

Helper class that uses a suffix to determine if a resource is an auxiliary resource or not. Simple string matching is used, so the dot needs to be included if needed, e.g. ".acl".

Hierarchy

  • SuffixAuxiliaryIdentifierStrategy

Implements

Index

Constructors

constructor

Properties

Protected Readonly suffix

suffix: string

Methods

getAssociatedIdentifier

getAuxiliaryIdentifier

getAuxiliaryIdentifiers

isAuxiliaryIdentifier

  • Checks if the input identifier corresponds to an auxiliary resource. This does not check if that auxiliary resource exists, only if the identifier indicates that there could be an auxiliary resource there.

    Parameters

    Returns boolean