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
|
long |
uploadPackage(java.util.UUID packageId,
java.io.File file)
Upload file to the package associated with given packageId
|
SimulationStartResult |
uploadPackageAndStartSimulation(java.util.UUID simulationId,
java.util.Map<java.lang.String,java.lang.String> systemProperties,
java.io.File file)
Upload file to the package configured on the given simulation ID, and start the simulation
|
long |
uploadPackageWithSimulationId(java.util.UUID simulationId,
java.io.File file)
Upload file to the package associated to the given simulationId
|
long uploadPackage(java.util.UUID packageId,
java.io.File file)
throws EnterprisePluginException
packageId - Requiredfile - Path to the packaged JAR file to upload and run; requiredEnterprisePluginExceptionlong uploadPackageWithSimulationId(java.util.UUID simulationId,
java.io.File file)
throws EnterprisePluginException
simulationId - Requiredfile - Path to the packaged JAR file to upload and run; requiredEnterprisePluginExceptionSimulationStartResult uploadPackageAndStartSimulation(java.util.UUID simulationId, java.util.Map<java.lang.String,java.lang.String> systemProperties, java.io.File file) throws EnterprisePluginException
simulationId - RequiredsystemProperties - Required, can be an empty mapfile - Required, Path to the packaged JAR file to upload and runSimulationNotFoundException - if the simulationId does not existEnterprisePluginExceptionSimulationStartResult 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 - RequiredpackageId - OptionalsystemProperties - Required, can be an empty Mapfile - RequiredSimulationStartException - if simulation start failed after creationEnterprisePluginException