Class TrackableBehaviorContext
java.lang.Object
com.broadleafcommerce.data.tracking.core.TrackableBehaviorContext
Establish
TrackableBehaviorOverride
instances to be applied to the current thread
context. These overrides take precedence over any TrackableBehaviorOverride beans declared in the
Spring application context.
For example, this can be used to distinguish between an Admin caller that needs an entity to be treated as Application trackable to restrict which users have access and a Microservice caller where that restriction is not applicable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
static void
clear()
static void
doWith
(Runnable runnable, TrackableBehaviorOverride... overrides) boolean
static TrackableBehaviorContext
get()
int
hashCode()
void
setContextOverrides
(List<TrackableBehaviorOverride> contextOverrides) toString()
-
Constructor Details
-
TrackableBehaviorContext
public TrackableBehaviorContext()
-
-
Method Details