Package org.eclipse.epsilon.eol.launch
Class EolRunConfiguration
java.lang.Object
org.eclipse.epsilon.common.launch.ProfilableRunConfiguration
org.eclipse.epsilon.eol.launch.EolRunConfiguration
- All Implemented Interfaces:
Runnable,Callable<Object>,Supplier<Object>,CheckedSupplier<Object,Exception>
- Direct Known Subclasses:
EglRunConfiguration,ErlRunConfiguration,EwlRunConfiguration
Convenience class for running EOL programs over models.
- Since:
- 1.6
- Author:
- Sina Madani
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEolRunConfiguration.Builder<C extends EolRunConfiguration,B extends EolRunConfiguration.Builder<C, B>> -
Field Summary
FieldsFields inherited from class org.eclipse.epsilon.common.launch.ProfilableRunConfiguration
hasRun, id, outputFile, printMarker, profiledStages, profileExecution, result, script, showResults, targetRepeats -
Constructor Summary
ConstructorsConstructorDescriptionEolRunConfiguration(EolRunConfiguration.Builder<? extends EolRunConfiguration, ?> builder) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidstatic EolRunConfiguration.Builder<? extends EolRunConfiguration,?> Builder()voiddispose()booleanprotected Objectexecute()inthashCode()protected final voidprotected voidprotected voidprotected voidprotected voidvoidreset()toString()Methods inherited from class org.eclipse.epsilon.common.launch.ProfilableRunConfiguration
afterRepeatLoop, beforeRepeatLoop, Builder, call, findBuilder, getCurrentRepeat, getExecutionTime, getId, getResult, getResultOutput, getThrows, handleException, isFirstRepeat, isLastRepeat, postExecute, run, writeOut, writeOutMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.epsilon.common.function.CheckedSupplier
get
-
Field Details
-
modelsAndProperties
-
parameters
-
loadModels
protected boolean loadModels
-
-
Constructor Details
-
EolRunConfiguration
-
EolRunConfiguration
-
-
Method Details
-
Builder
-
getModule
- Returns:
- The concrete instance of IEolModule.
-
preExecute
- Overrides:
preExecutein classProfilableRunConfiguration- Throws:
Exception
-
addModelsToRepo
- Throws:
Exception
-
prepareModule
- Throws:
Exception
-
prepareFrameStack
protected void prepareFrameStack() -
loadModels
- Throws:
EolModelLoadingException
-
loadModelsImpl
- Throws:
EolModelLoadingException
-
reset
- Overrides:
resetin classProfilableRunConfiguration- Throws:
Exception
-
dispose
- Throws:
Exception
-
execute
- Specified by:
executein classProfilableRunConfiguration- Throws:
EolRuntimeException
-
getProfilingOutput
- Overrides:
getProfilingOutputin classProfilableRunConfiguration
-
toString
- Overrides:
toStringin classProfilableRunConfiguration
-
hashCode
public int hashCode()- Overrides:
hashCodein classProfilableRunConfiguration
-
equals
- Overrides:
equalsin classProfilableRunConfiguration
-