Interface AnalyserTask
@ConsumerType
public interface AnalyserTask
A analyser task analyses a specific part of the assembled
application. It can report errors and warnings.
-
Method Summary
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 Details
-
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
Execute the task.- Parameters:
ctx- the task context.- Throws:
java.lang.Exception- when the task throws an exception.
-