Package com.netflix.spinnaker.moniker
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 eithera) 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyMoniker(T obj, Moniker moniker)MonikerderiveMoniker(T obj)
-