org.almendra.janet.cas.scheduling
Class CommandHistorySummary

java.lang.Object
  extended by org.almendra.janet.cas.scheduling.CommandHistorySummary
All Implemented Interfaces:
IHistorySummary

public class CommandHistorySummary
extends java.lang.Object
implements IHistorySummary

Author:
Oliver

Field Summary
protected  long executionTime
           
protected  long systemStayTime
           
protected  long travelTime
           
 
Constructor Summary
CommandHistorySummary()
          Creates a new CommandHistorySummary object.
 
Method Summary
 void add(CommandHistorySummary summary)
           
 void create(java.util.List historyItems)
           
 long getExecutionTime()
           
 long getSystemStayTime()
           
 long getTotalTime()
           
 long getTravelTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

travelTime

protected long travelTime

executionTime

protected long executionTime

systemStayTime

protected long systemStayTime
Constructor Detail

CommandHistorySummary

public CommandHistorySummary()
Creates a new CommandHistorySummary object.

Method Detail

create

public void create(java.util.List historyItems)
Specified by:
create in interface IHistorySummary

getExecutionTime

public long getExecutionTime()
Returns:
Returns the executionTime.

getSystemStayTime

public long getSystemStayTime()
Returns:
Returns the systemStayTime.

getTravelTime

public long getTravelTime()
Returns:
Returns the travelTime.

getTotalTime

public long getTotalTime()

add

public void add(CommandHistorySummary summary)
Parameters:
summary -