public abstract class VcsUpdate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VcsUpdate.VcsUpdateType |
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.jgit.lib.Repository |
repository |
| Constructor and Description |
|---|
VcsUpdate(com.eviware.soapui.impl.wsdl.WsdlProject project,
VcsUpdate.VcsUpdateType type,
String relativePath,
String oldRelativePath,
org.eclipse.jgit.lib.Repository repository)
Creates a new VcsUpdate.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
computeFileDiff() |
boolean |
equals(Object o) |
String |
getFileDiff()
Returns changes in file in Git diff format
|
String |
getOldRelativePath() |
com.eviware.soapui.impl.wsdl.WsdlProject |
getProject() |
String |
getRelativePath() |
VcsUpdate.VcsUpdateType |
getType() |
int |
hashCode() |
boolean |
isConflictingUpdate() |
void |
setConflictingUpdate(boolean conflictingUpdate) |
public VcsUpdate(com.eviware.soapui.impl.wsdl.WsdlProject project,
VcsUpdate.VcsUpdateType type,
String relativePath,
String oldRelativePath,
org.eclipse.jgit.lib.Repository repository)
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 repositorypublic com.eviware.soapui.impl.wsdl.WsdlProject getProject()
public VcsUpdate.VcsUpdateType getType()
public String getRelativePath()
public String getOldRelativePath()
public boolean isConflictingUpdate()
public void setConflictingUpdate(boolean conflictingUpdate)
public String getFileDiff()
protected abstract String computeFileDiff() throws IOException
IOExceptionCopyright © 2019. All rights reserved.