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 theadaptersrecord component.final booleanIndicates whether some other object is "equal to" this one.events()Returns the value of theeventsrecord component.filter()Returns the value of thefilterrecord component.final inthashCode()Returns a hash code value for this object.period()Returns the value of theperiodrecord component.severity()Returns the value of theseverityrecord component.sources()Returns the value of thesourcesrecord component.Returns the value of thethresholdrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord 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 aAddOrUpdateTriggerModelrecord class.- Parameters:
filter- the value for thefilterrecord componenttype- the value for thetyperecord componentseverity- the value for theseverityrecord componentthreshold- the value for thethresholdrecord componentperiod- the value for theperiodrecord componentadapters- the value for theadaptersrecord componentevents- the value for theeventsrecord componentsources- the value for thesourcesrecord 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 thefilterrecord component.- Returns:
- the value of the
filterrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
severity
Returns the value of theseverityrecord component.- Returns:
- the value of the
severityrecord component
-
threshold
Returns the value of thethresholdrecord component.- Returns:
- the value of the
thresholdrecord component
-
period
Returns the value of theperiodrecord component.- Returns:
- the value of the
periodrecord component
-
adapters
Returns the value of theadaptersrecord component.- Returns:
- the value of the
adaptersrecord component
-
events
Returns the value of theeventsrecord component.- Returns:
- the value of the
eventsrecord component
-
sources
Returns the value of thesourcesrecord component.- Returns:
- the value of the
sourcesrecord component
-