Package com.inet.report.event
Class EngineFinishEvent
- java.lang.Object
-
- com.inet.report.event.EngineFinishEvent
-
public class EngineFinishEvent extends java.lang.Object
This event indicates that the execution process of an engine has benn finished.- Since:
- 6.1
- See Also:
EngineFinishListener
,Engine.addFinishListener(com.inet.report.event.EngineFinishListener)
-
-
Constructor Summary
Constructors Constructor Description EngineFinishEvent(Engine engine, java.net.URL url, long executionTime)
Constructs a new EngineFinishEvent object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Engine
getEngine()
Returns the Engine that has been finished now.long
getExecutionTime()
Returns the execution time of the Engine in milliseconds.java.net.URL
getUrl()
Returns the report URL of the finished engine.
-
-
-
Constructor Detail
-
EngineFinishEvent
public EngineFinishEvent(Engine engine, java.net.URL url, long executionTime)
Constructs a new EngineFinishEvent object.- Parameters:
engine
- the Engine that has been finished now.url
- the report URL of the finished engine.executionTime
- the execution time of the Engine in milliseconds.- Since:
- 6.1
-
-
Method Detail
-
getEngine
public Engine getEngine()
Returns the Engine that has been finished now.- Returns:
- Engine
- Since:
- 6.1
-
getUrl
public java.net.URL getUrl()
Returns the report URL of the finished engine.- Returns:
- URL
- Since:
- 6.1
-
getExecutionTime
public long getExecutionTime()
Returns the execution time of the Engine in milliseconds.- Returns:
- executionTime
- Since:
- 6.1
-
-