Class StoppedInstanceTask
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.impl.instances.MatchingInstanceTask
-
- jetbrains.buildServer.clouds.server.impl.instances.StoppedInstanceTask
-
- All Implemented Interfaces:
InstanceUpdateTask
public class StoppedInstanceTask extends MatchingInstanceTask
- Author:
- Eugene Petrenko Created: 05.12.2009 17:35:04
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.clouds.server.impl.instances.MatchingInstanceTask
myDispatcher, myImageId, myInstanceId, myProfileCloudName, myProfileId
-
-
Constructor Summary
Constructors Constructor Description StoppedInstanceTask(CloudProfile profile, CloudInstance instance, CloudEventDispatcher dispatcher, InstanceUpdateTaskFactory instanceFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceUpdateTaskagentMatched(CloudProfile profile, CloudInstance instance, SBuildAgent agent)InstanceUpdateTaskagentRemoved(SBuildAgent agent)Collection<SBuildAgent>getAssociatedAgents()booleanhasAssociatedAgents()InstanceUpdateTaskinstanceNotFound()InstanceUpdateTaskupdate(CloudProfile profile, CloudInstance instance)-
Methods inherited from class jetbrains.buildServer.clouds.server.impl.instances.MatchingInstanceTask
getImageId, getInstanceId, getProfileId, matches, matches, matches
-
-
-
-
Constructor Detail
-
StoppedInstanceTask
public StoppedInstanceTask(@NotNull CloudProfile profile, @NotNull CloudInstance instance, @NotNull CloudEventDispatcher dispatcher, @NotNull InstanceUpdateTaskFactory instanceFactory)
-
-
Method Detail
-
getAssociatedAgents
@NotNull public Collection<SBuildAgent> getAssociatedAgents()
-
hasAssociatedAgents
public boolean hasAssociatedAgents()
-
update
@NotNull public InstanceUpdateTask update(@NotNull CloudProfile profile, @NotNull CloudInstance instance)
-
instanceNotFound
@NotNull public InstanceUpdateTask instanceNotFound()
-
agentMatched
@NotNull public InstanceUpdateTask agentMatched(@NotNull CloudProfile profile, @NotNull CloudInstance instance, @NotNull SBuildAgent agent)
-
agentRemoved
@NotNull public InstanceUpdateTask agentRemoved(@NotNull SBuildAgent agent)
-
-