Class AgentCheckoutDirRevisionInfo


  • public class AgentCheckoutDirRevisionInfo
    extends java.lang.Object
    Author:
    Sergey.Pak Date: 11/20/13 Time: 12:23 PM
    • Constructor Detail

      • AgentCheckoutDirRevisionInfo

        public AgentCheckoutDirRevisionInfo​(@NotNull
                                            java.io.File checkoutDir,
                                            @NotNull
                                            java.io.File agentWorkdir,
                                            @NotNull
                                            java.lang.String vcsSettingsHash)
      • AgentCheckoutDirRevisionInfo

        public AgentCheckoutDirRevisionInfo​(@NotNull
                                            AgentCheckoutDirRevisionInfo oldInfo,
                                            @NotNull
                                            java.lang.String vcsSettingsHash,
                                            @NotNull
                                            java.lang.String buildTypeId,
                                            long buildId,
                                            boolean fullCheckout)
    • Method Detail

      • parseXml

        @NotNull
        public static AgentCheckoutDirRevisionInfo parseXml​(@NotNull
                                                            java.io.Reader reader)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getVcsSettingsHash

        public java.lang.String getVcsSettingsHash()
      • getLastBuildByType

        public long getLastBuildByType​(@NotNull
                                       java.lang.String buildTypeId)
      • getFirstBuildId

        public long getFirstBuildId()
      • serializeToXml

        public java.lang.String serializeToXml()
      • store

        public void store​(@NotNull
                          java.io.File file)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getCheckoutDirPath

        @NotNull
        public java.lang.String getCheckoutDirPath()
      • isEmpty

        public boolean isEmpty()
      • createRevisionsMap

        public java.util.Map<java.lang.String,​java.lang.String> createRevisionsMap()
      • getCheckoutDir

        public java.io.File getCheckoutDir​(@NotNull
                                           java.io.File agentWorkDir)
      • 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