]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.api/src/org/argeo/slc/execution/ExecutionContext.java
Upgrade all classpaths to Java 11
[gpl/argeo-slc.git] / org.argeo.slc.api / src / org / argeo / slc / execution / ExecutionContext.java
1 package org.argeo.slc.execution;
2
3 /** Variables or references attached to an execution (typically thread bounded).*/
4 public interface ExecutionContext {
5 public final static String VAR_EXECUTION_CONTEXT_ID = "slcVar.executionContext.id";
6 public final static String VAR_EXECUTION_CONTEXT_CREATION_DATE = "slcVar.executionContext.creationDate";
7 public final static String VAR_FLOW_ID = "slcVar.flow.id";
8 public final static String VAR_FLOW_NAME = "slcVar.flow.name";
9
10 public String getUuid();
11
12 /** @return the variable value, or <code>null</code> if not found. */
13 public Object getVariable(String key);
14
15 public void setVariable(String key, Object value);
16
17 public void beforeFlow(ExecutionFlow executionFlow);
18
19 public void afterFlow(ExecutionFlow executionFlow);
20 }