Record Class RotationPolicy.KeyDirectory
java.lang.Object
java.lang.Record
org.springframework.integration.file.remote.aop.RotationPolicy.KeyDirectory
- Record Components:
- key- the for entry
- directory- the directory for entry
- Enclosing interface:
- RotationPolicy
- 
Constructor SummaryConstructorsConstructorDescriptionKeyDirectory(Object key, String directory) Creates an instance of aKeyDirectoryrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thedirectoryrecord component.final booleanIndicates whether some other object is "equal to" this one.Deprecated, for removal: This API element is subject to removal in a future version.getKey()Deprecated, for removal: This API element is subject to removal in a future version.if favor ofkey()final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
KeyDirectory
 
- 
- 
Method Details- 
getKeyDeprecated, for removal: This API element is subject to removal in a future version.if favor ofkey()- Returns:
- the key
 
- 
getDirectoryDeprecated, for removal: This API element is subject to removal in a future version.if favor ofdirectory()()}- Returns:
- the directory
 
- 
toString
- 
hashCode
- 
equalsIndicates 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).
- 
key
- 
directory
 
- 
directory()()}