LibExportTask class tasks

A task that uses a LibExportLinter to check for missing exports of src files.

This task analyses all files in the lib directory. In case a missing export is found, the task result will be TaskResult.rejected.

Implemented types
Mixed in types

Constructors

LibExportTask({required AnalysisContextCollectionRepoProviderFn analysisContextCollectionProvider, required TaskLogger logger, required LibExportLinter linter})
Default Constructor.

Properties

analysisContextCollectionProvider AnalysisContextCollectionRepoProviderFn
The AnalysisContextCollectionRepoProviderFn used by this task.
final
callForEmptyEntries bool
Specifies, whether the task should still be executed, even if no files match.
no setteroverride
filePattern Pattern
The pattern that the RepoEntry.file is matched against.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
linter → LibExportLinter
The LibExportLinter used by this task.
final
logger TaskLogger
The TaskLogger instance used by this task.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskName String
Returns the user-visible name of the task.
no setteroverride

Methods

call(Iterable<RepoEntry> entries) Future<TaskResult>
Executes the task on all given entries.
override
canProcess(RepoEntry entry) bool
Checks if a RepoEntry can be processed by this task.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited