| Summary: | [api] Include workspace resource info in ScmArtifact | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Alvaro Sanchez-Leon <alvaro.sanchez-leon> |
| Component: | Mylyn | Assignee: | Alvaro Sanchez-Leon <alvaro.sanchez-leon> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | kilian.matt, steffen.pingel |
| Version: | unspecified | ||
| Target Milestone: | 0.9 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 330616 | ||
|
Description
Alvaro Sanchez-Leon
temporary class ScmArtifactX created and to be used while the issue is being discussed as well as to allow migration from existing connectors branch "versionsIntegration" The actual change was implemented with new instance variables within ScmArtifact with corresponding getters and setters, so the connectors can fill this information if it is at all possible to resolve within the users workspace. If the artifact is not resolved within the workspace the values are defaulted to null. Getters and setters keep backward compatibility with connectors who don't need to hold this information. The GitConnector has been updated to resolve the workspace information A new helper class was also introduced in the framework: ScmResoruceUtils this shall enable the different connector implementations to re-use common methods to help resolve a file revision to a corresponding IResource. This was actually part of 0.8 - |