diff --git a/src/main/java/io/cryostat/agent/FlightRecorderHelper.java b/src/main/java/io/cryostat/agent/FlightRecorderHelper.java index 79048a39..fb7a026f 100644 --- a/src/main/java/io/cryostat/agent/FlightRecorderHelper.java +++ b/src/main/java/io/cryostat/agent/FlightRecorderHelper.java @@ -27,6 +27,7 @@ import java.util.stream.Collectors; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +import io.cryostat.libcryostat.templates.TemplateType; import jdk.jfr.Configuration; import jdk.jfr.FlightRecorder; import jdk.jfr.Recording; @@ -173,12 +174,6 @@ public TemplateType getType() { } } - public enum TemplateType { - TARGET, - CUSTOM, - ; - } - @SuppressFBWarnings(value = "URF_UNREAD_FIELD") public static class RecordingInfo {