Package org.techbd.orchestrate.sftp
Record Class SftpManager.TenantSftpEgressContent
java.lang.Object
java.lang.Record
org.techbd.orchestrate.sftp.SftpManager.TenantSftpEgressContent
- Enclosing class:
SftpManager
-
Constructor Summary
ConstructorDescriptionTenantSftpEgressContent
(String tenantId, String sftpUri, Date cachedAt, org.apache.commons.vfs2.FileObject home, org.apache.commons.vfs2.FileObject[] directories, Exception error) Creates an instance of aTenantSftpEgressContent
record class. -
Method Summary
Modifier and TypeMethodDescriptioncachedAt()
Returns the value of thecachedAt
record component.org.apache.commons.vfs2.FileObject[]
Returns the value of thedirectories
record component.final boolean
Indicates whether some other object is "equal to" this one.error()
Returns the value of theerror
record component.final int
hashCode()
Returns a hash code value for this object.org.apache.commons.vfs2.FileObject
home()
Returns the value of thehome
record component.sftpUri()
Returns the value of thesftpUri
record component.tenantId()
Returns the value of thetenantId
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
TenantSftpEgressContent
public TenantSftpEgressContent(String tenantId, String sftpUri, Date cachedAt, org.apache.commons.vfs2.FileObject home, org.apache.commons.vfs2.FileObject[] directories, Exception error) Creates an instance of aTenantSftpEgressContent
record class.- Parameters:
tenantId
- the value for thetenantId
record componentsftpUri
- the value for thesftpUri
record componentcachedAt
- the value for thecachedAt
record componenthome
- the value for thehome
record componentdirectories
- the value for thedirectories
record componenterror
- the value for theerror
record component
-
-
Method Details
-
mostRecentEgress
-
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)
. -
tenantId
Returns the value of thetenantId
record component.- Returns:
- the value of the
tenantId
record component
-
sftpUri
Returns the value of thesftpUri
record component.- Returns:
- the value of the
sftpUri
record component
-
cachedAt
Returns the value of thecachedAt
record component.- Returns:
- the value of the
cachedAt
record component
-
home
public org.apache.commons.vfs2.FileObject home()Returns the value of thehome
record component.- Returns:
- the value of the
home
record component
-
directories
public org.apache.commons.vfs2.FileObject[] directories()Returns the value of thedirectories
record component.- Returns:
- the value of the
directories
record component
-
error
Returns the value of theerror
record component.- Returns:
- the value of the
error
record component
-