Interface InstanceUpdateTask
-
- All Known Implementing Classes:
MatchingInstanceTask
,NonExistingInstance
,RunningInstanceTask
,StoppedInstanceTask
public interface InstanceUpdateTask
- Author:
- Eugene Petrenko Created: 10.11.2009 15:17:37
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceUpdateTask
agentMatched(CloudProfile profile, CloudInstance instance, SBuildAgent agent)
InstanceUpdateTask
agentRemoved(SBuildAgent agent)
Collection<SBuildAgent>
getAssociatedAgents()
String
getImageId()
String
getInstanceId()
String
getProfileId()
boolean
hasAssociatedAgents()
InstanceUpdateTask
instanceNotFound()
boolean
matches(CloudProfile profile)
boolean
matches(CloudProfile profile, CloudImage image)
boolean
matches(CloudProfile profile, CloudInstance instance)
InstanceUpdateTask
update(CloudProfile profile, CloudInstance instance)
-
-
-
Method Detail
-
matches
boolean matches(@NotNull CloudProfile profile, CloudInstance instance)
-
matches
boolean matches(@NotNull CloudProfile profile, CloudImage image)
-
matches
boolean matches(@NotNull CloudProfile profile)
-
getProfileId
@Nullable String getProfileId()
-
getImageId
@Nullable String getImageId()
-
getInstanceId
@Nullable String getInstanceId()
-
getAssociatedAgents
@NotNull Collection<SBuildAgent> getAssociatedAgents()
-
hasAssociatedAgents
boolean hasAssociatedAgents()
-
update
@NotNull InstanceUpdateTask update(@NotNull CloudProfile profile, @NotNull CloudInstance instance)
-
instanceNotFound
@NotNull InstanceUpdateTask instanceNotFound()
-
agentMatched
@NotNull InstanceUpdateTask agentMatched(@NotNull CloudProfile profile, @NotNull CloudInstance instance, @NotNull SBuildAgent agent)
-
agentRemoved
@NotNull InstanceUpdateTask agentRemoved(@NotNull SBuildAgent agent)
-
-