]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.api/src/org/argeo/slc/execution/ExecutionSpec.java
Upgrade all classpaths to Java 11
[gpl/argeo-slc.git] / org.argeo.slc.api / src / org / argeo / slc / execution / ExecutionSpec.java
1 package org.argeo.slc.execution;
2
3 import java.util.Map;
4
5 /**
6 * The class implementing this interface defines the map of attributes that are
7 * necessary for the corresponding ExecutionFlow.
8 */
9 public interface ExecutionSpec {
10 /**
11 * The name for an internal spec (for backward compatibility where a
12 * non-null name is expected)
13 */
14 public final static String INTERNAL_NAME = "__SLC_EXECUTION_SPEC_INTERNAL";
15
16 /**
17 * The name identifying the execution spec within its application context.
18 * Can be null. An execution spec can be referenced only if its name is not
19 * null or different from {@link #INTERNAL_NAME}
20 */
21 public String getName();
22
23 /** An optional description. Can be null. */
24 public String getDescription();
25
26 /** The attributes managed by this execution spec */
27 public Map<String, ExecutionSpecAttribute> getAttributes();
28
29 }