Interface AnalyserTask
-
- All Known Implementing Classes:
CheckApisJarsProperties,CheckBundleExportsImports,CheckBundlesForConnect,CheckBundlesForInitialContent,CheckBundlesForResources,CheckContentPackagesDependencies,CheckRequirementsCapabilities,ListExportedPackages
@ConsumerType public interface AnalyserTaskA analyser task analyses a specific part of the assembled application. It can report errors and warnings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidexecute(AnalyserTaskContext ctx)Execute the task.default java.lang.StringgetId()A unique (short) ID.default java.lang.StringgetName()A human readable name to identify the task.
-
-
-
Method Detail
-
getId
default java.lang.String getId()
A unique (short) ID.- Returns:
- the task ID.
-
getName
default java.lang.String getName()
A human readable name to identify the task.- Returns:
- the task name.
-
execute
void execute(AnalyserTaskContext ctx) throws java.lang.Exception
Execute the task.- Parameters:
ctx- the task context.- Throws:
java.lang.Exception- when the task throws an exception.
-
-