Interface ProjectCloudManager
-
- All Known Implementing Classes:
ProjectCloudManagerImpl
public interface ProjectCloudManagerCreated by sergeypak on 12/01/2017.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()Dispose resources related to project cloud profiles.voiddisposeClient(String profileId)Disposes resources related to a specific cloud profile.voiddisposeClients()CloudProfilefindProfileById(String profileId)CloudClientExgetClient(String profileId)CloudClientExgetClientIfExists(String profileId)booleanhasProfiles()booleanisConfigurable()booleanisIntegrationEnabled()Collection<CloudProfile>listProfiles()voidremoveProfile(String profileId)voidresetStatusCache()voidupdateProfile(CloudProfile cloudProfile)voidupdateProjectProfiles(boolean forceReload)booleanupdateStatus(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()
-
-