public abstract class AbstractScannableCodeBase extends java.lang.Object implements IScannableCodeBase
ICodeBase.Discovered| Constructor and Description |
|---|
AbstractScannableCodeBase(ICodeBaseLocator codeBaseLocator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLastModifiedTime(long lastModifiedTime) |
void |
addResourceNameTranslation(java.lang.String origResourceName,
java.lang.String newResourceName) |
boolean |
containsSourceFiles()
Return whether or not this code base contains any source files.
|
ICodeBaseLocator |
getCodeBaseLocator()
Get the codebase locator describing the location of this codebase.
|
ICodeBase.Discovered |
getHowDiscovered()
Return how this codebase was discovered.
|
long |
getLastModifiedTime()
Get timestamp indicating the most recent time when any of the files in
the codebase were modified.
|
boolean |
isApplicationCodeBase()
Return whether or not this codebase is an application codebase.
|
void |
setApplicationCodeBase(boolean isAppCodeBase)
Designate this code base as an application codebase.
|
void |
setHowDiscovered(ICodeBase.Discovered howDiscovered)
Set how this codebase was discovered.
|
void |
setLastModifiedTime(long lastModifiedTime)
Set timestamp indicating the most recent time when any of the files in
the codebase were modified.
|
java.lang.String |
translateResourceName(java.lang.String resourceName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititeratorclose, getPathName, lookupResourcepublic AbstractScannableCodeBase(ICodeBaseLocator codeBaseLocator)
public ICodeBaseLocator getCodeBaseLocator()
ICodeBasegetCodeBaseLocator in interface ICodeBasepublic boolean containsSourceFiles()
ICodeBasecontainsSourceFiles in interface ICodeBasepublic void setApplicationCodeBase(boolean isAppCodeBase)
ICodeBasesetApplicationCodeBase in interface ICodeBaseisAppCodeBase - true if this is an application codebase, false if notpublic boolean isApplicationCodeBase()
ICodeBaseisApplicationCodeBase in interface ICodeBasepublic void setHowDiscovered(ICodeBase.Discovered howDiscovered)
ICodeBasesetHowDiscovered in interface ICodeBasehowDiscovered - one of the constants SPECIFIED, NESTED, IN_JAR_MANIFEST, or
IN_SYSTEM_CLASSPATHpublic ICodeBase.Discovered getHowDiscovered()
ICodeBasegetHowDiscovered in interface ICodeBasepublic void setLastModifiedTime(long lastModifiedTime)
ICodeBasesetLastModifiedTime in interface ICodeBaselastModifiedTime - timestamp when any codebase files were most-recently modifiedpublic void addLastModifiedTime(long lastModifiedTime)
public long getLastModifiedTime()
ICodeBasegetLastModifiedTime in interface ICodeBasepublic void addResourceNameTranslation(java.lang.String origResourceName,
java.lang.String newResourceName)
public java.lang.String translateResourceName(java.lang.String resourceName)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.