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 AutoCheckoutModeDecisionagentCheckout()booleanequals(Object o)AgentCheckoutModegetResolvedCheckoutMode()AgentCanNotCheckoutReasongetServerCheckoutReason()StringgetVcsRootName()inthashCode()static AutoCheckoutModeDecisionparse(String serialized)Stringserialize()Serialized decision are written to the build log, and then parse on server usingparse(String)static AutoCheckoutModeDecisionserverCheckout(AgentCanNotCheckoutReason canNotCheckoutReason, String vcsRootName)BuildMessage1toBuildMessage()StringtoString()
-
-
-
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()
-
-