Package jetbrains.buildServer.vcs
Class AutoCheckoutModeDecision
- java.lang.Object
-
- jetbrains.buildServer.vcs.AutoCheckoutModeDecision
-
public class AutoCheckoutModeDecision extends Object
When auto-checkout type is used, Agent decides how to checkout sources and adds the decision to the build log.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoCheckoutModeDecision
agentCheckout()
boolean
equals(Object o)
AgentCheckoutMode
getResolvedCheckoutMode()
AgentCanNotCheckoutReason
getServerCheckoutReason()
String
getVcsRootName()
int
hashCode()
static AutoCheckoutModeDecision
parse(String serialized)
String
serialize()
Serialized decision are written to the build log, and then parse on server usingparse(String)
static AutoCheckoutModeDecision
serverCheckout(AgentCanNotCheckoutReason canNotCheckoutReason, String vcsRootName)
BuildMessage1
toBuildMessage()
String
toString()
-
-
-
Method Detail
-
serverCheckout
public static AutoCheckoutModeDecision serverCheckout(@NotNull AgentCanNotCheckoutReason canNotCheckoutReason, @Nullable String vcsRootName)
-
agentCheckout
public static AutoCheckoutModeDecision agentCheckout()
-
getResolvedCheckoutMode
@NotNull public AgentCheckoutMode getResolvedCheckoutMode()
-
getServerCheckoutReason
@Nullable public AgentCanNotCheckoutReason getServerCheckoutReason()
-
getVcsRootName
@Nullable public String getVcsRootName()
-
serialize
@NotNull public String serialize()
Serialized decision are written to the build log, and then parse on server usingparse(String)
-
parse
@Nullable public static AutoCheckoutModeDecision parse(@NotNull String serialized)
-
toBuildMessage
public BuildMessage1 toBuildMessage()
-
-