Skip to content

Commit

Permalink
add resource lix setter method (linkedin#414)
Browse files Browse the repository at this point in the history
Co-authored-by: Yang Yang <yanyang@yanyang-mn3105.linkedin.biz>
  • Loading branch information
yangyangv2 and Yang Yang authored Sep 4, 2024
1 parent dc8ab8f commit 4ce25b1
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,14 @@ public abstract class BaseEntityResource<
private final Class<INTERNAL_ASPECT_UNION> _internalAspectUnionClass;
private final Class<ASSET> _assetClass;
protected final Class<URN> _urnClass;
protected final ResourceLix _resourceLix;

protected ResourceLix _resourceLix;
protected BaseTrackingManager _trackingManager = null;

// allows resource lix to be updated by real lix impl
public void setResourceLix(ResourceLix resourceLix) {
_resourceLix = resourceLix;
}

public BaseEntityResource(@Nullable Class<SNAPSHOT> snapshotClass, @Nullable Class<ASPECT_UNION> aspectUnionClass,
@Nonnull Class<INTERNAL_SNAPSHOT> internalSnapshotClass,
@Nonnull Class<INTERNAL_ASPECT_UNION> internalAspectUnionClass, @Nonnull Class<ASSET> assetClass) {
Expand Down

0 comments on commit 4ce25b1

Please sign in to comment.