Class AllureExecTask
-
- All Implemented Interfaces:
-
kotlin.Comparable,org.gradle.api.Named,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.IConventionAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.process.BaseExecSpec,org.gradle.process.ExecSpec,org.gradle.process.ProcessForkOptions,org.gradle.util.Configurable
@DisableCachingByDefault(because = "Not worth caching") public abstract class AllureExecTask extends Exec
-
-
Field Summary
Fields Modifier and Type Field Description private final ObjectFactoryobjectsprivate final ProviderFactoryprovidersprivate final DirectoryPropertyallureHomeprivate final Property<Boolean>verboseprivate final ConfigurableFileCollectionresultsDirsprivate final Property<Boolean>dependsOnTestsprivate final TaskOutputsInternaloutputsprivate final Spec<in TaskInternal>onlyIfprivate final Property<Duration>timeoutprivate List<String>commandLineprivate Map<String, Object>environmentprivate final TaskRequiredServicesrequiredServicesprivate final TaskDependencyInternaltaskDependenciesprivate final Set<Object>dependsOnprivate final TaskDestroyablesdestroyablesprivate final Loggerloggerprivate Stringexecutableprivate final Stringpathprivate final Factory<File>temporaryDirFactoryprivate final Optional<String>reasonTaskIsIncompatibleWithConfigurationCacheprivate OutputStreamerrorOutputprivate final TaskLocalStatelocalStateprivate final List<InputChangesAwareTaskAction>taskActionsprivate final TaskDependencyInternallifecycleDependenciesprivate InputStreamstandardInputprivate final ConventionMappingconventionMappingprivate BooleanisEnabledprivate BooleanimpliesSubProjectsprivate final TaskInputsInternalinputsprivate final List<CommandLineArgumentProvider>argumentProvidersprivate Booleanenabledprivate final TaskStateInternalstateprivate FileworkingDirprivate final TaskIdentity<?>taskIdentityprivate final TaskDependencyshouldRunAfterprivate final ExtensionContainerextensionsprivate final BooleanisCompatibleWithConfigurationCacheprivate List<String>argsprivate OutputStreamstandardOutputprivate final TaskDependencyfinalizedByprivate final AntBuilderantprivate final DynamicObjectasDynamicObjectprivate final List<ResourceLock>sharedResourcesprivate BooleandidWorkprivate final Optional<String>reasonNotToTrackStateprivate Stringgroupprivate final Set<String>reasonsNotToTrackStateprivate final Provider<ExecResult>executionResultprivate final BooleanisHasCustomActionsprivate BooleanisIgnoreExitValueprivate List<Action<in Task>>actionsprivate final Stringnameprivate final FiletemporaryDirprivate final LoggingManagerloggingprivate final PathidentityPathprivate final TaskDependencymustRunAfterprivate final StandardOutputCapturestandardOutputCaptureprivate final Projectprojectprivate Stringdescription
-
Constructor Summary
Constructors Constructor Description AllureExecTask()
-
Method Summary
Modifier and Type Method Description abstract ObjectFactorygetObjects()abstract ProviderFactorygetProviders()final DirectoryPropertygetAllureHome()final Property<Boolean>getVerbose()final ConfigurableFileCollectiongetResultsDirs()final Property<Boolean>getDependsOnTests()Typically, allureReport would execute all the tests it depends upon. final UnitdependsOnTests()-
Methods inherited from class org.gradle.api.DefaultTask
getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, setActions, setDescription, setDidWork, setEnabled, setEnabled, setGroup -
Methods inherited from class org.gradle.api.internal.AbstractTask
getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getReasonsNotToTrackState, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, setImpliesSubProjects -
Methods inherited from class org.gradle.api.tasks.Exec
getArgs, getArgumentProviders, getCommandLine, getEnvironment, getErrorOutput, getExecutable, getExecutionResult, getStandardInput, getStandardOutput, getWorkingDir, isIgnoreExitValue, setArgs, setCommandLine, setEnvironment, setErrorOutput, setExecutable, setIgnoreExitValue, setStandardInput, setStandardOutput, setWorkingDir -
Methods inherited from class org.gradle.api.internal.ConventionTask
conventionMapping, conventionMapping, getConventionMapping -
Methods inherited from class org.gradle.process.ExecSpec
args, args, commandLine, commandLine -
Methods inherited from class org.gradle.process.ProcessForkOptions
copyTo, environment, environment, executable, workingDir -
Methods inherited from class org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setDependsOn, setFinalizedBy, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class kotlin.Comparable
compareTo -
Methods inherited from class org.gradle.api.internal.TaskInternal
acceptServiceReferences, appendParallelSafeAction, doNotTrackStateIf, hasTaskActions, prependParallelSafeAction, restoreOnlyIf, restoreTaskActions -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getObjects
@Inject() abstract ObjectFactory getObjects()
-
getProviders
@Inject() abstract ProviderFactory getProviders()
-
getAllureHome
final DirectoryProperty getAllureHome()
-
getVerbose
final Property<Boolean> getVerbose()
-
getResultsDirs
final ConfigurableFileCollection getResultsDirs()
-
getDependsOnTests
final Property<Boolean> getDependsOnTests()
Typically, allureReport would execute all the tests it depends upon. However, in certain cases only report re-execution is needed, then
skipDependsOnwould be useful.
-
dependsOnTests
final Unit dependsOnTests()
-
-
-
-