Class NonExistingInstance
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.impl.instances.NonExistingInstance
-
- All Implemented Interfaces:
InstanceUpdateTask
public class NonExistingInstance extends Object implements InstanceUpdateTask
- Author:
- Eugene Petrenko Created: 10.11.2009 15:31:47
-
-
Constructor Summary
Constructors Constructor Description NonExistingInstance(CloudProfile profile, CloudInstance instance)
-
Method Summary
All Methods Instance Methods Concrete 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)
-
-
-
Constructor Detail
-
NonExistingInstance
public NonExistingInstance(CloudProfile profile, CloudInstance instance)
-
-
Method Detail
-
matches
public boolean matches(@NotNull CloudProfile profile, CloudInstance instance)
- Specified by:
matches
in interfaceInstanceUpdateTask
-
matches
public boolean matches(@NotNull CloudProfile profile, CloudImage image)
- Specified by:
matches
in interfaceInstanceUpdateTask
-
matches
public boolean matches(@NotNull CloudProfile profile)
- Specified by:
matches
in interfaceInstanceUpdateTask
-
getProfileId
public String getProfileId()
- Specified by:
getProfileId
in interfaceInstanceUpdateTask
-
getImageId
public String getImageId()
- Specified by:
getImageId
in interfaceInstanceUpdateTask
-
getInstanceId
public String getInstanceId()
- Specified by:
getInstanceId
in interfaceInstanceUpdateTask
-
getAssociatedAgents
@NotNull public Collection<SBuildAgent> getAssociatedAgents()
- Specified by:
getAssociatedAgents
in interfaceInstanceUpdateTask
-
hasAssociatedAgents
public boolean hasAssociatedAgents()
- Specified by:
hasAssociatedAgents
in interfaceInstanceUpdateTask
-
update
@NotNull public InstanceUpdateTask update(@NotNull CloudProfile profile, @NotNull CloudInstance instance)
- Specified by:
update
in interfaceInstanceUpdateTask
-
instanceNotFound
@NotNull public InstanceUpdateTask instanceNotFound()
- Specified by:
instanceNotFound
in interfaceInstanceUpdateTask
-
agentMatched
@NotNull public InstanceUpdateTask agentMatched(@NotNull CloudProfile profile, @NotNull CloudInstance instance, @NotNull SBuildAgent agent)
- Specified by:
agentMatched
in interfaceInstanceUpdateTask
-
agentRemoved
@NotNull public InstanceUpdateTask agentRemoved(@NotNull SBuildAgent agent)
- Specified by:
agentRemoved
in interfaceInstanceUpdateTask
-
-