As part of
FCREPO-1312, an RdfContext enum was introduced in order to specify the kinds of RDF generation that a kernel implementation must support and decouple the HTTP layers from the ModeShape implementation. In particular, the FedoraResource::getTriples method now accepts values from this RdfContext enum. While this works, it prevents extending the existing set of RdfContexts.
Instead of having FedoraResource::getTriples accept one or more enum values, it should use a system of interfaces, which would make it possible to extend the set of RDF generation contexts.