Packages

class OrgImpl extends TriOrg with Org with OrgTestClasses

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OrgImpl
  2. OrgTestClasses
  3. Org
  4. TriOrg
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new OrgImpl(path: PathLike, initWorkspace: Option[Workspace])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def findTypeIdentifier(identifier: TypeIdentifier): Option[TypeDeclaration]

    Search package modules for the TypeDeclaration matching a TypeIdentifier.

  10. def flush(): Boolean

    Write dirty metadata to the cache, only works for manual flush orgs

    Write dirty metadata to the cache, only works for manual flush orgs

    Definition Classes
    OrgImplOrg
  11. def getAllTestMethods: Array[TestMethod]
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getCompletionItems(path: String, line: Int, offset: Int, content: String): Array[CompletionItemLink]

    Get a array of completion suggestion given a source file contents and a position.

    Get a array of completion suggestion given a source file contents and a position.

    This will attempt to provide a list of possible completion suggestions at the position of the provided source file details. If none can be found it will return an empty array. Both the path and content must be provided for this. The path determines the scope of the search while the content is needed a we assume the on-disk source is not current. It is not necessary for the source content to be free of errors, but errors may impact the results.

    Definition Classes
    OrgImplOrg
  14. def getCompletionItemsInternal(path: PathLike, line: Int, offset: Int, content: String): Array[CompletionItemLink]
  15. def getDefinition(path: String, line: Int, offset: Int, content: String): Array[LocationLink]

    Locate a definition for a symbol

    Locate a definition for a symbol

    Definition Classes
    OrgImplOrg
  16. def getDependencies: Map[String, Array[String]]

    Extract all dependencies

    Extract all dependencies

    Definition Classes
    OrgImplOrg
  17. def getDependencyBombs(count: Int): Array[BombScore]

    Calculate an ordered list of classes which are having a big impact on classes dependencies, aka the 'Bombs'.

    Calculate an ordered list of classes which are having a big impact on classes dependencies, aka the 'Bombs'.

    The calculation takes into account the number of incoming and outgoing dependencies from each classes. High scoring classes must have a large number of both to be considered 'Bombs'. These classes are scored on a scale 0-100 and ranked highest->lowest. The first 'count' os these are returned for your ridicule.

    Definition Classes
    OrgImplOrg
  18. def getDependencyCounts(paths: Array[String], excludeTestClasses: Boolean): Array[DependencyCount]
  19. def getDependencyGraph(identifiers: Array[TypeIdentifier], depth: Integer, apexOnly: Boolean, ignoring: Array[TypeIdentifier]): DependencyGraph

    Get a dependency graph for a type identifier.

    Get a dependency graph for a type identifier.

    Depth should be a positive integer that indicates how far to search from the starting node for the passed TypeIdentifier. The root node of the search is always returned if it can be found. Depths > 0 will include additional nodes.

    Definition Classes
    OrgImplOrg
  20. def getIdentifierLocation(identifier: TypeIdentifier): PathLocation

    Find a location for an identifier

    Find a location for an identifier

    Definition Classes
    OrgImplOrg
  21. def getImplementation(path: String, line: Int, offset: Int, content: String): Array[LocationLink]

    Locate the implementations of interfaces and abstract methods and classes given the position

    Locate the implementations of interfaces and abstract methods and classes given the position

    This will attempt to locate the concrete implementation of the type definition or method at the provided line & offset in the path. The returned location are calculated based on the direct dependents and transitive dependents to find a concrete class that either has a super type that includes the type or a method signature from the path. If no location is found an empty array is returned. If content is null, path will be used to load the source code. It is not necessary for the file being searched from to be free of errors, but errors may impact the ability to locate inner classes within that file.

    Definition Classes
    OrgImplOrg
  22. def getPackageForPath(path: String): Package

    Get the package containing the path.

    Get the package containing the path.

    Returns null if no package handling this file is found or the file is not a recognised metadata type.

    Definition Classes
    OrgImplOrg
  23. def getPackages(): Array[Package]

    Get all loaded packages.

    Get all loaded packages.

    Definition Classes
    OrgImplOrg
  24. lazy val getParserType: AvailableParser
  25. def getProjectConfig(): Option[ProjectConfig]

    Get the current workspace config for the org

    Get the current workspace config for the org

    Definition Classes
    OrgImplOrg
  26. def getReferences(path: String, line: Int, offset: Int): Array[TargetLocation]

    Locate the references given the location and offset.

    Locate the references given the location and offset.

    This will attempt to find a body declaration (methods, fields or classes) at the given line & offset to find any blocks of code that is uses the found body declaration. This will return an array of locations at the point where the code is being used. If no references are found an empty array will be returned.

    Definition Classes
    OrgImplOrg
  27. def getTestClassNames(paths: Array[String]): Array[String]
    Definition Classes
    OrgTestClasses
  28. def getTestClassNamesInternal(paths: Array[PathLike]): Set[(String, Array[String])]
    Definition Classes
    OrgTestClasses
  29. def getTypeIdentifiers(apexOnly: Boolean): Array[TypeIdentifier]

    Get a array of type identifiers available across all packages.

    Get a array of type identifiers available across all packages.

    Definition Classes
    OrgImplOrg
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def isDirty(): Boolean

    Check to see if cache has been flushed

    Check to see if cache has been flushed

    Definition Classes
    OrgImplOrg
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def issues: IssuesManager

    Provide access to IssueManager for org

    Provide access to IssueManager for org

    Definition Classes
    OrgImplOrg
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. val packages: ArraySeq[PackageImpl]

    Packages in org in deploy order, the last entry is the unmanaged package identified by namespace = None

    Packages in org in deploy order, the last entry is the unmanaged package identified by namespace = None

    Definition Classes
    OrgImplTriOrg
  38. lazy val packagesByNamespace: Map[Option[Name], TPackage]

    Packages in org by namespace

    Packages in org by namespace

    Definition Classes
    TriOrg
  39. val path: PathLike
  40. def queueMetadataRefresh(request: RefreshRequest): Unit

    Queue a metadata refresh request

  41. val refreshLock: ReentrantLock
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. lazy val unmanaged: TPackage

    All orgs have an unmanaged package, it has to be the last entry in 'packages'.

    All orgs have an unmanaged package, it has to be the last entry in 'packages'.

    Definition Classes
    TriOrg
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. val workspace: Workspace

Inherited from OrgTestClasses

Inherited from Org

Inherited from OPM.TriOrg

Inherited from AnyRef

Inherited from Any

Ungrouped