Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/main/java/io/adobe/cloudmanager/CloudManagerApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,25 +95,25 @@ public interface CloudManagerApi {
* @param programId the program id context of the pipeline
* @param pipelineId the pipeline id of to find the execution
* @return the execution details of the pipeline
* @throws CloudManagerApiException when any error occurs
* @throws CloudManagerApiException when any error occurs or if no current execution exists
*/
PipelineExecution getCurrentExecution(String programId, String pipelineId) throws CloudManagerApiException;

/**
* Cancels the current execution of the specified pipeline, if any execution exists.
* Cancels the current execution of the specified pipeline.
*
* @param programId the program id context of the pipeline
* @param pipelineId the id of the pipeline to cancel
* @throws CloudManagerApiException when any error occurs
* @throws CloudManagerApiException when any error occurs or if no current execution exists
*/
void cancelCurrentExecution(String programId, String pipelineId) throws CloudManagerApiException;

/**
* Advances the current execution of the specified pipeline, if in an appropriate state.
* Advances the current execution of the specified pipeline.
*
* @param programId the program id context of the pipeline
* @param pipelineId the id of the pipeline to cancel
* @throws CloudManagerApiException when any error occurs
* @throws CloudManagerApiException when any error occurs or if no current execution exists
*/
void advanceCurrentExecution(String programId, String pipelineId) throws CloudManagerApiException;

Expand Down