Package backupmanager.stream
Class StreamItem
java.lang.Object
backupmanager.stream.StreamItem
- All Implemented Interfaces:
Comparable<StreamItem>
- Direct Known Subclasses:
BasicStreamItem
,FileStreamItem
-
Constructor Summary
ConstructorDescriptionStreamItem
(long databaseIndex, String name, Long startTime, Long endTime, Long size) StreamItem
(String name, Long startTime, Long endTime, Long size) -
Method Summary
Modifier and TypeMethodDescriptionaddFilterMessage
(String newMessage) Adds / concatenates messages from file filters.int
compareTo
(StreamItem other) long
getName()
getSize()
boolean
void
setActionMessage
(String actionMessage) void
setDatabaseIndex
(long databaseIndex) void
setFilterMessage
(String filterMessage) void
setProcessIt
(boolean processIt) void
-
Constructor Details
-
StreamItem
-
StreamItem
-
-
Method Details
-
getFilterMessage
-
setFilterMessage
-
isProcessIt
public boolean isProcessIt() -
setProcessIt
public void setProcessIt(boolean processIt) -
getName
-
getStartUTC
-
getEndUTC
-
getDatabaseIndex
public long getDatabaseIndex() -
setDatabaseIndex
public void setDatabaseIndex(long databaseIndex) -
getActionMessage
-
setActionMessage
-
getSize
- Returns:
- the size
-
setSize
- Parameters:
size
- the size to set
-
compareTo
- Specified by:
compareTo
in interfaceComparable<StreamItem>
-
addFilterMessage
Adds / concatenates messages from file filters.- Parameters:
unitName
-
-