Class StreamItem

java.lang.Object
backupmanager.stream.StreamItem
All Implemented Interfaces:
Comparable<StreamItem>
Direct Known Subclasses:
BasicStreamItem, FileStreamItem

public abstract class StreamItem extends Object implements Comparable<StreamItem>
  • Constructor Details

    • StreamItem

      public StreamItem(String name, Long startTime, Long endTime, Long size)
    • StreamItem

      public StreamItem(long databaseIndex, String name, Long startTime, Long endTime, Long size)
  • Method Details

    • getFilterMessage

      public String getFilterMessage()
    • setFilterMessage

      public void setFilterMessage(String filterMessage)
    • isProcessIt

      public boolean isProcessIt()
    • setProcessIt

      public void setProcessIt(boolean processIt)
    • getName

      public String getName()
    • getStartUTC

      public Long getStartUTC()
    • getEndUTC

      public Long getEndUTC()
    • getDatabaseIndex

      public long getDatabaseIndex()
    • setDatabaseIndex

      public void setDatabaseIndex(long databaseIndex)
    • getActionMessage

      public String getActionMessage()
    • setActionMessage

      public void setActionMessage(String actionMessage)
    • getSize

      public Long getSize()
      Returns:
      the size
    • setSize

      public void setSize(Long size)
      Parameters:
      size - the size to set
    • compareTo

      public int compareTo(StreamItem other)
      Specified by:
      compareTo in interface Comparable<StreamItem>
    • addFilterMessage

      public String addFilterMessage(String newMessage)
      Adds / concatenates messages from file filters.
      Parameters:
      unitName -