Package org.gradle.profiler
Class ScenarioDefinition
java.lang.Object
org.gradle.profiler.ScenarioDefinition
- Direct Known Subclasses:
BuildToolCommandLineScenarioDefinition,GradleScenarioDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionScenarioDefinition(String name, String title, List<BuildMutator> buildMutators, int warmUpCount, int buildCount, File outputDir) -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract booleanabstract BuildConfigurationintabstract StringA human consumable description of the build tool that runs this scenario.abstract StringA human consumable and unique display name for this scenario usinggetTitle().abstract BuildInvokergetName()abstract StringA unique name for this scenario, that can be used for file names and other identifiers.abstract StringA human consumable description of the 'tasks' that are run for this scenario (may not be Gradle tasks).getTitle()A specific title defined for the scenario to be used in reports (defaults togetName().intprotected voidprintDetail(PrintStream out) voidprintTo(PrintStream out) voidvalidate()voidvisitProblems(InvocationSettings settings, Consumer<String> reporter)
-
Constructor Details
-
ScenarioDefinition
public ScenarioDefinition(String name, @Nullable String title, List<BuildMutator> buildMutators, int warmUpCount, int buildCount, File outputDir)
-
-
Method Details
-
validate
public void validate() -
getTitle
A specific title defined for the scenario to be used in reports (defaults togetName(). -
getDisplayName
A human consumable and unique display name for this scenario usinggetTitle(). -
getProfileName
A unique name for this scenario, that can be used for file names and other identifiers. -
getBuildToolDisplayName
A human consumable description of the build tool that runs this scenario. -
getTasksDisplayName
A human consumable description of the 'tasks' that are run for this scenario (may not be Gradle tasks). -
getInvoker
-
getName
-
getOutputDir
-
getBuildMutators
-
getWarmUpCount
public int getWarmUpCount() -
getBuildCount
public int getBuildCount() -
printTo
-
visitProblems
-
printDetail
-
createsMultipleProcesses
public abstract boolean createsMultipleProcesses() -
doesCleanup
public abstract boolean doesCleanup() -
getBuildConfiguration
-