Interface BeforeStartInstanceArguments
-
- All Known Implementing Classes:
BeforeStartInstanceArgumentsImpl
public interface BeforeStartInstanceArguments
Event arguments ofCloudEventListener.beforeInstanceStarted(jetbrains.buildServer.clouds.CloudProfile, jetbrains.buildServer.clouds.CloudImage, BeforeStartInstanceArguments)
Controls parameters of newly starting agent or disabled the start- Since:
- 5.0
- Author:
- Eugene Petrenko
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAgentCustomProperty(String key, String value)
Add new build agent property.void
doNotStartInstance(String reason)
Disables start on the instance of the image settings the following reason
-
-
-
Method Detail
-
addAgentCustomProperty
void addAgentCustomProperty(@NotNull String key, @NotNull String value)
Add new build agent property. Either system of env. This is equal to adding a new line to buildAgent.properties file- Parameters:
key
- keyvalue
- value
-
doNotStartInstance
void doNotStartInstance(@NotNull String reason)
Disables start on the instance of the image settings the following reason- Parameters:
reason
- reason to deny start
-
-