Packages

c

com.nawforce.common.org

PackageImpl

class PackageImpl extends PackageDeploy with PackageAPI with TypeFinder

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PackageImpl
  2. TypeFinder
  3. PackageAPI
  4. Package
  5. PackageDeploy
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PackageImpl(org: OrgImpl, workspace: Workspace, bases: Seq[PackageImpl])

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. def any(): AnyDeclaration
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def basePackages: Seq[PackageImpl]
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. var components: ComponentDeclaration
  9. def deployFromWorkspace(): Unit
    Definition Classes
    PackageDeploy
  10. val documents: DocumentIndex
    Attributes
    protected
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flush(pc: ParsedCache): Unit

    Flush all types to the passed cache

    Flush all types to the passed cache

    Definition Classes
    PackageAPI
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getDependencies(typeId: TypeIdentifier, inheritanceOnly: Boolean): Array[TypeIdentifier]

    Returns set of Types that are depended on by the passed Type

    Returns set of Types that are depended on by the passed Type

    If inheritanceOnly is true only superClass & inheritance dependencies are reported for Apex defined Types, otherwise all dependencies are included.

    Definition Classes
    PackageAPIPackage
  17. def getDependencyHolders(typeId: TypeIdentifier): Array[TypeIdentifier]

    Returns set of Types that depend on the passed Type.

    Returns set of Types that depend on the passed Type.

    The returned array may be stale in that it can contain Types which used to hold a dependency but not longer do.

    Definition Classes
    PackageAPIPackage
  18. def getLocalTypeFor(typeName: TypeName, from: TypeDeclaration): Option[TypeDeclaration]
    Definition Classes
    TypeFinder
  19. def getNamespaces(withDependents: Boolean): Array[String]

    The namespace of the package or the package and its dependent packages.

    The namespace of the package or the package and its dependent packages.

    An empty namespace indicates the "unmanaged" package.

    Definition Classes
    PackageAPIPackage
  20. def getPathsOfType(typeId: TypeIdentifier): Array[String]

    Get the path(s) of the metadata file that defined a Type.

    Get the path(s) of the metadata file that defined a Type.

    Returns an empty array if the Type is not defined within the current package.

    Definition Classes
    PackageAPIPackage
  21. def getSummaryOfType(typeId: TypeIdentifier): TypeSummary

    Get the summary information for a Type.

    Get the summary information for a Type.

    Returns a null if the Type is not defined within the current package.

    Definition Classes
    PackageAPIPackage
  22. def getSummaryOfTypeAsJSON(typeId: TypeIdentifier): String

    JSON encoding of summary information for a type.

    JSON encoding of summary information for a type.

    Returns a null if the Type is not defined within the current package.

    Definition Classes
    PackageAPIPackage
  23. def getType(typeName: TypeName, from: Option[TypeDeclaration], excludeSObjects: Boolean = false): TypeResponse
  24. def getTypeFor(typeName: TypeName, from: TypeDeclaration): Option[TypeDeclaration]

    Find a type relative to a starting type with a local or global name

    Find a type relative to a starting type with a local or global name

    Definition Classes
    TypeFinder
  25. def getTypeLocation(typeName: TypeName): Option[PathLocation]
  26. def getTypeOfPath(path: String): TypeIdentifier

    Get a Type from the path of a metadata file.

    Get a Type from the path of a metadata file.

    Returns a null if the path does not identify metadata that creates a Type within the current package.

    Definition Classes
    PackageAPIPackage
  27. def getTypes: Iterable[TypeDeclaration]
  28. def getViewOfType(path: String, contents: SourceBlob): ViewInfo

    Obtain view information for a Type.

    Obtain view information for a Type.

    The view information contains a detailed description of the Type that can either be inspected. In some cases it may not be possible to construct a Type at all, in which case the view information may only contain diagnostic information.

    You can either pass in a path and contents or a path and null contents. If contents are not provided they will be read from the path if possible. Where contents are provided the path is only used for error identification purposes.

    If the path does not identify supported metadata or that path is not valid for this package no Type will be returned and the view diagnostics will indicate the error.

    Definition Classes
    PackageAPIPackage
  29. def hasGhosted: Boolean
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. var interviews: InterviewDeclaration
  32. def isGhosted: Boolean
  33. def isGhostedType(typeName: TypeName): Boolean
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. var labels: LabelDeclaration
  36. val namespace: Option[Name]
  37. lazy val namespaces: Set[Name]
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. val org: OrgImpl
  42. def packageContext: PackageContext
  43. def packageType(typeName: TypeName): Option[TypeDeclaration]
  44. var pages: PageDeclaration
  45. def populateDependencies(dependencies: Map[String, Array[String]]): Unit
  46. def propagateAllDependencies(): Unit

    Check all summary types have propagated their dependencies

    Check all summary types have propagated their dependencies

    Definition Classes
    PackageDeploy
  47. def refresh(path: String, contents: SourceBlob): Unit

    Refresh a type in the package.

    Refresh a type in the package.

    This registers that the metadata in a file may need updating. The refresh is queued until the Org metdata is next flushed so that changes are made in batches for efficiency.

    Refreshing causes dependent metadata to be re-validated so issues may be reported against other metadata types after the flush has completed.

    You can either pass in a path and contents or a path and null contents. If contents are not provided they will be read from the path if possible. Where contents are provided the path is only used for error identification purposes. If no contents are provided and there is no file to read the content from the contribution of this metadata to a type will be removed.

    Definition Classes
    PackageAPIPackage
  48. def refreshBatched(refreshRequests: Seq[RefreshRequest]): Boolean
    Definition Classes
    PackageAPI
  49. def removeMetadata(td: TypeDeclaration): Unit
  50. def replaceType(typeName: TypeName, typeDeclaration: Option[TypeDeclaration]): Unit
  51. def reportUnused(): IssueLog

    Obtain log with unused metadata warnings

  52. def schema(): SchemaManager
  53. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  54. def toString(): String
    Definition Classes
    AnyRef → Any
  55. def transitiveBasePackages: Set[PackageImpl]
  56. val types: Map[TypeName, TypeDeclaration]
    Attributes
    protected
  57. def upsertMetadata(td: TypeDeclaration, altTypeName: Option[TypeName] = None): Unit
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  61. val workspace: Workspace

Inherited from TypeFinder

Inherited from PackageAPI

Inherited from Package

Inherited from PackageDeploy

Inherited from AnyRef

Inherited from Any

Ungrouped