Class NoOpContextModifier

  • All Implemented Interfaces:
    IContextModifier

    public class NoOpContextModifier
    extends java.lang.Object
    implements IContextModifier
    Context modifier that does nothing to the context.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LDContext modifyContext​(LDContext context)
      Modifies the provided context and returns a resulting context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoOpContextModifier

        public NoOpContextModifier()
    • Method Detail

      • modifyContext

        public LDContext modifyContext​(LDContext context)
        Description copied from interface: IContextModifier
        Modifies the provided context and returns a resulting context. May result in no changes at the discretion of the implementation.
        Specified by:
        modifyContext in interface IContextModifier
        Parameters:
        context - to be modified
        Returns:
        another context that is the result of modification