public static final class ServiceEndpoint.Builder extends Object implements Serializable, ModelBuilder, ServiceEndpointContract
ServiceEndpoint instances. Enforces the constraints of the ServiceEndpointContract.| Modifier and Type | Method and Description |
|---|---|
ServiceEndpoint |
build() |
static ServiceEndpoint.Builder |
create(ServiceEndpointContract contract) |
static ServiceEndpoint.Builder |
create(ServiceInfo.Builder info,
ServiceDescriptor.Builder descriptor) |
ServiceDescriptor.Builder |
getDescriptor()
Returns the service descriptor for this endpoint.
|
ServiceInfo.Builder |
getInfo()
Returns the service information for this endpoint.
|
void |
setDescriptor(ServiceDescriptor.Builder descriptor) |
void |
setInfo(ServiceInfo.Builder info) |
public static ServiceEndpoint.Builder create(ServiceInfo.Builder info, ServiceDescriptor.Builder descriptor)
public static ServiceEndpoint.Builder create(ServiceEndpointContract contract)
public ServiceEndpoint build()
build in interface ModelBuilderpublic ServiceInfo.Builder getInfo()
ServiceEndpointContractgetInfo in interface ServiceEndpointContractpublic ServiceDescriptor.Builder getDescriptor()
ServiceEndpointContractgetDescriptor in interface ServiceEndpointContractpublic void setInfo(ServiceInfo.Builder info)
public void setDescriptor(ServiceDescriptor.Builder descriptor)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.