|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.xml.XmlRuntime
public class XmlRuntime
The XmlRuntime loads SPRs from a file and executes the runtime tag contained in that XmlFile. Therefore it may be used as replacement of the XmlSUA application.
| Constructor Summary | |
|---|---|
XmlRuntime(String resourceName,
SunriseExecutionService executor)
Creates a new XmlRuntime class. |
|
XmlRuntime(String resourceName,
SunriseExecutionService executor,
IReactionListener listener)
Creates a new XmlRuntime class. |
|
XmlRuntime(URL url,
SunriseExecutionService executor)
Creates a new XmlRuntime class. |
|
XmlRuntime(URL url,
SunriseExecutionService executor,
IReactionListener listener)
Creates a new XmlRuntime class. |
|
| Method Summary | |
|---|---|
void |
execute()
Executes the runtime items specified in the file. |
static XmlRuntime |
execute(URL resourceUrl,
SunriseExecutionService executor)
Creates a new XmlRuntime and starts it immediately. |
SunriseExecutionService |
getExecutionService()
Gets the execution service for this runtime. |
Iterable<com.kuka.roboticsAPI.controllerModel.sunrise.xml.RuntimeItem> |
getRuntimeItems()
Gets the runtime items which are contained in this runtime. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlRuntime(String resourceName,
SunriseExecutionService executor)
resourceName - The resource file which will get parsed.executor - The executor to which the SPRs will get directed.
public XmlRuntime(String resourceName,
SunriseExecutionService executor,
IReactionListener listener)
resourceName - The resource file which will get parsed.executor - The executor to which the SPRs will get directed.listener - The listener which get's called when a SPR has finished.
public XmlRuntime(URL url,
SunriseExecutionService executor)
url - The URL which will get parsed.executor - The executor to which the SPRs will get directed.
public XmlRuntime(URL url,
SunriseExecutionService executor,
IReactionListener listener)
url - The URL which will get parsed.executor - The executor to which the SPRs will get directed.listener - The listener which get's called when a SPR has finished.| Method Detail |
|---|
public static XmlRuntime execute(URL resourceUrl,
SunriseExecutionService executor)
resourceUrl - The resource which will get parsed.executor - The executor to which the SPRs will get directed.
public SunriseExecutionService getExecutionService()
public void execute()
public Iterable<com.kuka.roboticsAPI.controllerModel.sunrise.xml.RuntimeItem> getRuntimeItems()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||