Extends
Methods
getKind() → {string}
- Description:
- Get the kind of this specification, for example
projectorextension
- Get the kind of this specification, for example
- Source:
- Overrides:
Returns:
Specification kind
- Type
- string
(async) getMiddleware()
getName() → {string}
- Description:
- Get the name of this specification
- Source:
- Overrides:
Returns:
Specification name
- Type
- string
getRootPath() → {string}
- Description:
- Get the specification's file system path. This might not be POSIX-style on some platforms
- Source:
- Overrides:
Returns:
Project root path
- Type
- string
getRootReader(parametersopt) → {@ui5/fs/ReaderCollection}
- Description:
- Get a ReaderCollection for the root directory of the specification. Resource readers always use POSIX-style
- Source:
- Overrides:
Parameters:
| Name | Type | Attributes | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters |
object |
<optional> |
Parameters
Properties
|
Returns:
Reader collection
getSpecVersion() → {@ui5/project/specifications/SpecificationVersion}
- Description:
- Returns an instance of a helper class representing a Specification Version
- Source:
- Overrides:
Returns:
- Type
- @ui5/project/specifications/SpecificationVersion
getType() → {string}
- Description:
- Get the type of this specification,
for example
applicationorlibraryin case of projects, andtaskorserver-middlewarein case of extensions
- Get the type of this specification,
for example
- Source:
- Overrides:
Returns:
Specification type
- Type
- string
getVersion() → {string}
- Description:
- Get the specification's generic version, as typically defined in a
package.json
- Get the specification's generic version, as typically defined in a
- Source:
- Overrides:
Returns:
Project version
- Type
- string