Class ProfilableRunConfiguration.Builder<C extends ProfilableRunConfiguration,B extends ProfilableRunConfiguration.Builder<C,B>>
- java.lang.Object
-
- org.eclipse.epsilon.common.launch.ProfilableRunConfiguration.Builder<C,B>
-
- Direct Known Subclasses:
EolRunConfiguration.Builder
- Enclosing class:
- ProfilableRunConfiguration
public abstract static class ProfilableRunConfiguration.Builder<C extends ProfilableRunConfiguration,B extends ProfilableRunConfiguration.Builder<C,B>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<C>
configClass
Integer
id
Path
outputFile
boolean
profileExecution
int
repeats
Path
script
boolean
showResults
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract C
build()
protected C
buildReflective(Supplier<? extends C> alternative)
B
profileExecution()
B
profileExecution(boolean profile)
B
showResults()
B
showResults(boolean show)
B
with(Consumer<B> builderFunction)
B
withId(int id)
B
withOutputFile(String path)
B
withOutputFile(Path output)
B
withProfiling()
B
withRepeats(int repetition)
B
withResults()
B
withScript(String path)
B
withScript(Path scriptPath)
-
-
-
Method Detail
-
build
public abstract C build() throws IllegalArgumentException, IllegalStateException
-
buildReflective
protected C buildReflective(Supplier<? extends C> alternative) throws IllegalStateException
- Throws:
IllegalStateException
-
withId
public B withId(int id)
-
withResults
public B withResults()
-
showResults
public B showResults()
-
showResults
public B showResults(boolean show)
-
withRepeats
public B withRepeats(int repetition)
-
withProfiling
public B withProfiling()
-
profileExecution
public B profileExecution()
-
profileExecution
public B profileExecution(boolean profile)
-
-