com.adobe.granite.offloading.workflow.api.WorkflowOffloadingProcessArguments Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2013 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
*************************************************************************/
package com.adobe.granite.offloading.workflow.api;
/**
* Workflow process arguments for integrating workflow offloading in workflow steps.
*/
public enum WorkflowOffloadingProcessArguments {
/**
* The workflow model.
* Mandatory. The workflow model to use for the offloaded workflow.
*/
WORKFLOW_MODEL("workflowModel"),
/**
* The workflow model.
*
* Mandatory. The workflow payload to use for the offloaded workflow. Only path based payloads are supported.
*
*/
WORKFLOW_PAYLOAD("workflowPayload"),
/**
* Flag indicating if the workflow model is supposed to be added to the offloading input.
* Optional.
*/
OFFLOADING_INPUT_WORKFLOW_MODEL("offloadingInputIncludeWorkflowModel"),
/**
* Flag indicating if the workflow model is supposed to be added to the offloading output.
* Optional.
*/
OFFLOADING_OUTPUT_WORKFLOW_MODEL("offloadingOutputIncludeWorkflowModel");
private String argumentName;
/**
* Create new argument.
*
* @param argumentName The argument name.
*/
WorkflowOffloadingProcessArguments(String argumentName) {
this.argumentName = argumentName;
}
/**
* Get the argument name.
*
* @return The argument name.
*/
public String getArgumentName() {
return this.argumentName;
}
}