Class CheckApisJarsProperties
- java.lang.Object
-
- org.apache.sling.feature.analyser.task.impl.CheckApisJarsProperties
-
- All Implemented Interfaces:
AnalyserTask
public class CheckApisJarsProperties extends java.lang.Object implements AnalyserTask
This analyser validates that the entries related to Apis Jar are valid. Current checks:- The sourceId property is a CSV list of valid artifact ids.
-
-
Constructor Summary
Constructors Constructor Description CheckApisJarsProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AnalyserTaskContext ctx)
Execute the task.java.lang.String
getId()
A unique (short) ID.java.lang.String
getName()
A human readable name to identify the task.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:AnalyserTask
A unique (short) ID.- Specified by:
getId
in interfaceAnalyserTask
- Returns:
- the task ID.
-
getName
public java.lang.String getName()
Description copied from interface:AnalyserTask
A human readable name to identify the task.- Specified by:
getName
in interfaceAnalyserTask
- Returns:
- the task name.
-
execute
public void execute(AnalyserTaskContext ctx) throws java.lang.Exception
Description copied from interface:AnalyserTask
Execute the task.- Specified by:
execute
in interfaceAnalyserTask
- Parameters:
ctx
- the task context.- Throws:
java.lang.Exception
- when the task throws an exception.
-
-