TenantProject class abstract

Constructors

TenantProject()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

findWorkspaceRoot(Directory projectDir) → (Directory, Pubspec)
Finds the workspace root directory above the project directory. Returns a tuple with the workspace root directory and a Pubspec object for its pubspec.yaml file.
prepare(Directory projectDirectory, {required TenantProjectPubspec tenantProjectPubspec, String? scloudDirPath}) → ProjectFilePreparer
Analyzes the tenant project structure, creates bespoke deployment files, and compiles the list of paths whose contents are to be included.
resolveLockfileDirectory(Directory projectDirectory, {required bool isWorkspaceResolved}) → Directory
Returns the directory that holds the tenant project's pubspec.lock.
stripDevDependenciesFromPubspecContent(String pubspecContent) → String?
Strips dev_dependencies from pubspec.yaml content in memory. Returns the modified content, or null if no changes were needed.