class DocumentIndex extends AnyRef
Metadata document index, maintains information on available metadata files and reports errors against them for things like duplicates or missing meta files. See DocumentScanner for initial generation of the index. Documents are grouped under a controlling typeName to make it easier to validate them later, so cls-meta.xml files are grouped with .cls and fields, fieldSets & sharing reasons are grouped with object-meta.xml files.
- Alphabetic
- By Inheritance
- DocumentIndex
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DocumentIndex(path: PathLike, logger: IssuesManager, namespace: Option[Name], isGulped: Boolean, ignore: Option[ForceIgnore])
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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])
- def get(typeName: TypeName): List[MetadataDocument]
Get all documents for specific typename, this is a little more expensive than searching for a specific nature (see above) but also more general.
- def get(nature: MetadataNature, typeName: TypeName): List[MetadataDocument]
Get all documents for specific type of metadata that contribute to a specific typename
- def get(nature: MetadataNature): Map[String, List[PathLike]]
Get all documents for specific type of metadata, beware mutable Map to avoid conversion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getControllingDocuments(nature: MetadataNature): List[MetadataDocument]
Get the controlling docs for a specific nature.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isVisibleFile(path: PathLike): Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val path: PathLike
- def remove(document: MetadataDocument): Boolean
Remove a document from the store.
Remove a document from the store. Returns true if the document was in the store and removed.
- def size: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def upsert(document: MetadataDocument): Boolean
Upsert a document.
Upsert a document. Returns false if document is not visible to the index.
- 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()