public class TaskExecutorContextAdapter extends Object implements TaskExecutionContext
TaskExecutor.| Constructor and Description |
|---|
TaskExecutorContextAdapter(TestDriverContext context,
ConfigurationFactory configurations)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<T> |
findResource(Class<T> type)
Returns a resource for the type.
|
Map<String,String> |
getBatchArguments()
Returns the batch arguments.
|
String |
getBatchId()
Returns the container batch information.
|
ClassLoader |
getClassLoader()
Returns the class loader to load testing peripherals.
|
Map<String,String> |
getConfigurations()
Returns the platform configurations.
|
Map<String,String> |
getEnvironmentVariables()
Returns the environment variables.
|
String |
getExecutionId()
Returns the current execution ID.
|
String |
getFlowId()
Returns the container jobflow information.
|
public TaskExecutorContextAdapter(TestDriverContext context, ConfigurationFactory configurations)
context - the current contextconfigurations - the configuration factorypublic ClassLoader getClassLoader()
ExecutionContextgetClassLoader in interface ExecutionContextpublic Map<String,String> getConfigurations()
ExecutionContextgetConfigurations in interface ExecutionContextpublic Map<String,String> getEnvironmentVariables()
ExecutionContextgetEnvironmentVariables in interface ExecutionContextpublic <T> Optional<T> findResource(Class<T> type)
ExecutionContextfindResource in interface ExecutionContextT - the provider typetype - the provider typeempty if it is not definedpublic String getBatchId()
TaskExecutionContextgetBatchId in interface TaskExecutionContextpublic String getFlowId()
TaskExecutionContextgetFlowId in interface TaskExecutionContextpublic String getExecutionId()
TaskExecutionContextgetExecutionId in interface TaskExecutionContextpublic Map<String,String> getBatchArguments()
TaskExecutionContextgetBatchArguments in interface TaskExecutionContextCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.