Class CommitMountPointDataBean

  • All Implemented Interfaces:
    CommitMountPointInfo

    public class CommitMountPointDataBean
    extends java.lang.Object
    implements CommitMountPointInfo
    Since:
    8.1
    Author:
    Eugene Petrenko (eugene.petrenko@jetbrains.com)
    • Constructor Detail

      • CommitMountPointDataBean

        public CommitMountPointDataBean​(@NotNull
                                        java.lang.String vcsName,
                                        @NotNull
                                        java.lang.String repositoryURL,
                                        @NotNull
                                        java.lang.String mountPath,
                                        @Nullable
                                        java.lang.String revision)
        Parameters:
        vcsName - vcs plugin name
        repositoryURL - mounted repository URL (or path)
        mountPath - mounted folder path relative to containing repository
        revision - mounted revision or null
        Since:
        8.1
        See Also:
        CommitMountPointInfo
    • Method Detail

      • getMountRepositoryURL

        @NotNull
        public java.lang.String getMountRepositoryURL()
        Specified by:
        getMountRepositoryURL in interface CommitMountPointInfo
        Returns:
        URL or other string identifying mounted repository
      • getMountPath

        @NotNull
        public java.lang.String getMountPath()
        Specified by:
        getMountPath in interface CommitMountPointInfo
        Returns:
        relative path (from the parent repository root) for given mount point
      • getMountRevision

        @Nullable
        public java.lang.String getMountRevision()
        Specified by:
        getMountRevision in interface CommitMountPointInfo
        Returns:
        mounted version control revision (if applicable) or null to consider latest revision
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object