| | |
| | | */ |
| | | public abstract class WorkflowElement |
| | | { |
| | | // Indicates whether the workflow element encapsulates a private local |
| | | // backend. |
| | | private boolean isPrivate = false; |
| | | |
| | | // The workflow element identifier. |
| | | private String workflowElementID = null; |
| | | |
| | | |
| | | /** |
| | | * Indicates whether the workflow element encapsulates a private |
| | | * local backend. |
| | | */ |
| | | protected boolean isPrivate = false; |
| | | |
| | | |
| | | /** |
| | | * Creates a new instance of the workflow element. |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Executes the workflow element for an operation. |
| | | * |
| | | * @param operation the operation to execute |
| | | */ |
| | | public abstract void execute( |
| | | Operation operation |
| | | ); |
| | | public abstract void execute(Operation operation); |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Specifies whether the workflow element encapsulates a private local |
| | | * backend. |
| | | * |
| | | * @param isPrivate Indicates whether the workflow element encapsulates a |
| | | * private local backend. |
| | | */ |
| | | protected void setPrivate(boolean isPrivate) |
| | | { |
| | | this.isPrivate = isPrivate; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Provides the workflow element identifier. |
| | | * |
| | |
| | | return workflowElementID; |
| | | } |
| | | } |
| | | |