Interface Namer<T>

  • Type Parameters:
    T - is the type of the object acting as the name
    All Known Implementing Classes:
    FriggaReflectiveNamer

    public interface Namer<T>
    A "Namer" takes some type "T" (e.g. a server group) and allows you to either

    a) derive a "Moniker" object from a "T" object b) set a "Moniker" object on a "T" object

    For example, if T is an ASG, and you apply the Moniker(app=app, sequence=3), the ASG Namer would set ASG.name = app-v003

    • Method Detail

      • applyMoniker

        void applyMoniker​(T obj,
                          Moniker moniker)
      • deriveMoniker

        Moniker deriveMoniker​(T obj)