Represents an update of a file, either local or remote.
Modifiers | Name | Description |
---|---|---|
enum |
VcsUpdate.VcsUpdateType |
Constructor and description |
---|
VcsUpdate
(WsdlProject project, VcsUpdate.VcsUpdateType type, java.lang.String relativePath, java.lang.String oldRelativePath, Repository repository) Creates a new VcsUpdate. |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getFileDiff() Returns changes in file in Git diff format |
|
java.lang.String |
getOldRelativePath()
|
|
WsdlProject |
getProject() @return the project in which the update has been made |
|
java.lang.String |
getRelativePath() @return the path of the file relative to the project root |
|
VcsUpdate.VcsUpdateType |
getType() @return the type of update |
|
int |
hashCode() |
|
boolean |
isConflictingUpdate() @return true if the file changes conflict with the remote counterpart, false otherwise |
|
void |
setConflictingUpdate(boolean conflictingUpdate) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), 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() |
Creates a new VcsUpdate.
project
- ReadyAPI projecttype
- the type of the updaterelativePath
- the current path of the file relative to the project root. May be null if the file was deletedoldRelativePath
- The old path of the file relative to the project root.
Used when a file has been moved or deleted, null otherwise.repository
- VCS repositoryReturns changes in file in Git diff format
ReadyAPI functional (soapui-pro) SDK 3.30.0