public final class AnalyzerTaskProvider extends Object
Modifier and Type | Method and Description |
---|---|
static AnalyserTask[] |
getTasks()
Get all tasks.
|
static AnalyserTask[] |
getTasksByClassName(String... taskClassNames)
Get tasks from class names
|
static AnalyserTask[] |
getTasksByIds(Set<String> includes,
Set<String> excludes)
Get all tasks and obey the includes/excludes rules.
|
public static AnalyserTask[] getTasks()
getTasksByIds(null, null)
.null
but might be emptypublic static AnalyserTask[] getTasksByIds(Set<String> includes, Set<String> excludes)
getTasks()
includes
- includes can be null, means "include everything"excludes
- excludes can be null, means "do not exclude anything"null
but might be emptyIllegalStateException
- If an included task is not foundpublic static AnalyserTask[] getTasksByClassName(String... taskClassNames) throws IOException
taskClassNames
- The array of class namesnull
but might be emptyIOException
- If class names is null or loading failsCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.