Package jetbrains.buildServer.serverSide
Interface ProjectsModelListener
-
- All Superinterfaces:
EventListener
- All Known Subinterfaces:
BuildServerListener
- All Known Implementing Classes:
AddNewProjectToVisibleListener,AutoCheckoutDecisionsProcessor,AutoCheckoutResolveResults,AutoMergeFinishBuildListener,BuildEstimationListener,BuildProblemInvestigationsAndMutesListener,BuildProblemsTicketManagerImpl,BuildServerAdapter,BuildStatusRecalculator,BuildTypesEventListener,CheckingForChangesScheduler,CommittedBuildsHolderImpl,ConditionalStepsTracker,ConfigHistoryManagerImpl,CurrentProblemsManagerImpl,DeletedEntityTrackerImpl,DependencyChangedMarker,DiskUsageSListener,EventTrackerImpl,ExecutorModeBuildVerifier,ExternalStoragesInfoRegistryUpdater,IssuesPrefetcher,MaxAuthorizedAgentsStatsProvider,MaxConcurrentBuilds,NotificationEventAdapter,OAuthRedirectSettingsListener,ObsoleteBuildsKiller,ObsoleteLogsMigrator,PositionAwareBuildServerAdapter,ProjectEventsNotifier,ProjectsModelListenerAdapter,RefreshableTokenConfigListener,RemoteDebugTemporaryPersonalChangesCleaner,RemoteParametersContextProcessor,ServerStatisticsNotificator.ServerStatisticListener,SpaceApplicationInformationListener,StatisticsPublisher,TestInvestigationsAndMutesListener,VersionedSettingsProjectRestoredListener,WaitForThreadOnStartListener,WaitReasonStatisticsCollector
@UserImplemented(adapterClass=ProjectsModelListenerAdapter.class) public interface ProjectsModelListener extends EventListener
Interface for the projects model events listeners.- Since:
- 2017.1
- See Also:
BuildServerListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidbeforeBuildTypeDeleted(String buildTypeId)Called before cleaning the build configuration data from the database.voidbeforeBuildTypesDeleted()Called before cleaning build configurations data from the database.voidbuildTypeActiveStatusChanged(SBuildType buildType)Called when build configuration status changed from active to paused and vice versa.voidbuildTypeDeleted(String buildTypeId)Called after the cleaning the build configuration data from the database.voidbuildTypeDescriptionUpdated(SBuildType buildType, String oldDescription, String newDescription)Called when the build configuration description changed.voidbuildTypeExternalIdChanged(SBuildType buildType, String oldExternalId, String newExternalId)Called when the build configuration external id changed.voidbuildTypeMoved(SBuildType buildType, SProject original)Called when build configuration is moved to another project.voidbuildTypePersisted(SBuildType buildType)Called when build type has been persisted.voidbuildTypeRegistered(SBuildType buildType)Called when build configuration is created or build configuration is reloaded from the diskvoidbuildTypeRenamed(SBuildType buildType, String oldName, String newName)Called when the build configuration name changed.voidbuildTypeTemplateDeleted(String buildTypeTemplateId)Called when build configuration template is deletedvoidbuildTypeTemplateDeleted(BuildTypeTemplate template)Called when build configuration template is deletedvoidbuildTypeTemplateExternalIdChanged(BuildTypeTemplate buildTypeTemplate, String oldExternalId, String newExternalId)Called when build configuration template external id changed.voidbuildTypeTemplateMoved(BuildTypeTemplate buildTemplate, SProject original)Called when a build configuration template has been moved from one project to another.voidbuildTypeTemplatePersisted(BuildTypeTemplate buildTemplate)Called when a build configuration template has been persisted.voidbuildTypeTemplateRestored(BuildTypeTemplate buildTemplate)Called when a build configuration template has been reloaded from disk.voidbuildTypeUnregistered(SBuildType buildType)Called when build configuration is deletedvoidprojectArchived(String projectId)Called when project has been archivedvoidprojectCreated(String projectId, SUser user)Generated when new project was createdvoidprojectDearchived(String projectId)Called when project has been dearchivedvoidprojectDescriptionUpdated(SProject project, String oldDescription, String newDescription)Called when the project description changed.voidprojectExternalIdChanged(SProject project, String oldExternalId, String newExternalId)Called when project external id changed.voidprojectFeatureAdded(SProject project, SProjectFeatureDescriptor projectFeature)Called when project feature was addedvoidprojectFeatureChanged(SProject project, SProjectFeatureDescriptor before, SProjectFeatureDescriptor after)Called when project feature was modifiedvoidprojectFeatureRemoved(SProject project, SProjectFeatureDescriptor projectFeature)Called when project feature was removedvoidprojectMoved(SProject project, SProject originalParentProject)Called when project is moved to another parent project.voidprojectPersisted(String projectId)Generated when project configuration persisted on a diskvoidprojectPluginDataFileRemoved(String projectId, String relativePathToRemovedFile)Sent when a file is removed from the project/pluginData directory.voidprojectPluginDataFileSaved(String projectId, String relativePathToSavedFile)Sent when a file is saved under the project/pluginData directory.voidprojectRemoved(String projectId)Deprecated.voidprojectRemoved(SProject project)Generated when project was removedvoidprojectRenamed(SProject project, String oldName, String newName)Called when the project name changed.voidprojectRestored(String projectId)Generated when project configuration reloaded from diskvoidvcsRootExternalIdChanged(SVcsRoot vcsRoot, String oldExternalId, String newExternalId)Called when VCS root external id has ben changed.voidvcsRootMoved(SVcsRoot root, SProject original)Called when a VCS root has been moved from one project to another.voidvcsRootPersisted(SVcsRoot vcsRoot)Called when VCS root settings have been stored on diskvoidvcsRootRemoved(SVcsRoot root)Called when VCS root was removedvoidvcsRootsPersisted()Deprecated.since 8.0, usevcsRootPersisted(jetbrains.buildServer.vcs.SVcsRoot)insteadvoidvcsRootUpdated(SVcsRoot oldVcsRoot, SVcsRoot newVcsRoot)Called when VCS root settings were changed
-
-
-
Method Detail
-
buildTypeRegistered
void buildTypeRegistered(@NotNull SBuildType buildType)Called when build configuration is created or build configuration is reloaded from the disk- Parameters:
buildType- registered build configuration
-
buildTypeUnregistered
void buildTypeUnregistered(@NotNull SBuildType buildType)Called when build configuration is deleted- Parameters:
buildType- unregistered build configuration
-
buildTypeMoved
void buildTypeMoved(@NotNull SBuildType buildType, @NotNull SProject original)Called when build configuration is moved to another project.- Parameters:
buildType- build typeoriginal- the original project
-
buildTypeTemplateExternalIdChanged
void buildTypeTemplateExternalIdChanged(@NotNull BuildTypeTemplate buildTypeTemplate, @NotNull String oldExternalId, @NotNull String newExternalId)Called when build configuration template external id changed.- Parameters:
buildTypeTemplate- the build configuration template which external identifier has changed.oldExternalId- the previous external identifier.newExternalId- the new external identifier.- Since:
- 8.0
-
buildTypeExternalIdChanged
void buildTypeExternalIdChanged(@NotNull SBuildType buildType, @NotNull String oldExternalId, @NotNull String newExternalId)Called when the build configuration external id changed.- Parameters:
buildType- the build configuration which external identifier has changed.oldExternalId- the previous external identifier.newExternalId- the new external identifier.- Since:
- 8.0
-
buildTypeRenamed
void buildTypeRenamed(@NotNull SBuildType buildType, @NotNull String oldName, @NotNull String newName)Called when the build configuration name changed.- Since:
- 2021.1
-
buildTypeDescriptionUpdated
void buildTypeDescriptionUpdated(@NotNull SBuildType buildType, @Nullable String oldDescription, @Nullable String newDescription)Called when the build configuration description changed.- Since:
- 2021.1
-
projectMoved
void projectMoved(@NotNull SProject project, @NotNull SProject originalParentProject)Called when project is moved to another parent project.- Parameters:
project- project that is movedoriginalParentProject- original parent project of the moved project- Since:
- 8.0
-
beforeBuildTypesDeleted
void beforeBuildTypesDeleted()
Called before cleaning build configurations data from the database.- Since:
- 2020.2.2
-
beforeBuildTypeDeleted
void beforeBuildTypeDeleted(@NotNull String buildTypeId)Called before cleaning the build configuration data from the database.- Parameters:
buildTypeId- id of build configuration
-
buildTypeDeleted
void buildTypeDeleted(@NotNull String buildTypeId)Called after the cleaning the build configuration data from the database.- Parameters:
buildTypeId- id of build configuration
-
buildTypeTemplateDeleted
void buildTypeTemplateDeleted(@NotNull String buildTypeTemplateId)Called when build configuration template is deleted- Parameters:
buildTypeTemplateId- id of build configuration template- Since:
- 6.5
-
buildTypeTemplateDeleted
void buildTypeTemplateDeleted(@NotNull BuildTypeTemplate template)Called when build configuration template is deleted- Parameters:
template- deleted template- Since:
- 2018.1
-
buildTypeActiveStatusChanged
void buildTypeActiveStatusChanged(@NotNull SBuildType buildType)Called when build configuration status changed from active to paused and vice versa.- Parameters:
buildType- build configuration whose status has changed
-
projectCreated
void projectCreated(@NotNull String projectId, @Nullable SUser user)Generated when new project was created- Parameters:
projectId- internal id of the created projectuser- the user creating the project (or null if it can't be determined, e.g. after manual project config change)
-
projectExternalIdChanged
void projectExternalIdChanged(@NotNull SProject project, @NotNull String oldExternalId, @NotNull String newExternalId)Called when project external id changed.- Parameters:
project- the project which external id has been changed.oldExternalId- the old external id.newExternalId- the new external id.- Since:
- 8.0
-
projectRenamed
void projectRenamed(@NotNull SProject project, @NotNull String oldName, @NotNull String newName)Called when the project name changed.- Since:
- 2021.1
-
projectDescriptionUpdated
void projectDescriptionUpdated(@NotNull SProject project, @NotNull String oldDescription, @NotNull String newDescription)Called when the project description changed.- Since:
- 2021.1
-
projectRemoved
@Deprecated void projectRemoved(@NotNull String projectId)
Deprecated.Generated when project was removed- Parameters:
projectId- deleted project internal id
-
projectRemoved
void projectRemoved(@NotNull SProject project)Generated when project was removed- Parameters:
project- deleted project- Since:
- 9.0
-
projectPersisted
void projectPersisted(@NotNull String projectId)Generated when project configuration persisted on a disk- Parameters:
projectId- internal id of the saved project
-
projectPluginDataFileSaved
void projectPluginDataFileSaved(@NotNull String projectId, @NotNull String relativePathToSavedFile)Sent when a file is saved under the project/pluginData directory.- Parameters:
projectId- internal id of the affected projectrelativePathToSavedFile- relative path to the saved file inside project directory- Since:
- 2021.1
-
projectPluginDataFileRemoved
void projectPluginDataFileRemoved(@NotNull String projectId, @NotNull String relativePathToRemovedFile)Sent when a file is removed from the project/pluginData directory.- Parameters:
projectId- internal id of the affected projectrelativePathToRemovedFile- relative path to the removed file inside project directory- Since:
- 2021.1
-
projectRestored
void projectRestored(@NotNull String projectId)Generated when project configuration reloaded from disk- Parameters:
projectId- internal id of the reloaded project
-
projectArchived
void projectArchived(@NotNull String projectId)Called when project has been archived- Parameters:
projectId- internal id of archived project
-
projectDearchived
void projectDearchived(@NotNull String projectId)Called when project has been dearchived- Parameters:
projectId- internal id of dearchived project
-
buildTypeTemplatePersisted
void buildTypeTemplatePersisted(@NotNull BuildTypeTemplate buildTemplate)Called when a build configuration template has been persisted.- Parameters:
buildTemplate- the just persisted template.- Since:
- 8.0
-
buildTypeTemplateRestored
void buildTypeTemplateRestored(@NotNull BuildTypeTemplate buildTemplate)Called when a build configuration template has been reloaded from disk.- Parameters:
buildTemplate- the just reloaded template.- Since:
- 2019.1.2
-
buildTypeTemplateMoved
void buildTypeTemplateMoved(@NotNull BuildTypeTemplate buildTemplate, @NotNull SProject original)Called when a build configuration template has been moved from one project to another.- Parameters:
buildTemplate- the just moved template.original- the original project- Since:
- 2021.2
-
buildTypePersisted
void buildTypePersisted(@NotNull SBuildType buildType)Called when build type has been persisted.- Parameters:
buildType- the just persisted build type.- Since:
- 8.0
-
vcsRootRemoved
void vcsRootRemoved(@NotNull SVcsRoot root)Called when VCS root was removed- Parameters:
root- vcs root- Since:
- 5.0
-
vcsRootUpdated
void vcsRootUpdated(@NotNull SVcsRoot oldVcsRoot, @NotNull SVcsRoot newVcsRoot)Called when VCS root settings were changed- Parameters:
oldVcsRoot- old VCS rootnewVcsRoot- new VCS root- Since:
- 8.0 oldVcsRoot and newVcsRoot are the same objects
-
vcsRootExternalIdChanged
void vcsRootExternalIdChanged(@NotNull SVcsRoot vcsRoot, @NotNull String oldExternalId, @NotNull String newExternalId)Called when VCS root external id has ben changed.- Parameters:
vcsRoot- the VCS root which external identifier has changed.oldExternalId- the previous external identifier.newExternalId- the new external identifier.- Since:
- 8.0
-
vcsRootPersisted
void vcsRootPersisted(@NotNull SVcsRoot vcsRoot)Called when VCS root settings have been stored on disk- Parameters:
vcsRoot- vcs root whose settings were persisted- Since:
- 8.0
-
vcsRootsPersisted
@Deprecated void vcsRootsPersisted()
Deprecated.since 8.0, usevcsRootPersisted(jetbrains.buildServer.vcs.SVcsRoot)insteadCalled when VCS roots are saved to disk- Since:
- 5.0
-
vcsRootMoved
void vcsRootMoved(@NotNull SVcsRoot root, @NotNull SProject original)Called when a VCS root has been moved from one project to another.- Parameters:
SVcsRoot- the just moved VCS root.original- the original project- Since:
- 2021.2
-
projectFeatureAdded
void projectFeatureAdded(@NotNull SProject project, @NotNull SProjectFeatureDescriptor projectFeature)Called when project feature was added- Parameters:
project- affected projectprojectFeature- added project feature- Since:
- 2017.1
-
projectFeatureRemoved
void projectFeatureRemoved(@NotNull SProject project, @NotNull SProjectFeatureDescriptor projectFeature)Called when project feature was removed- Parameters:
project- affected projectprojectFeature- removed project feature- Since:
- 2017.1
-
projectFeatureChanged
void projectFeatureChanged(@NotNull SProject project, @NotNull SProjectFeatureDescriptor before, @NotNull SProjectFeatureDescriptor after)Called when project feature was modified- Parameters:
project- affected projectbefore- project feature before modificationafter- project feature after modification- Since:
- 2017.1
-
-