feat(mps-sync-plugin): API for getting the binding of an SModule#2397
feat(mps-sync-plugin): API for getting the binding of an SModule#2397
Conversation
Can be used to check if a module is read only.
6add345 to
fc8c84e
Compare
JVM coverage report
|
|
|
||
| fun getStatus(): List<IBinding.Status> = status | ||
|
|
||
| fun getBinding(module: MPSModuleReference): BindingId? = moduleOwners.getBinding(module) |
Check warning
Code scanning / detekt
The function getBinding is missing documentation. Warning
| fun isReadonly(binding: IBinding): Boolean | ||
| fun switchBranch(oldBranchRef: BranchReference, newBranchRef: BranchReference, dropLocalChanges: Boolean = false) | ||
|
|
||
| fun getBinding(moduleId: MPSModuleReference): IBinding? |
Check warning
Code scanning / detekt
The function getBinding is missing documentation. Warning
| fun switchBranch(oldBranchRef: BranchReference, newBranchRef: BranchReference, dropLocalChanges: Boolean = false) | ||
|
|
||
| fun getBinding(moduleId: MPSModuleReference): IBinding? | ||
| fun getBinding(moduleId: SModuleId): IBinding? = getBinding(moduleId.toModelix()) |
Check warning
Code scanning / detekt
The function getBinding is missing documentation. Warning
|
|
||
| fun getBinding(moduleId: MPSModuleReference): IBinding? | ||
| fun getBinding(moduleId: SModuleId): IBinding? = getBinding(moduleId.toModelix()) | ||
| fun getBinding(module: SModule): IBinding? = getBinding(module.moduleId) |
Check warning
Code scanning / detekt
The function getBinding is missing documentation. Warning
|
|
||
| fun getSyncProgress(): String? | ||
| fun getStatus(): Status | ||
| fun isReadonly(): Boolean |
Check warning
Code scanning / detekt
The function isReadonly is missing documentation. Warning
| } | ||
|
|
||
| @Synchronized | ||
| fun getBinding(module: MPSModuleReference): BindingId? { |
Check warning
Code scanning / detekt
The function getBinding is missing documentation. Warning
| * @see BindingState.projectId | ||
| */ | ||
| val projectId: MPSProjectReference, | ||
| val bindingId: BindingId, |
Check warning
Code scanning / detekt
The property bindingId is missing documentation. Warning
| class SyncTargetModel( | ||
| val project: MPSProjectAsNode, | ||
| val targetConfigs: List<SyncTargetConfig>, | ||
| val moduleOwners: ModuleToBindingMapping, |
Check warning
Code scanning / detekt
The property moduleOwners is missing documentation. Warning
| } | ||
|
|
||
| fun getMPSModules(): List<IWritableNode> { | ||
| fun getMPSModules(): List<ModuleWrapper> { |
Check warning
Code scanning / detekt
The function getMPSModules is missing documentation. Warning
| } | ||
|
|
||
| fun getMPSProjects(): List<IWritableNode> { | ||
| fun getMPSProjects(): List<ProjectWrapper> { |
Check warning
Code scanning / detekt
The function getMPSProjects is missing documentation. Warning
|
🎉 This PR is included in version 18.4.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.