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

Constructors

Properties

suffix: string

Methods

  • 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.

    Returns

    true if the input identifier points to an auxiliary resource.

    Parameters

    Returns boolean