public class ClientContextHolder extends Object
| Constructor and Description |
|---|
ClientContextHolder() |
| Modifier and Type | Method and Description |
|---|---|
static ClientContextHolder |
buildContext(ServiceNode service,
List<EndpointNode> endpoints)
Build a parsable context from a Ballerina
ServiceNode. |
List<EndpointContextHolder> |
getEndpoints() |
String |
getName() |
List<ResourceContextHolder> |
getResources() |
public static ClientContextHolder buildContext(ServiceNode service, List<EndpointNode> endpoints) throws CodeGeneratorException
ServiceNode.service - ServiceNode for a valid ballerina source fileendpoints - list of endpoints to be used as service endpoints for generated clientserviceCodeGeneratorExceptionpublic String getName()
public List<ResourceContextHolder> getResources()
public List<EndpointContextHolder> getEndpoints()
Copyright © 2018 WSO2. All rights reserved.