public class VcsUtils
Type Params | Return Type | Name and description |
---|---|---|
|
public static boolean |
activateAnyVcsForProject(WsdlProjectPro project, boolean activateSilently) |
|
public static boolean |
addRemoteOrLocalRepositoryForVcs(WsdlProjectPro project, boolean failForLocalRepos) |
|
public static boolean |
addRemoteRepositoryForVcs(WsdlProjectPro project) |
|
public java.lang.Object |
construct(XProgressMonitor monitor) |
|
public static ModelItem |
getModelItemForPath(java.lang.String path, WsdlProjectPro project) |
|
public static boolean |
makeInitialCommitIfNeed(WsdlProjectPro project) |
|
public static WsdlProject |
reloadProject(WsdlProject project) |
|
public static WsdlProjectPro |
saveProject(WsdlProjectPro project) project.save() method can initiate any VCS operation, and the operation can reload the project in the workspace. |
|
public static void |
sendAnalyticsAction(ReadyApiActions action, WsdlProjectPro project) |
|
public static void |
sendAnalyticsAction(java.lang.String type) |
|
public static void |
sendAnalyticsActionGitDialog(java.lang.String type) |
|
public static void |
showFullCommitHistory(WsdlProjectPro project) Shows old dialog with the full commit history |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
project.save() method can initiate any VCS operation, and the operation can reload the project in the workspace. So, after project.save() the current object of the project can be invalid and disconnected from the workspace. So, we must find new relevant object of the project.
project
- project to saveShows old dialog with the full commit history
project
- which commit history is shown