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 booleanequals(Object o)StringgetMountPath()StringgetMountRepositoryURL()StringgetMountRepositoryVcsName()StringgetMountRevision()inthashCode()StringtoString()
-
-
-
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:
getMountRepositoryVcsNamein interfaceCommitMountPointInfo- Returns:
- VCS name for the mounted repository
-
getMountRepositoryURL
@NotNull public String getMountRepositoryURL()
- Specified by:
getMountRepositoryURLin interfaceCommitMountPointInfo- Returns:
- URL or other string identifying mounted repository
-
getMountPath
@NotNull public String getMountPath()
- Specified by:
getMountPathin interfaceCommitMountPointInfo- Returns:
- relative path (from the parent repository root) for given mount point
-
getMountRevision
@Nullable public String getMountRevision()
- Specified by:
getMountRevisionin interfaceCommitMountPointInfo- Returns:
- mounted version control revision (if applicable) or
nullto consider latest revision
-
-