com.qoppa.preflight.results
Class PreflightInfo

java.lang.Object
  extended bycom.qoppa.preflight.results.PreflightInfo

public class PreflightInfo
extends Object

This class contains information about the preflight process. An instance of this class is created by the preflight engine when it runs a preflight operation on a document.

Author:
Qoppa Software

Constructor Summary
PreflightInfo(String version)
          Constructs a preflight information object.
 
Method Summary
 String getComputerName()
          Returns the name of the computer where the preflight was run.
 Date getDateTime()
          Returns the date and time that the preflight was run.
 long getDuration()
          Returns the duration of the preflight run.
 String getOSInfo()
          Returns the OS name and version.
 String getUserName()
          Returns the name of the user that ran the preflight.
 String getVersion()
          Returns the version of the preflight engine.
 void setDuration(long millis)
          Sets the duration of the preflight run.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreflightInfo

public PreflightInfo(String version)
Constructs a preflight information object.

Parameters:
version - The version of the preflight engine.
Method Detail

setDuration

public void setDuration(long millis)
Sets the duration of the preflight run.

Parameters:
millis - The duration of the preflight run in milliseconds.

getComputerName

public String getComputerName()
Returns the name of the computer where the preflight was run.

Returns:
The name of the computer.

getDateTime

public Date getDateTime()
Returns the date and time that the preflight was run.

Returns:
The date and time that the preflight was run.

getDuration

public long getDuration()
Returns the duration of the preflight run.

Returns:
The duration of the preflight run.

getOSInfo

public String getOSInfo()
Returns the OS name and version.

Returns:
The OS name and version.

getUserName

public String getUserName()
Returns the name of the user that ran the preflight.

Returns:
The name of the user that ran the preflight.

getVersion

public String getVersion()
Returns the version of the preflight engine.

Returns:
The version of the preflight engine.