Class AgentCheckoutDirRevisionInfo
- java.lang.Object
-
- jetbrains.buildServer.agentServer.AgentCheckoutDirRevisionInfo
-
public class AgentCheckoutDirRevisionInfo extends Object
- Author:
- Sergey.Pak Date: 11/20/13 Time: 12:23 PM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AgentCheckoutDirRevisionInfo.VcsRootInstanceState
-
Constructor Summary
Constructors Constructor Description AgentCheckoutDirRevisionInfo(File checkoutDir, File agentWorkdir, String vcsSettingsHash)
AgentCheckoutDirRevisionInfo(AgentCheckoutDirRevisionInfo oldInfo, String vcsSettingsHash, String buildTypeId, long buildId, boolean fullCheckout)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentCheckoutDirRevisionInfo.VcsRootInstanceState
addVcsRootInstanceState(String revision, String vcsRootSettingsHash, CheckoutRules checkoutRules)
static AgentCheckoutDirRevisionInfo
createEmptyState()
Map<String,String>
createRevisionsMap()
boolean
equals(Object o)
File
getCheckoutDir(File agentWorkDir)
String
getCheckoutDirPath()
long
getFirstBuildId()
List<AgentCheckoutDirRevisionInfo.VcsRootInstanceState>
getInstancesStates()
long
getLastBuildByType(String buildTypeId)
String
getVcsSettingsHash()
int
hashCode()
boolean
isEmpty()
static AgentCheckoutDirRevisionInfo
parseXml(Reader reader)
String
serializeToXml()
void
store(File file)
-
-
-
Constructor Detail
-
AgentCheckoutDirRevisionInfo
public AgentCheckoutDirRevisionInfo(@NotNull File checkoutDir, @NotNull File agentWorkdir, @NotNull String vcsSettingsHash)
-
AgentCheckoutDirRevisionInfo
public AgentCheckoutDirRevisionInfo(@NotNull AgentCheckoutDirRevisionInfo oldInfo, @NotNull String vcsSettingsHash, @NotNull String buildTypeId, long buildId, boolean fullCheckout)
-
-
Method Detail
-
createEmptyState
public static AgentCheckoutDirRevisionInfo createEmptyState()
-
parseXml
@NotNull public static AgentCheckoutDirRevisionInfo parseXml(@NotNull Reader reader) throws IOException
- Throws:
IOException
-
getInstancesStates
public List<AgentCheckoutDirRevisionInfo.VcsRootInstanceState> getInstancesStates()
-
getVcsSettingsHash
public String getVcsSettingsHash()
-
getLastBuildByType
public long getLastBuildByType(@NotNull String buildTypeId)
-
getFirstBuildId
public long getFirstBuildId()
-
addVcsRootInstanceState
@Contract("null, _, _ -> null; !null, _, _ -> !null ") public AgentCheckoutDirRevisionInfo.VcsRootInstanceState addVcsRootInstanceState(@Nullable String revision, @NotNull String vcsRootSettingsHash, @NotNull CheckoutRules checkoutRules)
-
serializeToXml
public String serializeToXml()
-
store
public void store(@NotNull File file) throws IOException
- Throws:
IOException
-
getCheckoutDirPath
@NotNull public String getCheckoutDirPath()
-
isEmpty
public boolean isEmpty()
-
-