class IssuesManager extends IssuesCollection with IssueLogger
IssuesCollection implementation, holds Issues for each metadata file and tracks when they change to allow clients to be more selective when pulling issues.
- Alphabetic
- By Inheritance
- IssuesManager
- IssueLogger
- IssuesCollection
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new IssuesManager()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(issue: Issue): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clear(): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDiagnostics(path: PathLike): List[Diagnostic]
- def getMissing: Seq[PathLike]
- def hasUpdatedIssues(): Array[String]
Array of metadata file paths whose issues have changed since they were last retrieved from this collection.
Array of metadata file paths whose issues have changed since they were last retrieved from this collection.
- Definition Classes
- IssuesManager → IssuesCollection
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ignoreUpdatedIssues(path: String): Unit
Reset the issue update handling for a metadata file.
Reset the issue update handling for a metadata file. This will cause the file not to be returned from the next call to hasUpdatedIssues() unless new issues are reported.
- Definition Classes
- IssuesManager → IssuesCollection
- def ignoreUpdatedIssuesInternal(path: PathLike): Unit
- def isEmpty: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def issuesForFile(path: String): Array[api.Issue]
Array of current Issues for the metadata file path.
Array of current Issues for the metadata file path. Returns an empty array if there are none. Resets the updated issues tracking when called.
- Definition Classes
- IssuesManager → IssuesCollection
- def issuesForFileInternal(path: PathLike): Seq[Issue]
- def issuesForFileLocation(path: String, location: IssueLocation): Array[api.Issue]
Array of current Issues for the metadata file path that are entirely enclosed within a code range defined by the Location.
Array of current Issues for the metadata file path that are entirely enclosed within a code range defined by the Location. Returns an empty array if there are none. This does not reset the updates issues tracking.
- Definition Classes
- IssuesManager → IssuesCollection
- def issuesForFileLocationInternal(path: PathLike, location: IssueLocation): Array[api.Issue]
- def issuesForFiles(paths: Array[String], includeWarnings: Boolean, maxIssuesPerFile: Int): Array[api.Issue]
Array of current Issues for multiple metadata files.
Array of current Issues for multiple metadata files. If paths is null then this will return issues for all metadata files which have them. When includeWarnings is true, issues of any category will be returned otherwise only errors will be returned. The argument maxErrorsPerFile limits the number of Issues returned to the first 'n' on each file, if it is <1 all Issues will be returned for each metadata file. Resets the updated issues tracking when called for all files processed.
- Definition Classes
- IssuesManager → IssuesCollection
- def issuesForFilesInternal(paths: Array[PathLike], includeWarnings: Boolean, maxIssuesPerFile: Int): Seq[Issue]
- def log(issue: Issue): Unit
- Definition Classes
- IssuesManager → IssueLogger
- def logAll(issues: ArraySeq[Issue]): Unit
- Definition Classes
- IssueLogger
- def logAndGet[T](andIssues: IssuesAnd[T]): T
- Definition Classes
- IssueLogger
- def logError(path: PathLike, location: Location, message: String): Unit
- Definition Classes
- IssueLogger
- def logWarning(path: PathLike, location: Location, message: String): Unit
- Definition Classes
- IssueLogger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pop(path: PathLike): List[Issue]
- def push(path: PathLike, issues: List[Issue]): Unit
- def replaceUnusedIssues(path: PathLike, issues: Seq[Issue]): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()