Interface ContextSource

All Known Subinterfaces:
Claim, ClaimGroup, ClaimType, Town

public interface ContextSource
A common interface for objects that have a relevant context.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the context most relevant to this object.
  • Method Details

    • getContext

      Context getContext()
      Returns the context most relevant to this object.

      This context may be the same across multiple invocations (but may not, so don't count on this being true).

      Returns:
      A given context