public class DumpArchiveSummary extends Object
For the corresponding C structure see the header of DumpArchiveEntry
.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDevname()
Get the device name, e.g., /dev/sda3 or /dev/mapper/vg0-home.
|
Date |
getDumpDate()
Get the date of this dump.
|
String |
getFilesystem()
Get the last mountpoint, e.g., /home.
|
int |
getFirstRecord()
Get the inode of the first record on this volume.
|
int |
getFlags()
Get the miscellaneous flags.
|
String |
getHostname()
Get the hostname of the system where the dump was performed.
|
String |
getLabel()
Get dump label.
|
int |
getLevel()
Get the level of this dump.
|
int |
getNTRec()
Get the number of records per tape block.
|
Date |
getPreviousDumpDate()
Get the date of the previous dump at this level higher.
|
int |
getVolume()
Get volume (tape) number.
|
int |
hashCode() |
boolean |
isCompressed()
Is this volume compressed? N.B., individual blocks may or may not be compressed.
|
boolean |
isExtendedAttributes()
Does this volume contain extended attributes.
|
boolean |
isMetaDataOnly()
Does this volume only contain metadata?
|
boolean |
isNewHeader()
Is this the new header format? (We do not currently support the
old format.)
|
boolean |
isNewInode()
Is this the new inode format? (We do not currently support the
old format.)
|
void |
setDevname(String devname)
Set the device name.
|
void |
setDumpDate(Date dumpDate)
Set dump date.
|
void |
setFilesystem(String fileSystem)
Set the last mountpoint.
|
void |
setFirstRecord(int firstrec)
Set the inode of the first record.
|
void |
setFlags(int flags)
Set the miscellaneous flags.
|
void |
setHostname(String hostname)
Set the hostname.
|
void |
setLabel(String label)
Set dump label.
|
void |
setLevel(int level)
Set level.
|
void |
setNTRec(int ntrec)
Set the number of records per tape block.
|
void |
setPreviousDumpDate(Date previousDumpDate)
Set previous dump date.
|
void |
setVolume(int volume)
Set volume (tape) number.
|
public String getDevname()
public Date getDumpDate()
public String getFilesystem()
public int getFirstRecord()
public int getFlags()
public String getHostname()
public String getLabel()
public int getLevel()
public int getNTRec()
public Date getPreviousDumpDate()
public int getVolume()
public boolean isCompressed()
public boolean isExtendedAttributes()
public boolean isMetaDataOnly()
public boolean isNewHeader()
public boolean isNewInode()
public void setDevname(String devname)
devname
- the device namepublic void setDumpDate(Date dumpDate)
dumpDate
- the dump datepublic void setFilesystem(String fileSystem)
fileSystem
- the last mountpointpublic void setFirstRecord(int firstrec)
firstrec
- the first recordpublic void setFlags(int flags)
flags
- flagspublic void setHostname(String hostname)
hostname
- the host namepublic void setLevel(int level)
level
- the levelpublic void setNTRec(int ntrec)
ntrec
- the number of records per tape blockpublic void setPreviousDumpDate(Date previousDumpDate)
previousDumpDate
- the previous dump datpublic void setVolume(int volume)
volume
- the volume numberCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.