Package jetbrains.buildServer.vcs
Class CommitMountPointDataBean
- java.lang.Object
-
- jetbrains.buildServer.vcs.CommitMountPointDataBean
-
- All Implemented Interfaces:
CommitMountPointInfo
public class CommitMountPointDataBean extends Object implements CommitMountPointInfo
- Since:
- 8.1
- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description CommitMountPointDataBean(String vcsName, String repositoryURL, String mountPath, String revision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getMountPath()
String
getMountRepositoryURL()
String
getMountRepositoryVcsName()
String
getMountRevision()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
CommitMountPointDataBean
public CommitMountPointDataBean(@NotNull String vcsName, @NotNull String repositoryURL, @NotNull String mountPath, @Nullable String revision)
- Parameters:
vcsName
- vcs plugin namerepositoryURL
- mounted repository URL (or path)mountPath
- mounted folder path relative to containing repositoryrevision
- mounted revision or null- Since:
- 8.1
- See Also:
CommitMountPointInfo
-
-
Method Detail
-
getMountRepositoryVcsName
@NotNull public String getMountRepositoryVcsName()
- Specified by:
getMountRepositoryVcsName
in interfaceCommitMountPointInfo
- Returns:
- VCS name for the mounted repository
-
getMountRepositoryURL
@NotNull public String getMountRepositoryURL()
- Specified by:
getMountRepositoryURL
in interfaceCommitMountPointInfo
- Returns:
- URL or other string identifying mounted repository
-
getMountPath
@NotNull public String getMountPath()
- Specified by:
getMountPath
in interfaceCommitMountPointInfo
- Returns:
- relative path (from the parent repository root) for given mount point
-
getMountRevision
@Nullable public String getMountRevision()
- Specified by:
getMountRevision
in interfaceCommitMountPointInfo
- Returns:
- mounted version control revision (if applicable) or
null
to consider latest revision
-
-