Record Class ConfigState.State

java.lang.Object
java.lang.Record
ai.attackframework.tools.burp.utils.config.ConfigState.State
Enclosing class:
ConfigState

public static record ConfigState.State(List<String> dataSources, String scopeType, List<ConfigState.ScopeEntry> customEntries, ConfigState.Sinks sinks, List<String> settingsSub, List<String> trafficToolTypes, List<String> findingsSeverities, Map<String,Set<String>> enabledExportFieldsByIndex, ConfigState.UiPreferences uiPreferences) extends Record
  • Constructor Details

    • State

      public State(List<String> dataSources, String scopeType, List<ConfigState.ScopeEntry> customEntries, ConfigState.Sinks sinks, List<String> settingsSub, List<String> trafficToolTypes, List<String> findingsSeverities, Map<String,Set<String>> enabledExportFieldsByIndex, ConfigState.UiPreferences uiPreferences)
      Creates an instance of a State record class.
      Parameters:
      dataSources - the value for the dataSources record component
      scopeType - the value for the scopeType record component
      customEntries - the value for the customEntries record component
      sinks - the value for the sinks record component
      settingsSub - the value for the settingsSub record component
      trafficToolTypes - the value for the trafficToolTypes record component
      findingsSeverities - the value for the findingsSeverities record component
      enabledExportFieldsByIndex - the value for the enabledExportFieldsByIndex record component
      uiPreferences - the value for the uiPreferences record component
    • State

      public State(List<String> dataSources, String scopeType, List<ConfigState.ScopeEntry> customEntries, ConfigState.Sinks sinks, List<String> settingsSub, List<String> trafficToolTypes, List<String> findingsSeverities, Map<String,Set<String>> enabledExportFieldsByIndex)
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • dataSources

      public List<String> dataSources()
      Returns the value of the dataSources record component.
      Returns:
      the value of the dataSources record component
    • scopeType

      public String scopeType()
      Returns the value of the scopeType record component.
      Returns:
      the value of the scopeType record component
    • customEntries

      public List<ConfigState.ScopeEntry> customEntries()
      Returns the value of the customEntries record component.
      Returns:
      the value of the customEntries record component
    • sinks

      public ConfigState.Sinks sinks()
      Returns the value of the sinks record component.
      Returns:
      the value of the sinks record component
    • settingsSub

      public List<String> settingsSub()
      Returns the value of the settingsSub record component.
      Returns:
      the value of the settingsSub record component
    • trafficToolTypes

      public List<String> trafficToolTypes()
      Returns the value of the trafficToolTypes record component.
      Returns:
      the value of the trafficToolTypes record component
    • findingsSeverities

      public List<String> findingsSeverities()
      Returns the value of the findingsSeverities record component.
      Returns:
      the value of the findingsSeverities record component
    • enabledExportFieldsByIndex

      public Map<String,Set<String>> enabledExportFieldsByIndex()
      Returns the value of the enabledExportFieldsByIndex record component.
      Returns:
      the value of the enabledExportFieldsByIndex record component
    • uiPreferences

      public ConfigState.UiPreferences uiPreferences()
      Returns the value of the uiPreferences record component.
      Returns:
      the value of the uiPreferences record component