Skip navigation links
A B C D E F G H I L M P R S T W 

A

AbstractCheckMojo - Class in de.thetaphi.forbiddenapis
Base class for forbiddenapis Mojos.
AbstractCheckMojo() - Constructor for class de.thetaphi.forbiddenapis.AbstractCheckMojo
 
add(ResourceCollection) - Method in class de.thetaphi.forbiddenapis.AntTask
Set of class files to check
addClassToCheck(InputStream) - Method in class de.thetaphi.forbiddenapis.Checker
Parses and adds a class from the given stream to the list of classes to check.
addText(String) - Method in class de.thetaphi.forbiddenapis.AntTask
Support for API signatures list as nested text
AntTask - Class in de.thetaphi.forbiddenapis
Task to check if a set of class files contains calls to forbidden APIs from a given classpath and list of API signatures (either inline or as pointer to files).
AntTask() - Constructor for class de.thetaphi.forbiddenapis.AntTask
 

B

BundledSignaturesType - Class in de.thetaphi.forbiddenapis
 
BundledSignaturesType() - Constructor for class de.thetaphi.forbiddenapis.BundledSignaturesType
 

C

Checker - Class in de.thetaphi.forbiddenapis
Task to check if a set of class files contains calls to forbidden APIs from a given classpath and list of API signatures (either inline or as pointer to files).
Checker(ClassLoader, boolean, boolean, boolean) - Constructor for class de.thetaphi.forbiddenapis.Checker
 
CheckMojo - Class in de.thetaphi.forbiddenapis
Mojo to check if no project generated class files (compile scope) contain calls to forbidden APIs from the project classpath and a list of API signatures (either inline or as pointer to files or bundled signatures).
CheckMojo() - Constructor for class de.thetaphi.forbiddenapis.CheckMojo
 
CliMain - Class in de.thetaphi.forbiddenapis
CLI class with a static main() method
CliMain(String...) - Constructor for class de.thetaphi.forbiddenapis.CliMain
 
CliMain.ExitException - Exception in de.thetaphi.forbiddenapis
 
createBundledSignatures() - Method in class de.thetaphi.forbiddenapis.AntTask
 
createClasspath() - Method in class de.thetaphi.forbiddenapis.AntTask
Classpath as nested element
createSignaturesFile() - Method in class de.thetaphi.forbiddenapis.AntTask
Single file with API signatures as nested element
createSignaturesFileList() - Method in class de.thetaphi.forbiddenapis.AntTask
List of files with API signatures as nested element
createSignaturesFileSet() - Method in class de.thetaphi.forbiddenapis.AntTask
Set of files with API signatures as nested element

D

de.thetaphi.forbiddenapis - package de.thetaphi.forbiddenapis
 

E

execute() - Method in class de.thetaphi.forbiddenapis.AbstractCheckMojo
 
execute() - Method in class de.thetaphi.forbiddenapis.AntTask
 
EXIT_ERR_CMDLINE - Static variable in class de.thetaphi.forbiddenapis.CliMain
 
EXIT_ERR_OTHER - Static variable in class de.thetaphi.forbiddenapis.CliMain
 
EXIT_SUCCESS - Static variable in class de.thetaphi.forbiddenapis.CliMain
 
EXIT_UNSUPPORTED_JDK - Static variable in class de.thetaphi.forbiddenapis.CliMain
 
EXIT_VIOLATION - Static variable in class de.thetaphi.forbiddenapis.CliMain
 
exitCode - Variable in exception de.thetaphi.forbiddenapis.CliMain.ExitException
 
ExitException(int) - Constructor for exception de.thetaphi.forbiddenapis.CliMain.ExitException
 
ExitException(int, String) - Constructor for exception de.thetaphi.forbiddenapis.CliMain.ExitException
 

F

ForbiddenApiException - Exception in de.thetaphi.forbiddenapis
 
ForbiddenApiException(String) - Constructor for exception de.thetaphi.forbiddenapis.ForbiddenApiException
 

G

getClassesDirectory() - Method in class de.thetaphi.forbiddenapis.AbstractCheckMojo
provided by the concrete Mojos for compile and test classes processing
getClassesDirectory() - Method in class de.thetaphi.forbiddenapis.CheckMojo
 
getClassesDirectory() - Method in class de.thetaphi.forbiddenapis.TestCheckMojo
 
getClassPathElements() - Method in class de.thetaphi.forbiddenapis.AbstractCheckMojo
provided by the concrete Mojos for compile and test classes processing
getClassPathElements() - Method in class de.thetaphi.forbiddenapis.CheckMojo
 
getClassPathElements() - Method in class de.thetaphi.forbiddenapis.TestCheckMojo
 
getName() - Method in class de.thetaphi.forbiddenapis.BundledSignaturesType
 
getTargetVersion() - Method in class de.thetaphi.forbiddenapis.AbstractCheckMojo
gets overridden for test, because it uses testTargetVersion as optional name to override
getTargetVersion() - Method in class de.thetaphi.forbiddenapis.TestCheckMojo
 

H

hasNoSignatures() - Method in class de.thetaphi.forbiddenapis.Checker
 

I

isSupportedJDK - Variable in class de.thetaphi.forbiddenapis.Checker
 

L

logError(String) - Method in class de.thetaphi.forbiddenapis.Checker
 
logInfo(String) - Method in class de.thetaphi.forbiddenapis.Checker
 
logWarn(String) - Method in class de.thetaphi.forbiddenapis.Checker
 

M

main(String...) - Static method in class de.thetaphi.forbiddenapis.CliMain
 

P

parseBundledSignatures(String, String) - Method in class de.thetaphi.forbiddenapis.Checker
Reads a list of bundled API signatures from classpath.
ParseException - Exception in de.thetaphi.forbiddenapis
 
ParseException(String) - Constructor for exception de.thetaphi.forbiddenapis.ParseException
 
parseSignaturesFile(InputStream) - Method in class de.thetaphi.forbiddenapis.Checker
Reads a list of API signatures.
parseSignaturesString(String) - Method in class de.thetaphi.forbiddenapis.Checker
Reads a list of API signatures from a String.

R

run() - Method in class de.thetaphi.forbiddenapis.Checker
 
run() - Method in class de.thetaphi.forbiddenapis.CliMain
 

S

setBundledSignatures(String) - Method in class de.thetaphi.forbiddenapis.AntTask
A bundled signatures name
setClasspath(Path) - Method in class de.thetaphi.forbiddenapis.AntTask
Classpath as classpath= attribute
setClasspathRef(Reference) - Method in class de.thetaphi.forbiddenapis.AntTask
Classpath as classpathRef= attribute
setDir(File) - Method in class de.thetaphi.forbiddenapis.AntTask
Sets a directory as base for class files.
setFailOnMissingClasses(boolean) - Method in class de.thetaphi.forbiddenapis.AntTask
Fail the build, if a referenced class is missing.
setFailOnUnresolvableSignatures(boolean) - Method in class de.thetaphi.forbiddenapis.AntTask
Fail the build if a signature is not resolving.
setFailOnUnsupportedJava(boolean) - Method in class de.thetaphi.forbiddenapis.AntTask
Fail the build, if the bundled ASM library cannot read the class file format of the runtime library or the runtime library cannot be discovered.
setIgnoreEmptyFileSet(boolean) - Method in class de.thetaphi.forbiddenapis.AntTask
Ignore empty fileset/resource collection and print a warning instead.
setInternalRuntimeForbidden(boolean) - Method in class de.thetaphi.forbiddenapis.AntTask
Forbids calls to classes from the internal java runtime (like sun.misc.Unsafe) Defaults to false.
setName(String) - Method in class de.thetaphi.forbiddenapis.BundledSignaturesType
 
setRestrictClassFilename(boolean) - Method in class de.thetaphi.forbiddenapis.AntTask
Automatically restrict resource names included to files with a name ending in '.class'.
setSignaturesFile(File) - Method in class de.thetaphi.forbiddenapis.AntTask
A file with API signatures signaturesFile= attribute

T

TestCheckMojo - Class in de.thetaphi.forbiddenapis
Mojo to check if no project generated class files (test scope) contain calls to forbidden APIs from the project classpath and a list of API signatures (either inline or as pointer to files or bundled signatures).
TestCheckMojo() - Constructor for class de.thetaphi.forbiddenapis.TestCheckMojo
 

W

WrapperRuntimeException - Exception in de.thetaphi.forbiddenapis
 
WrapperRuntimeException(Exception) - Constructor for exception de.thetaphi.forbiddenapis.WrapperRuntimeException
 
A B C D E F G H I L M P R S T W 
Skip navigation links

Copyright © 2013–2015. All rights reserved.