Class BeforeStartInstanceArgumentsImpl
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.impl.instances.BeforeStartInstanceArgumentsImpl
-
- All Implemented Interfaces:
BeforeStartInstanceArguments
public class BeforeStartInstanceArgumentsImpl extends Object implements BeforeStartInstanceArguments
- Author:
- Eugene Petrenko Created: 09.11.2009 14:09:58
-
-
Constructor Summary
Constructors Constructor Description BeforeStartInstanceArgumentsImpl()
-
Method Summary
All Methods Instance Methods Concrete 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 reasonMap<String,String>
getAgentCustomProperties()
Collection<String>
getDoNotStartReasons()
-
-
-
Method Detail
-
addAgentCustomProperty
public 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- Specified by:
addAgentCustomProperty
in interfaceBeforeStartInstanceArguments
- Parameters:
key
- keyvalue
- value
-
doNotStartInstance
public void doNotStartInstance(@NotNull String reason)
Disables start on the instance of the image settings the following reason- Specified by:
doNotStartInstance
in interfaceBeforeStartInstanceArguments
- Parameters:
reason
- reason to deny start
-
getDoNotStartReasons
@NotNull public Collection<String> getDoNotStartReasons()
-
-