Uses of Class
com.exonum.binding.common.runtime.ServiceArtifactId
| Package | Description |
|---|---|
| com.exonum.binding.common.runtime | |
| com.exonum.binding.core.runtime | |
| com.exonum.binding.testkit |
-
Uses of ServiceArtifactId in com.exonum.binding.common.runtime
Methods in com.exonum.binding.common.runtime that return ServiceArtifactId Modifier and Type Method Description static ServiceArtifactIdServiceArtifactId. fromProto(Base.ArtifactId artifactId)Creates a new service artifact from the given artifact id message.static ServiceArtifactIdServiceArtifactId. newJavaId(java.lang.String name, java.lang.String version)Creates a new service artifact id of a Java artifact.static ServiceArtifactIdServiceArtifactId. parseFrom(java.lang.String serviceArtifactId)Parses a service id in format "runtimeId:serviceName:version" astoString()produces.static ServiceArtifactIdServiceArtifactId. valueOf(int runtimeId, java.lang.String name, java.lang.String version)Creates a new service artifact id. -
Uses of ServiceArtifactId in com.exonum.binding.core.runtime
Methods in com.exonum.binding.core.runtime that return ServiceArtifactId Modifier and Type Method Description abstract ServiceArtifactIdServiceInstanceSpec. getArtifactId()Returns the service artifact id.Methods in com.exonum.binding.core.runtime with parameters of type ServiceArtifactId Modifier and Type Method Description voidServiceRuntime. deployArtifact(ServiceArtifactId id, java.lang.String filename)Loads a Java service artifact from the specified file.booleanServiceRuntime. isArtifactDeployed(ServiceArtifactId id)Returns true if an artifact with the given id is currently deployed in this runtime.static ServiceInstanceSpecServiceInstanceSpec. newInstance(java.lang.String name, int id, ServiceArtifactId artifactId) -
Uses of ServiceArtifactId in com.exonum.binding.testkit
Methods in com.exonum.binding.testkit with parameters of type ServiceArtifactId Modifier and Type Method Description static TestKitTestKit. forService(ServiceArtifactId artifactId, java.lang.String artifactFilename, java.lang.String serviceName, int serviceId, java.nio.file.Path artifactsDirectory)Deploys and creates a single service with no configuration and with a single validator node in this TestKit network.TestKit.BuilderTestKit.Builder. withDeployedArtifact(ServiceArtifactId serviceArtifactId, java.lang.String artifactFilename)Adds a service artifact which would be deployed by the TestKit.TestKit.BuilderTestKit.Builder. withService(ServiceArtifactId serviceArtifactId, java.lang.String serviceName, int serviceId)Adds a service specification with which the TestKit would create the corresponding service instance with no configuration.TestKit.BuilderTestKit.Builder. withService(ServiceArtifactId serviceArtifactId, java.lang.String serviceName, int serviceId, com.google.protobuf.MessageLite configuration)Adds a service specification with which the TestKit would create the corresponding service instance.