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 Summary
ConstructorsConstructorDescriptionState(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) 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 aStaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecustomEntriesrecord component.Returns the value of thedataSourcesrecord component.Returns the value of theenabledExportFieldsByIndexrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefindingsSeveritiesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thescopeTyperecord component.Returns the value of thesettingsSubrecord component.sinks()Returns the value of thesinksrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrafficToolTypesrecord component.Returns the value of theuiPreferencesrecord component.
-
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 aStaterecord class.- Parameters:
dataSources- the value for thedataSourcesrecord componentscopeType- the value for thescopeTyperecord componentcustomEntries- the value for thecustomEntriesrecord componentsinks- the value for thesinksrecord componentsettingsSub- the value for thesettingsSubrecord componenttrafficToolTypes- the value for thetrafficToolTypesrecord componentfindingsSeverities- the value for thefindingsSeveritiesrecord componentenabledExportFieldsByIndex- the value for theenabledExportFieldsByIndexrecord componentuiPreferences- the value for theuiPreferencesrecord component
-
State
-
-
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). -
dataSources
Returns the value of thedataSourcesrecord component.- Returns:
- the value of the
dataSourcesrecord component
-
scopeType
Returns the value of thescopeTyperecord component.- Returns:
- the value of the
scopeTyperecord component
-
customEntries
Returns the value of thecustomEntriesrecord component.- Returns:
- the value of the
customEntriesrecord component
-
sinks
Returns the value of thesinksrecord component.- Returns:
- the value of the
sinksrecord component
-
settingsSub
Returns the value of thesettingsSubrecord component.- Returns:
- the value of the
settingsSubrecord component
-
trafficToolTypes
Returns the value of thetrafficToolTypesrecord component.- Returns:
- the value of the
trafficToolTypesrecord component
-
findingsSeverities
Returns the value of thefindingsSeveritiesrecord component.- Returns:
- the value of the
findingsSeveritiesrecord component
-
enabledExportFieldsByIndex
Returns the value of theenabledExportFieldsByIndexrecord component.- Returns:
- the value of the
enabledExportFieldsByIndexrecord component
-
uiPreferences
Returns the value of theuiPreferencesrecord component.- Returns:
- the value of the
uiPreferencesrecord component
-