public class ProjectManagementService extends Object
| Constructor and Description |
|---|
ProjectManagementService() |
| Modifier and Type | Method and Description |
|---|---|
FlowResource |
getFlow(String projectId,
String flowId) |
FlowResource |
getFlow(String projectId,
String version,
String flowId) |
List<FlowResource> |
getFlows(String projectId,
String version) |
ProjectResource |
getProject(String projectId) |
ProjectResource |
getProject(String projectId,
String version) |
List<ProjectResource> |
getProjectList() |
void |
startProject(String projectId)
Starts a specific project
|
void |
startProject(String projectId,
String version)
Starts a specific project
|
void |
stopProject(String projectId)
Stops a specific project
|
void |
stopProject(String projectId,
String version)
Stops a specific project
|
public List<ProjectResource> getProjectList() throws ManagementServiceException
ManagementServiceException - if fails to obtain the project Listpublic ProjectResource getProject(String projectId) throws ManagementServiceException
projectId - Id of the integration projectManagementServiceException - if fails to obtain the project details or when a project with the given ID
is not foundpublic ProjectResource getProject(String projectId, String version) throws ManagementServiceException
projectId - Id of the integration projectversion - version of the integration projectManagementServiceException - if fails to obtain the project details or when a project with the given ID
is not foundpublic void startProject(String projectId) throws ManagementServiceException
projectId - ID of the project to be startedManagementServiceException - if project with the given ID is not foundpublic void stopProject(String projectId) throws ManagementServiceException
projectId - ID of the project to be stoppedManagementServiceException - if project with the given ID is not foundpublic void startProject(String projectId, String version) throws ManagementServiceException
projectId - ID of the project to be startedversion - version of the project to be startedManagementServiceException - if project with the given ID is not foundpublic void stopProject(String projectId, String version) throws ManagementServiceException
projectId - ID of the project to be stoppedversion - version of the project to be stoppedManagementServiceException - if project with the given ID is not foundpublic FlowResource getFlow(String projectId, String flowId) throws ManagementServiceException
projectId - Id 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 FlowResource getFlow(String projectId, String version, String flowId) throws ManagementServiceException
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 List<FlowResource> getFlows(String projectId, String version) throws ManagementServiceException
projectId - Id of the integration projectversion - version of the integration projectManagementServiceException - if fails to obtain the integration flow details or when a project is not
found with the given IDCopyright © 2016–2019 AdroitLogic. All rights reserved.