Package com.e1c.g5.dt.applications
Class ExecutionContext
- java.lang.Object
- 
- com.e1c.g5.dt.applications.ExecutionContext
 
- 
 public final class ExecutionContext extends Object The execution context of the application operations.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringACTIVE_LAUNCHThe execution context key to hold an active Eclipse launch instance.static StringACTIVE_SHELL_NAMEThe execution context key to hold an UI shell.static StringDEBUG_TARGETThe execution context key to hold the debug processIDebugTargetinstance.static StringDEBUG_URLThe execution context key to hold the IDE debugger connection URL.static StringLAUNCH_URLThe execution context key to hold the launch (open) URL.
 - 
Constructor SummaryConstructors Constructor Description ExecutionContext()Creates an empty instance ofExecutionContext.ExecutionContext(Map<String,Object> properties)Creates an instance ofExecutionContextwith the provided properties.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionContextcopy()Copies context with all keys and values.booleanequals(Object obj)<T> Optional<T>getProperty(String key)Returns a context value stored for the provided key.inthashCode()voidsetProperties(Map<String,Object> properties)Sets the context key-value map.voidsetProperty(String key, Object value)Sets the context value for the provided key.
 
- 
- 
- 
Field Detail- 
ACTIVE_SHELL_NAMEpublic static final String ACTIVE_SHELL_NAME The execution context key to hold an UI shell.- See Also:
- Constant Field Values
 
 - 
ACTIVE_LAUNCHpublic static final String ACTIVE_LAUNCH The execution context key to hold an active Eclipse launch instance.- See Also:
- Constant Field Values
 
 - 
DEBUG_URLpublic static final String DEBUG_URL The execution context key to hold the IDE debugger connection URL.- See Also:
- Constant Field Values
 
 - 
DEBUG_TARGETpublic static final String DEBUG_TARGET The execution context key to hold the debug processIDebugTargetinstance.- See Also:
- Constant Field Values
 
 - 
LAUNCH_URLpublic static final String LAUNCH_URL The execution context key to hold the launch (open) URL.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getPropertypublic <T> Optional<T> getProperty(String key) Returns a context value stored for the provided key.- Parameters:
- key- the context key, cannot be- null
- Returns:
- the optional context value stored for the provided key
 
 - 
setPropertypublic void setProperty(String key, Object value) Sets the context value for the provided key.- Parameters:
- key- the context key, cannot be- null
- value- the context value, cannot be- null
 
 - 
setPropertiespublic void setProperties(Map<String,Object> properties) Sets the context key-value map.- Parameters:
- properties- the context key-value map, cannot be- null
 
 - 
copypublic ExecutionContext copy() Copies context with all keys and values.- Returns:
- the context copy, never null
 
 
- 
 
-