Record Class SecretSourceStringAppPropertiesLocation
java.lang.Object
java.lang.Record
com.atlassian.jira.upgrade.tasks.build10020000.SecretSourceStringAppPropertiesLocation
- All Implemented Interfaces:
SecretSourceLocation
public record SecretSourceStringAppPropertiesLocation(QueryDslAccessor queryDslAccessor, Set<String> propertyKeys)
extends Record
implements SecretSourceLocation
-
Constructor Summary
ConstructorsConstructorDescriptionSecretSourceStringAppPropertiesLocation
(QueryDslAccessor queryDslAccessor, Set<String> propertyKeys) Creates an instance of aSecretSourceStringAppPropertiesLocation
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.getName()
final int
hashCode()
Returns a hash code value for this object.Returns the value of thepropertyKeys
record component.Returns the value of thequeryDslAccessor
record component.void
replacePlaceholderWithSecretForId
(String id, String secret) void
final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
SecretSourceStringAppPropertiesLocation
public SecretSourceStringAppPropertiesLocation(QueryDslAccessor queryDslAccessor, Set<String> propertyKeys) Creates an instance of aSecretSourceStringAppPropertiesLocation
record class.- Parameters:
queryDslAccessor
- the value for thequeryDslAccessor
record componentpropertyKeys
- the value for thepropertyKeys
record component
-
-
Method Details
-
getPlainTextSecretsFromDb
- Specified by:
getPlainTextSecretsFromDb
in interfaceSecretSourceLocation
-
replaceSecretsWithPlaceholder
public void replaceSecretsWithPlaceholder()- Specified by:
replaceSecretsWithPlaceholder
in interfaceSecretSourceLocation
-
replacePlaceholderWithSecretForId
- Specified by:
replacePlaceholderWithSecretForId
in interfaceSecretSourceLocation
-
getName
- Specified by:
getName
in interfaceSecretSourceLocation
-
getPrefix
- Specified by:
getPrefix
in interfaceSecretSourceLocation
-
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)
. -
queryDslAccessor
Returns the value of thequeryDslAccessor
record component.- Returns:
- the value of the
queryDslAccessor
record component
-
propertyKeys
Returns the value of thepropertyKeys
record component.- Returns:
- the value of the
propertyKeys
record component
-