Class ApplyScopeUtils


  • @Internal
    public final class ApplyScopeUtils
    extends java.lang.Object
    Util class for Applying or not scope's data to an event
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean shouldApplyScopeData​(@Nullable java.lang.Object hint)
      Scope's data should be applied if: Hint is of the type ApplyScopeData or Hint is not Cached (this includes a null hint)
      • Methods inherited from class java.lang.Object

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

      • shouldApplyScopeData

        public static boolean shouldApplyScopeData​(@Nullable
                                                   @Nullable java.lang.Object hint)
        Scope's data should be applied if: Hint is of the type ApplyScopeData or Hint is not Cached (this includes a null hint)
        Parameters:
        hint - the hint
        Returns:
        true if it should apply scope's data or false otherwise