File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
src/main/java/com/redhat/podmortem/common/model/pattern Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 11package com .redhat .podmortem .common .model .pattern ;
22
3+ import com .fasterxml .jackson .annotation .JsonIgnore ;
34import com .fasterxml .jackson .annotation .JsonProperty ;
45import io .quarkus .runtime .annotations .RegisterForReflection ;
56
@@ -11,6 +12,8 @@ public class SecondaryPattern {
1112 @ JsonProperty ("proximity_window" )
1213 private int proximityWindow ;
1314
15+ @ JsonIgnore private java .util .regex .Pattern compiledRegex ;
16+
1417 public String getRegex () {
1518 return regex ;
1619 }
@@ -34,4 +37,14 @@ public int getProximityWindow() {
3437 public void setProximityWindow (int proximityWindow ) {
3538 this .proximityWindow = proximityWindow ;
3639 }
40+
41+ @ JsonIgnore
42+ public java .util .regex .Pattern getCompiledRegex () {
43+ return compiledRegex ;
44+ }
45+
46+ @ JsonIgnore
47+ public void setCompiledRegex (java .util .regex .Pattern compiledRegex ) {
48+ this .compiledRegex = compiledRegex ;
49+ }
3750}
You can’t perform that action at this time.
0 commit comments