public interface ExecutionScript
ExecutionScriptHandler
Modifier and Type | Interface and Description |
---|---|
static class |
ExecutionScript.Kind
Type of each
ExecutionScript . |
static class |
ExecutionScript.PlaceholderResolver
Resolves placeholders in script.
|
Modifier and Type | Field and Description |
---|---|
static String |
ENV_ASAKUSA_HOME
An environment variable name of Asakusa installation home.
|
static String |
PLACEHOLDER_ARGUMENTS
A placeholder name of the execution arguments.
|
static String |
PLACEHOLDER_EXECUTION_ID
A placeholder name of the execution ID.
|
static String |
PLACEHOLDER_HOME
A placeholder name of the Asakusa installed location.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getBlockerIds()
Returns the IDs representing blockers of this script execution.
|
Map<String,String> |
getEnvironmentVariables()
Returns desired environment variables used in this execution.
|
String |
getId()
Returns the ID of this script execution.
|
ExecutionScript.Kind |
getKind()
Returns the kind of this script.
|
Set<String> |
getSupportedExtensions()
Returns the supported extension names.
|
boolean |
isResolved()
Returns whether this script is resolved.
|
ExecutionScript |
resolve(ExecutionContext context,
ExecutionScriptHandler<?> handler)
Resolves placeholders defined in this script.
|
static final String ENV_ASAKUSA_HOME
static final String PLACEHOLDER_HOME
static final String PLACEHOLDER_EXECUTION_ID
static final String PLACEHOLDER_ARGUMENTS
ExecutionScript.Kind getKind()
String getId()
Set<String> getBlockerIds()
Map<String,String> getEnvironmentVariables()
Set<String> getSupportedExtensions()
boolean isResolved()
true
for resolved instance, otherwise false
resolve(ExecutionContext, ExecutionScriptHandler)
ExecutionScript resolve(ExecutionContext context, ExecutionScriptHandler<?> handler) throws InterruptedException, IOException
context
- current contexthandler
- target handlerInterruptedException
- if interrupted while resolving this objectIOException
- if failed to resolve some entryIllegalArgumentException
- if some parameters were null
isResolved()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.