Class CloudStateHolder.ProfileState
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.impl.CloudStateHolder.StateBase<CloudStateHolder.ProfileStateKey>
-
- jetbrains.buildServer.clouds.server.impl.CloudStateHolder.ProfileState
-
- Enclosing class:
- CloudStateHolder
public static class CloudStateHolder.ProfileState extends CloudStateHolder.StateBase<CloudStateHolder.ProfileStateKey>
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.clouds.server.impl.CloudStateHolder.StateBase
myAddtionalData, myKey
-
-
Constructor Summary
Constructors Constructor Description ProfileState(String projectId, String profileId, CloudErrorInfo errorInfo)
ProfileState(CloudProfile profile, CloudErrorInfo cloudErrorInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addImage(CloudStateHolder.ImageState imageState)
boolean
equals(Object o)
CloudStateHolder.ImageState
getImageById(String imageId)
Collection<CloudStateHolder.ImageState>
getImages()
String
getProfileId()
String
getProjectId()
int
hashCode()
boolean
isStillActual(CloudProfile profile, CloudErrorInfo errorInfo)
void
removeImage(CloudStateHolder.ImageStateKey key)
void
update(CloudProfile profile, CloudErrorInfo cloudErrorInfo)
-
Methods inherited from class jetbrains.buildServer.clouds.server.impl.CloudStateHolder.StateBase
getAdditionalDataJson, getAddtionalData, getErrorInfo, getKey, setAddtionalData, setErrorInfo
-
-
-
-
Constructor Detail
-
ProfileState
public ProfileState(@NotNull CloudProfile profile, @Nullable CloudErrorInfo cloudErrorInfo)
-
ProfileState
public ProfileState(@NotNull String projectId, @NotNull String profileId, @Nullable CloudErrorInfo errorInfo)
-
-
Method Detail
-
addImage
public void addImage(@NotNull CloudStateHolder.ImageState imageState)
-
removeImage
public void removeImage(@NotNull CloudStateHolder.ImageStateKey key)
-
getProfileId
@NotNull public String getProfileId()
-
getProjectId
@NotNull public String getProjectId()
-
getImages
public Collection<CloudStateHolder.ImageState> getImages()
-
getImageById
@Nullable public CloudStateHolder.ImageState getImageById(@NotNull String imageId)
-
update
public void update(@NotNull CloudProfile profile, @Nullable CloudErrorInfo cloudErrorInfo)
-
isStillActual
public boolean isStillActual(@NotNull CloudProfile profile, @Nullable CloudErrorInfo errorInfo)
-
-