|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.ksb.api.registry.ServiceInfo.Builder
public static final class ServiceInfo.Builder
A builder which can be used to construct ServiceInfo instances.
Enforces the constraints of the ServiceInfoContract.
| Method Summary | |
|---|---|
ServiceInfo |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static ServiceInfo.Builder |
create()
|
static ServiceInfo.Builder |
create(ServiceInfoContract contract)
|
String |
getApplicationId()
Returns the id of the application that published and owns the service. |
String |
getChecksum()
Returns a checksum value for the ServiceConfiguration stored in the
ServiceDescriptorContract for this service. |
String |
getEndpointUrl()
Returns the URL of the service as a string. |
String |
getInstanceId()
Returns the id of the instance that published and owns the service. |
String |
getServerIpAddress()
Return the IP address of the server on which the application is running which published and owns the service. |
String |
getServiceDescriptorId()
Returns the id of the service descriptor for this service. |
String |
getServiceId()
Returns the identifier for the service. |
QName |
getServiceName()
Returns the name of the service as a qualified name consisting of a namespace and a name. |
String |
getServiceVersion()
Returns the version information of this service. |
ServiceEndpointStatus |
getStatus()
Return the status of the service endpoint represented by this service. |
String |
getType()
Returns the type of this service. |
Long |
getVersionNumber()
Returns the version number for this object. |
void |
setApplicationId(String applicationId)
|
void |
setChecksum(String checksum)
|
void |
setEndpointUrl(String endpointUrl)
|
void |
setInstanceId(String instanceId)
|
void |
setServerIpAddress(String serverIpAddress)
|
void |
setServiceDescriptorId(String serviceDescriptorId)
|
void |
setServiceId(String serviceId)
|
void |
setServiceName(QName serviceName)
|
void |
setServiceVersion(String serviceVersion)
|
void |
setStatus(ServiceEndpointStatus status)
|
void |
setType(String type)
|
void |
setVersionNumber(Long versionNumber)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ServiceInfo.Builder create()
public static ServiceInfo.Builder create(ServiceInfoContract contract)
public ServiceInfo build()
ModelBuilder
build in interface ModelBuilderpublic String getServiceId()
ServiceInfoContract
getServiceId in interface ServiceInfoContractpublic QName getServiceName()
ServiceInfoContract
getServiceName in interface ServiceInfoContractpublic String getEndpointUrl()
ServiceInfoContract
getEndpointUrl in interface ServiceInfoContractpublic String getInstanceId()
ServiceInfoContract
getInstanceId in interface ServiceInfoContractpublic String getApplicationId()
ServiceInfoContract
getApplicationId in interface ServiceInfoContractpublic String getServerIpAddress()
ServiceInfoContract
getServerIpAddress in interface ServiceInfoContractpublic String getType()
ServiceInfoContract
getType in interface ServiceInfoContractpublic String getServiceVersion()
ServiceInfoContractCoreConstants.Versions#UNSPECIFIED.
getServiceVersion in interface ServiceInfoContractCoreConstants.Versions#UNSPECIFIED
if no version has been secified, should never return a null or blank valuepublic ServiceEndpointStatus getStatus()
ServiceInfoContract
getStatus in interface ServiceInfoContractpublic String getServiceDescriptorId()
ServiceInfoContractServiceDescriptorContract for this
service which includes more detailed information on this service.
getServiceDescriptorId in interface ServiceInfoContractpublic String getChecksum()
ServiceInfoContractServiceConfiguration stored in the
ServiceDescriptorContract for this service. This allows for fast
comparison of services during various registry operations.
getChecksum in interface ServiceInfoContractpublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic void setServiceId(String serviceId)
public void setServiceName(QName serviceName)
public void setEndpointUrl(String endpointUrl)
public void setInstanceId(String instanceId)
public void setApplicationId(String applicationId)
public void setServerIpAddress(String serverIpAddress)
public void setType(String type)
public void setServiceVersion(String serviceVersion)
public void setStatus(ServiceEndpointStatus status)
public void setServiceDescriptorId(String serviceDescriptorId)
public void setChecksum(String checksum)
public void setVersionNumber(Long versionNumber)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||