Optional
contentReadonly
nameOptional
Readonly
parentOptional
parentOptional
replacementsReadonly
typeOptional
Readonly
xmlReturns whether this component type is supported by the Metadata API and therefore should have an entry added to the manifest.
This is defined on the type in the registry. The type is required to be in the registry for proper classification and for possible use in decomposition/recomposition.
Default value is true, so the only way to return false is to explicitly set it in the registry as false.
E.g., CustomFieldTranslation.
Gets the metafile path of this component. Not all the types have an XML metafile, e.g., DigitalExperience has a JSON metafile (_meta.json).
The metafile path
returns the children of a parent SourceComponent
Ensures that the children of SourceComponent are valid child types. Invalid child types can occur when projects are structured in an atypical way such as having ApexClasses or Layouts within a CustomObject folder.
SourceComponent[] containing valid children
will return this instance of the forceignore, or will create one if undefined
ForceIgnore
As a performance enhancement, use the already parsed parent xml source to return the child section of xml source. This is useful for non-decomposed transformers where all child source components reference the parent's xml file to prevent re-reading the same file multiple times.
parsed parent XMl source as an object
child section of the parent's xml
Optional
destructiveChangeType: boolean | DestructiveChangesTypeStatic
createcomponent properties (at a minimum, name and type)
Optional
fs: VirtualDirectory[]VirtualTree. If not provided, one will be constructed based on the name/type of the props
Optional
forceIgnore: ForceIgnoreSourceComponent
Representation of a MetadataComponent in a file tree.