public interface EnterprisePlugin
extends java.lang.AutoCloseable
The following exception sub-classes of EnterprisePluginException can be thrown by all
methods of this client:
UnauthorizedApiCallException: invalid authentication token
ForbiddenApiCallException: authentication token with insufficient privileges
ApiCallIOException: unexpected IO error
InvalidApiCallException: invalid input data
| Modifier and Type | Method and Description |
|---|---|
SimulationStartResult |
createAndStartSimulation(java.util.UUID teamId,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String simulationClass,
java.util.UUID packageId,
java.util.Map<java.lang.String,java.lang.String> systemProperties,
java.io.File file)
Create and start a simulation with given parameters
|
SimulationStartResult |
uploadPackageAndStartSimulation(java.util.UUID simulationId,
java.util.Map<java.lang.String,java.lang.String> systemProperties,
java.lang.String simulationClass,
java.io.File file)
Upload file to the package configured on the given simulation ID, and start the simulation
|
SimulationStartResult uploadPackageAndStartSimulation(java.util.UUID simulationId, java.util.Map<java.lang.String,java.lang.String> systemProperties, java.lang.String simulationClass, java.io.File file) throws EnterprisePluginException
simulationId - RequiredsystemProperties - Required, can be an empty mapsimulationClass - Optional, override simulation configured class name for next runfile - Required, Path to the packaged JAR file to upload and runSimulationNotFoundException - if the simulationId does not existInvalidSimulationClassException - if simulationClass is defined or simulation class name
has not been discoveredEnterprisePluginExceptionSimulationStartResult createAndStartSimulation(java.util.UUID teamId, java.lang.String groupId, java.lang.String artifactId, java.lang.String simulationClass, java.util.UUID packageId, java.util.Map<java.lang.String,java.lang.String> systemProperties, java.io.File file) throws EnterprisePluginException
teamId - OptionalgroupId - OptionalartifactId - RequiredsimulationClass - OptionalpackageId - OptionalsystemProperties - Required, can be an empty Mapfile - RequiredSimulationStartException - if simulation start failed after creationSeveralTeamsFoundException - if teamId is null and there's more than one team discoveredSeveralSimulationClassNamesFoundException - if simulationClass is null and there's more
than one simulation class name discoveredInvalidSimulationClassException - if simulationClass is defined, but not discoveredEnterprisePluginException