public abstract class ServiceInstanceSpec extends Object
| Constructor and Description |
|---|
ServiceInstanceSpec() |
| Modifier and Type | Method and Description |
|---|---|
abstract ServiceArtifactId |
getArtifactId()
Returns the service artifact id.
|
abstract int |
getId()
Returns the numeric id of the service instance.
|
abstract String |
getName()
Returns the name of the service instance.
|
static ServiceInstanceSpec |
newInstance(String name,
int id,
ServiceArtifactId artifactId) |
public abstract String getName()
public abstract int getId()
TransactionMessage.getServiceId()public abstract ServiceArtifactId getArtifactId()
public static ServiceInstanceSpec newInstance(String name, int id, ServiceArtifactId artifactId)
Copyright © 2019 Exonum. All rights reserved.