public class VcsWorkingCopy extends Object
Constructor and Description |
---|
VcsWorkingCopy(long repositoryId,
File path,
String currentRevisionKey)
Deprecated.
since 5.8 as it doesn't set current branch and configured branch
|
VcsWorkingCopy(long repositoryId,
File path,
String currentRevisionKey,
boolean hasNotCommittedChanges)
Deprecated.
since 5.8 as it doesn't set current branch
|
VcsWorkingCopy(long repositoryId,
File path,
String currentRevisionKey,
boolean hasNotCommittedChanges,
VcsBranch currentBranch,
boolean currentBranchChanged) |
VcsWorkingCopy(long repositoryId,
File path,
String currentRevisionKey,
VcsBranch currentBranch,
boolean currentBranchChanged) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
getCurrentBranch()
Return branch the working copy is switched to.
|
String |
getCurrentRevisionKey() |
File |
getPath() |
long |
getRepositoryId() |
boolean |
hasNotCommittedChanges() |
boolean |
isCurrentBranchChanged() |
@Deprecated public VcsWorkingCopy(long repositoryId, File path, String currentRevisionKey)
public VcsWorkingCopy(long repositoryId, File path, String currentRevisionKey, VcsBranch currentBranch, boolean currentBranchChanged)
@Deprecated public VcsWorkingCopy(long repositoryId, File path, String currentRevisionKey, boolean hasNotCommittedChanges)
public File getPath()
public long getRepositoryId()
public String getCurrentRevisionKey()
@Nullable public VcsBranch getCurrentBranch()
isCurrentBranchChanged()
return true.public boolean isCurrentBranchChanged()
public boolean hasNotCommittedChanges()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences