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 InstanceUpdateTaskagentMatched(CloudProfile profile, CloudInstance instance, SBuildAgent agent)InstanceUpdateTaskagentRemoved(SBuildAgent agent)Collection<SBuildAgent>getAssociatedAgents()StringgetImageId()StringgetInstanceId()StringgetProfileId()booleanhasAssociatedAgents()InstanceUpdateTaskinstanceNotFound()booleanmatches(CloudProfile profile)booleanmatches(CloudProfile profile, CloudImage image)booleanmatches(CloudProfile profile, CloudInstance instance)InstanceUpdateTaskupdate(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:
matchesin interfaceInstanceUpdateTask
-
matches
public boolean matches(@NotNull CloudProfile profile, CloudImage image)- Specified by:
matchesin interfaceInstanceUpdateTask
-
matches
public boolean matches(@NotNull CloudProfile profile)- Specified by:
matchesin interfaceInstanceUpdateTask
-
getProfileId
public String getProfileId()
- Specified by:
getProfileIdin interfaceInstanceUpdateTask
-
getImageId
public String getImageId()
- Specified by:
getImageIdin interfaceInstanceUpdateTask
-
getInstanceId
public String getInstanceId()
- Specified by:
getInstanceIdin interfaceInstanceUpdateTask
-
getAssociatedAgents
@NotNull public Collection<SBuildAgent> getAssociatedAgents()
- Specified by:
getAssociatedAgentsin interfaceInstanceUpdateTask
-
hasAssociatedAgents
public boolean hasAssociatedAgents()
- Specified by:
hasAssociatedAgentsin interfaceInstanceUpdateTask
-
update
@NotNull public InstanceUpdateTask update(@NotNull CloudProfile profile, @NotNull CloudInstance instance)
- Specified by:
updatein interfaceInstanceUpdateTask
-
instanceNotFound
@NotNull public InstanceUpdateTask instanceNotFound()
- Specified by:
instanceNotFoundin interfaceInstanceUpdateTask
-
agentMatched
@NotNull public InstanceUpdateTask agentMatched(@NotNull CloudProfile profile, @NotNull CloudInstance instance, @NotNull SBuildAgent agent)
- Specified by:
agentMatchedin interfaceInstanceUpdateTask
-
agentRemoved
@NotNull public InstanceUpdateTask agentRemoved(@NotNull SBuildAgent agent)
- Specified by:
agentRemovedin interfaceInstanceUpdateTask
-
-