Record Class Monitors.AddOrUpdateTriggerModel
java.lang.Object
java.lang.Record
org.frankframework.console.controllers.Monitors.AddOrUpdateTriggerModel
- Enclosing class:
Monitors
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadapters()
Returns the value of theadapters
record component.final boolean
Indicates whether some other object is "equal to" this one.events()
Returns the value of theevents
record component.filter()
Returns the value of thefilter
record component.final int
hashCode()
Returns a hash code value for this object.period()
Returns the value of theperiod
record component.severity()
Returns the value of theseverity
record component.sources()
Returns the value of thesources
record component.Returns the value of thethreshold
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.
-
Constructor Details
-
AddOrUpdateTriggerModel
public AddOrUpdateTriggerModel(String filter, String type, String severity, Integer threshold, Integer period, List<String> adapters, List<String> events, Map<String, List<String>> sources) Creates an instance of aAddOrUpdateTriggerModel
record class.- Parameters:
filter
- the value for thefilter
record componenttype
- the value for thetype
record componentseverity
- the value for theseverity
record componentthreshold
- the value for thethreshold
record componentperiod
- the value for theperiod
record componentadapters
- the value for theadapters
record componentevents
- the value for theevents
record componentsources
- the value for thesources
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
filter
Returns the value of thefilter
record component.- Returns:
- the value of the
filter
record component
-
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
severity
Returns the value of theseverity
record component.- Returns:
- the value of the
severity
record component
-
threshold
Returns the value of thethreshold
record component.- Returns:
- the value of the
threshold
record component
-
period
Returns the value of theperiod
record component.- Returns:
- the value of the
period
record component
-
adapters
Returns the value of theadapters
record component.- Returns:
- the value of the
adapters
record component
-
events
Returns the value of theevents
record component.- Returns:
- the value of the
events
record component
-
sources
Returns the value of thesources
record component.- Returns:
- the value of the
sources
record component
-