Skip to content

Commit

Permalink
chore(eventtemplates): use libcryostat TemplateType (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Dec 19, 2024
1 parent 421e568 commit c27e08e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/main/java/io/cryostat/agent/FlightRecorderHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
import java.util.function.Predicate;
import java.util.stream.Collectors;

import io.cryostat.libcryostat.templates.TemplateType;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import jdk.jfr.Configuration;
import jdk.jfr.FlightRecorder;
Expand Down Expand Up @@ -173,12 +175,6 @@ public TemplateType getType() {
}
}

public enum TemplateType {
TARGET,
CUSTOM,
;
}

@SuppressFBWarnings(value = "URF_UNREAD_FIELD")
public static class RecordingInfo {

Expand Down

0 comments on commit c27e08e

Please sign in to comment.