Package net.sf.jasperreports.chrome
Class ChromeInstance
- java.lang.Object
-
- net.sf.jasperreports.chrome.ChromeInstance
-
- All Implemented Interfaces:
ChromeInstanceHandle
public class ChromeInstance extends Object implements ChromeInstanceHandle
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description ChromeInstance(LaunchConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected void
doClose()
protected void
endUse()
long
getId()
ChromeInstanceState
getState()
boolean
isAlive()
<T> T
runWithChromeInstance(Function<com.github.kklisura.cdt.services.ChromeService,T> execution)
void
start()
protected void
startUse()
-
-
-
Constructor Detail
-
ChromeInstance
public ChromeInstance(LaunchConfiguration configuration)
-
-
Method Detail
-
getId
public long getId()
-
start
public void start()
-
isAlive
public boolean isAlive()
-
runWithChromeInstance
public <T> T runWithChromeInstance(Function<com.github.kklisura.cdt.services.ChromeService,T> execution)
- Specified by:
runWithChromeInstance
in interfaceChromeInstanceHandle
-
startUse
protected void startUse()
-
endUse
protected void endUse()
-
getState
public ChromeInstanceState getState()
-
close
public void close()
-
doClose
protected void doClose()
-
-