Class StartInstanceAction
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.impl.instances.StartInstanceAction
-
public class StartInstanceAction extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
STARTING_CLOUD_INSTANCE_ID
-
Constructor Summary
Constructors Constructor Description StartInstanceAction(CloudManagerBase manager, WebLinks webLinks, CloudEventDispatcher disp, TerminateConditionsFactory terminateConditionsFactory, CloudQuotaChecker cloudQuotaChecker, StartingCloudInstanceTokens startingCloudInstanceTokens)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CloudInstance
doStartCloudInstance(CloudProfile profile, CloudClientEx client, CloudImage cloudImage, StartInstanceReason reason)
CanStartNewInstanceResult
getCanStartNewInstanceResult(CloudProfile profile, CloudImage image)
String
getServerUrlForAgent(CloudProfile profile, CloudImage image)
CloudInstance
startInstance(String projectId, String profileId, String imageId, StartInstanceReason reason)
-
-
-
Field Detail
-
STARTING_CLOUD_INSTANCE_ID
public static final String STARTING_CLOUD_INSTANCE_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StartInstanceAction
public StartInstanceAction(CloudManagerBase manager, @NotNull WebLinks webLinks, @NotNull CloudEventDispatcher disp, @NotNull TerminateConditionsFactory terminateConditionsFactory, CloudQuotaChecker cloudQuotaChecker, @NotNull StartingCloudInstanceTokens startingCloudInstanceTokens)
-
-
Method Detail
-
startInstance
@NotNull public CloudInstance startInstance(@NotNull String projectId, @NotNull String profileId, @NotNull String imageId, @NotNull StartInstanceReason reason)
-
doStartCloudInstance
@NotNull protected CloudInstance doStartCloudInstance(CloudProfile profile, CloudClientEx client, CloudImage cloudImage, @NotNull StartInstanceReason reason)
-
getCanStartNewInstanceResult
public CanStartNewInstanceResult getCanStartNewInstanceResult(@NotNull CloudProfile profile, @NotNull CloudImage image)
-
getServerUrlForAgent
public String getServerUrlForAgent(@NotNull CloudProfile profile, @NotNull CloudImage image)
-
-