Interface IEglContext
- All Superinterfaces:
IEolContext
- All Known Implementing Classes:
EglContext
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStatusMessage
(StatusMessage message) void
enter
(EglTemplate template) void
exit()
default void
formatWith
(Formatter formatter) default IEolContext
getTrace()
default IOutputBuffer
void
setContentTypeRepository
(ContentTypeRepository repository) default void
setDelegate
(IEolContext delegate) Copies state references (excluding variables) from the context.void
setPartitioner
(CompositePartitioner partitioner) default boolean
usePartitionerFor
(String contentType) Methods inherited from interface org.eclipse.epsilon.eol.execute.context.IEolContext
dispose, getAsyncStatementsQueue, getErrorStream, getExecutorFactory, getExtendedProperties, getFrameStack, getIntrospectionManager, getModelRepository, getNativeTypeDelegates, getOperationContributorRegistry, getOperationFactory, getOutputStream, getPrettyPrinterManager, getUserInput, getWarningStream, isAssertionsEnabled, isProfilingEnabled, setAssertionsEnabled, setErrorStream, setExecutorFactory, setExtendedProperties, setFrameStack, setIntrospectionManager, setModelRepository, setModule, setNativeTypeDelegates, setOperationFactory, setOutputStream, setPrettyPrinterManager, setProfilingEnabled, setUserInput, setWarningStream
-
Method Details
-
getTemplateFactory
EglTemplateFactory getTemplateFactory() -
getPartitioner
CompositePartitioner getPartitioner() -
setPartitioner
-
getContentTypeRepository
ContentTypeRepository getContentTypeRepository() -
setContentTypeRepository
-
addStatusMessage
-
getStatusMessages
List<StatusMessage> getStatusMessages() -
enter
-
exit
void exit() -
getCurrentTemplate
EglTemplate getCurrentTemplate() -
getTrace
Template getTrace() -
getOutputBuffer
IOutputBuffer getOutputBuffer() -
getModule
IEglModule getModule()- Specified by:
getModule
in interfaceIEolContext
-
newOutputBuffer
- Returns:
- Since:
- 1.6
-
formatWith
-
getPartitioningProblems
-
usePartitionerFor
-
setDelegate
Copies state references (excluding variables) from the context. The copying may be performed lazily and is shallow. This is mainly useful if EGL is being invoked from EGX, which has a different context.- Parameters:
delegate
- The parent context.- Since:
- 1.6
-
getDelegate
- Returns:
- Since:
- 1.6
-