public class IntegrationFlowManagementService extends Object
Constructor and Description |
---|
IntegrationFlowManagementService() |
Modifier and Type | Method and Description |
---|---|
List<ConnectorResource> |
getEgressConnectors(String projectId,
String version,
String flowId)
Returns a list of
ConnectorResource s representing the egress connectors of the integration flow |
FlowResource |
getFlow(String projectId,
String version,
String flowId)
Returns
FlowResource representing the integration flow that has the given flowId and belongs to a project
with the given projectId and version. |
String |
getFlowXPos(String projectId,
String version,
String flowId)
Returns
String containing the XPos JSON content of the integration flow that has the given flowId and
belongs to a project with the given projectId and version. |
List<ConnectorResource> |
getIngressConnectors(String projectId,
String version,
String flowId)
Returns a list of
ConnectorResource s representing the ingress connectors of the integration flow |
(package private) List<ConnectorResource> |
getIngressConnectors(XIntegrationFlow integrationFlow)
Returns a list of
ConnectorResource s representing the ingress connectors of the integration flow |
public FlowResource getFlow(String projectId, String version, String flowId) throws ManagementServiceException
FlowResource
representing the integration flow that has the given flowId and belongs to a project
with the given projectId and version. This FlowResource
object will not contain information on the
connectors.projectId
- Id of the integration projectversion
- version of the integration projectflowId
- Id of the integration flow within the projectManagementServiceException
- if fails to obtain the integration flow details or when a project is not
found with the given IDpublic String getFlowXPos(String projectId, String version, String flowId) throws ManagementServiceException
String
containing the XPos JSON content of the integration flow that has the given flowId and
belongs to a project with the given projectId and version.projectId
- Id of the integration projectversion
- version of the integration projectflowId
- Id of the integration flow within the projectnull
if xpos file not foundManagementServiceException
- if fails to obtain the integration flow xpos details or when a project is not
found with the given IDpublic List<ConnectorResource> getIngressConnectors(String projectId, String version, String flowId) throws ManagementServiceException
ConnectorResource
s representing the ingress connectors of the integration flowprojectId
- Id of the integration projectversion
- version of the integration projectflowId
- Id of the integration flow within the projectManagementServiceException
- if fails to obtain the integration flow ingress connector details or when a
project is not found with the given IDList<ConnectorResource> getIngressConnectors(XIntegrationFlow integrationFlow) throws ManagementServiceException
ConnectorResource
s representing the ingress connectors of the integration flowintegrationFlow
- XIntegrationFlow
instance to get ingress connector informationManagementServiceException
- if failed to retrieve ingress connector informationpublic List<ConnectorResource> getEgressConnectors(String projectId, String version, String flowId) throws ManagementServiceException
ConnectorResource
s representing the egress connectors of the integration flowprojectId
- Id of the integration projectversion
- version of the integration projectflowId
- Id of the integration flow within the projectManagementServiceException
- if fails to obtain the integration flow egress connector details or when a
project is not found with the given IDCopyright © 2016–2019 AdroitLogic. All rights reserved.