@UserImplemented(adapterClass=ProjectsModelListenerAdapter.class) public interface ProjectsModelListener extends java.util.EventListener
BuildServerListener
Modifier and Type | Method and Description |
---|---|
void |
beforeBuildTypeDeleted(java.lang.String buildTypeId)
Called before cleaning the build configuration data from the database.
|
void |
buildTypeActiveStatusChanged(SBuildType buildType)
Called when build configuration status changed from active to paused and vice versa.
|
void |
buildTypeDeleted(java.lang.String buildTypeId)
Called after the cleaning the build configuration data from the database.
|
void |
buildTypeExternalIdChanged(SBuildType buildType,
java.lang.String oldExternalId,
java.lang.String newExternalId)
Called when the build configuration external id changed.
|
void |
buildTypeMoved(SBuildType buildType,
SProject original)
Called when build configuration is moved to another project.
|
void |
buildTypePersisted(SBuildType buildType)
Called when build type has been persisted.
|
void |
buildTypeRegistered(SBuildType buildType)
Called when build configuration is created or build configuration is reloaded from the disk
|
void |
buildTypeTemplateDeleted(BuildTypeTemplate template)
Called when build configuration template is deleted
|
void |
buildTypeTemplateDeleted(java.lang.String buildTypeTemplateId)
Called when build configuration template is deleted
|
void |
buildTypeTemplateExternalIdChanged(BuildTypeTemplate buildTypeTemplate,
java.lang.String oldExternalId,
java.lang.String newExternalId)
Called when build configuration template external id changed.
|
void |
buildTypeTemplatePersisted(BuildTypeTemplate buildTemplate)
Called when a build configuration template has been persisted.
|
void |
buildTypeTemplateRestored(BuildTypeTemplate buildTemplate)
Called when a build configuration template has been reloaded from disk.
|
void |
buildTypeUnregistered(SBuildType buildType)
Called when build configuration is deleted
|
void |
projectArchived(java.lang.String projectId)
Called when project has been archived
|
void |
projectCreated(java.lang.String projectId,
SUser user)
Generated when new project was created
|
void |
projectDearchived(java.lang.String projectId)
Called when project has been dearchived
|
void |
projectExternalIdChanged(SProject project,
java.lang.String oldExternalId,
java.lang.String newExternalId)
Called when project external id changed.
|
void |
projectFeatureAdded(SProject project,
SProjectFeatureDescriptor projectFeature)
Called when project feature was added
|
void |
projectFeatureChanged(SProject project,
SProjectFeatureDescriptor before,
SProjectFeatureDescriptor after)
Called when project feature was modified
|
void |
projectFeatureRemoved(SProject project,
SProjectFeatureDescriptor projectFeature)
Called when project feature was added
|
void |
projectMoved(SProject project,
SProject originalParentProject)
Called when project is moved to another parent project.
|
void |
projectPersisted(java.lang.String projectId)
Generated when project configuration persisted on a disk
|
void |
projectRemoved(SProject project)
Generated when project was removed
|
void |
projectRemoved(java.lang.String projectId)
Deprecated.
|
void |
projectRestored(java.lang.String projectId)
Generated when project configuration reloaded from disk
|
void |
vcsRootExternalIdChanged(SVcsRoot vcsRoot,
java.lang.String oldExternalId,
java.lang.String newExternalId)
Called when VCS root external id has ben changed.
|
void |
vcsRootPersisted(SVcsRoot vcsRoot)
Called when VCS root settings have been stored on disk
|
void |
vcsRootRemoved(SVcsRoot root)
Called when VCS root was removed
|
void |
vcsRootsPersisted()
Deprecated.
since 8.0, use
vcsRootPersisted(jetbrains.buildServer.vcs.SVcsRoot) instead |
void |
vcsRootUpdated(SVcsRoot oldVcsRoot,
SVcsRoot newVcsRoot)
Called when VCS root settings were changed
|
void buildTypeRegistered(@NotNull SBuildType buildType)
buildType
- registered build configurationvoid buildTypeUnregistered(@NotNull SBuildType buildType)
buildType
- unregistered build configurationvoid buildTypeMoved(@NotNull SBuildType buildType, @NotNull SProject original)
buildType
- build typeoriginal
- the original projectvoid buildTypeTemplateExternalIdChanged(@NotNull BuildTypeTemplate buildTypeTemplate, @NotNull java.lang.String oldExternalId, @NotNull java.lang.String newExternalId)
buildTypeTemplate
- the build configuration template which external identifier has changed.oldExternalId
- the previous external identifier.newExternalId
- the new external identifier.void buildTypeExternalIdChanged(@NotNull SBuildType buildType, @NotNull java.lang.String oldExternalId, @NotNull java.lang.String newExternalId)
buildType
- the build configuration which external identifier has changed.oldExternalId
- the previous external identifier.newExternalId
- the new external identifier.void projectMoved(@NotNull SProject project, @NotNull SProject originalParentProject)
project
- project that is movedoriginalParentProject
- original parent project of the moved projectvoid beforeBuildTypeDeleted(@NotNull java.lang.String buildTypeId)
buildTypeId
- id of build configurationvoid buildTypeDeleted(@NotNull java.lang.String buildTypeId)
buildTypeId
- id of build configurationvoid buildTypeTemplateDeleted(@NotNull java.lang.String buildTypeTemplateId)
buildTypeTemplateId
- id of build configuration templatevoid buildTypeTemplateDeleted(@NotNull BuildTypeTemplate template)
template
- deleted templatevoid buildTypeActiveStatusChanged(@NotNull SBuildType buildType)
buildType
- build configuration whose status has changedvoid projectCreated(@NotNull java.lang.String projectId, @Nullable SUser user)
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)void projectExternalIdChanged(@NotNull SProject project, @NotNull java.lang.String oldExternalId, @NotNull java.lang.String newExternalId)
project
- the project which external id has been changed.oldExternalId
- the old external id.newExternalId
- the new external id.@Deprecated void projectRemoved(@NotNull java.lang.String projectId)
projectRemoved(SProject)
projectId
- deleted project internal idvoid projectRemoved(@NotNull SProject project)
project
- deleted projectvoid projectPersisted(@NotNull java.lang.String projectId)
projectId
- internal id of the saved projectvoid projectRestored(@NotNull java.lang.String projectId)
projectId
- internal id of the reloaded projectvoid projectArchived(@NotNull java.lang.String projectId)
projectId
- internal id of archived projectvoid projectDearchived(@NotNull java.lang.String projectId)
projectId
- internal id of dearchived projectvoid buildTypeTemplatePersisted(@NotNull BuildTypeTemplate buildTemplate)
buildTemplate
- the just persisted template.void buildTypeTemplateRestored(@NotNull BuildTypeTemplate buildTemplate)
buildTemplate
- the just reloaded template.void buildTypePersisted(@NotNull SBuildType buildType)
buildType
- the just persisted build type.void vcsRootRemoved(@NotNull SVcsRoot root)
root
- vcs rootvoid vcsRootUpdated(@NotNull SVcsRoot oldVcsRoot, @NotNull SVcsRoot newVcsRoot)
oldVcsRoot
- old VCS rootnewVcsRoot
- new VCS rootvoid vcsRootExternalIdChanged(@NotNull SVcsRoot vcsRoot, @NotNull java.lang.String oldExternalId, @NotNull java.lang.String newExternalId)
vcsRoot
- the VCS root which external identifier has changed.oldExternalId
- the previous external identifier.newExternalId
- the new external identifier.void vcsRootPersisted(@NotNull SVcsRoot vcsRoot)
vcsRoot
- vcs root whose settings were persisted@Deprecated void vcsRootsPersisted()
vcsRootPersisted(jetbrains.buildServer.vcs.SVcsRoot)
insteadvoid projectFeatureAdded(@NotNull SProject project, @NotNull SProjectFeatureDescriptor projectFeature)
project
- affected projectprojectFeature
- added project featurevoid projectFeatureRemoved(@NotNull SProject project, @NotNull SProjectFeatureDescriptor projectFeature)
project
- affected projectprojectFeature
- removed project featurevoid projectFeatureChanged(@NotNull SProject project, @NotNull SProjectFeatureDescriptor before, @NotNull SProjectFeatureDescriptor after)
project
- affected projectbefore
- project feature before modificationafter
- project feature after modification