Skip to content

Commit

Permalink
[#6067] improvement(core): Support model pre event to Gravitino server
Browse files Browse the repository at this point in the history
fix some issues.
  • Loading branch information
Abyss-lord committed Jan 15, 2025
1 parent 6b6a154 commit 416d3b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
package org.apache.gravitino.listener.api.event;

import org.apache.gravitino.NameIdentifier;
import org.apache.gravitino.annotation.DeveloperApi;

/** Represents an event triggered before getting a model. */
@DeveloperApi
public class GetModelPreEvent extends ModelPreEvent {
/**
* Create a new {@link GetModelPreEvent} instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
package org.apache.gravitino.listener.api.event;

import org.apache.gravitino.NameIdentifier;
import org.apache.gravitino.annotation.DeveloperApi;
import org.apache.gravitino.listener.api.info.ModelInfo;

/** Represents an event triggered before registering a model. */
@DeveloperApi
public class RegisterModelPreEvent extends ModelPreEvent {
private ModelInfo modelInfo;

Expand Down

0 comments on commit 416d3b4

Please sign in to comment.