com.jgoodies.jdiskreport.domain
Class ScanResult

java.lang.Object
  extended by com.jgoodies.jdiskreport.domain.ScanResult
All Implemented Interfaces:
Serializable

public final class ScanResult
extends Object
implements Serializable

An immutable description of a scan that consists of the configuration, the root of the file system tree, and the start and end time.

Version:
$Revision: 1.5 $
Author:
Karsten Lentzsch
See Also:
Serialized Form

Constructor Summary
ScanResult(ScanConfiguration configuration, Root root, long fileCount, long folderCount, long startTime, long endTime)
          Constructs a scan result for the given configuration, root, and summary.
 
Method Summary
 ScanConfiguration getConfiguration()
           
 Date getEndTime()
           
 Root getRoot()
           
 long getScanDuration()
           
 Date getStartTime()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScanResult

public ScanResult(ScanConfiguration configuration,
                  Root root,
                  long fileCount,
                  long folderCount,
                  long startTime,
                  long endTime)
Constructs a scan result for the given configuration, root, and summary.

Method Detail

getConfiguration

public ScanConfiguration getConfiguration()

getRoot

public Root getRoot()

getStartTime

public Date getStartTime()

getEndTime

public Date getEndTime()

getScanDuration

public long getScanDuration()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.