Interface ProjectCloudManager
-
- All Known Implementing Classes:
ProjectCloudManagerImpl
public interface ProjectCloudManager
Created by sergeypak on 12/01/2017.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Dispose resources related to project cloud profiles.void
disposeClient(String profileId)
Disposes resources related to a specific cloud profile.void
disposeClients()
CloudProfile
findProfileById(String profileId)
CloudClientEx
getClient(String profileId)
CloudClientEx
getClientIfExists(String profileId)
boolean
hasProfiles()
boolean
isConfigurable()
boolean
isIntegrationEnabled()
Collection<CloudProfile>
listProfiles()
void
removeProfile(String profileId)
void
resetStatusCache()
void
updateProfile(CloudProfile cloudProfile)
void
updateProjectProfiles(boolean forceReload)
boolean
updateStatus(ProjectCloudIntegrationStatus newStatus)
Update cloud integration status for given project
-
-
-
Method Detail
-
isIntegrationEnabled
boolean isIntegrationEnabled()
-
isConfigurable
boolean isConfigurable()
-
updateStatus
boolean updateStatus(@NotNull ProjectCloudIntegrationStatus newStatus)
Update cloud integration status for given project- Parameters:
newStatus
-- Returns:
- true if new different status applied, false if new status was the same as current one
-
removeProfile
void removeProfile(@NotNull String profileId)
-
updateProjectProfiles
void updateProjectProfiles(boolean forceReload)
-
updateProfile
void updateProfile(@NotNull CloudProfile cloudProfile)
-
resetStatusCache
void resetStatusCache()
-
listProfiles
@NotNull Collection<CloudProfile> listProfiles()
-
findProfileById
@Nullable CloudProfile findProfileById(@NotNull String profileId)
-
getClientIfExists
@Nullable CloudClientEx getClientIfExists(@NotNull String profileId)
-
getClient
@NotNull CloudClientEx getClient(@NotNull String profileId)
-
dispose
void dispose()
Dispose resources related to project cloud profiles. (e.g. cloud clients)
-
disposeClients
void disposeClients()
-
disposeClient
void disposeClient(@NotNull String profileId)
Disposes resources related to a specific cloud profile.- Parameters:
profileId
- the ID of the cloud profile
-
hasProfiles
boolean hasProfiles()
-
-