Class CompositeConfigChangesCommitter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.ConfigActionsServerAdapter
-
- jetbrains.buildServer.serverSide.impl.versionedSettings.ConfigChangesListener
-
- jetbrains.buildServer.serverSide.impl.versionedSettings.CompositeConfigChangesCommitter
-
- All Implemented Interfaces:
EventListener,ConfigActionsServerListener,ConfigChangesCommitter
public class CompositeConfigChangesCommitter extends ConfigChangesListener
-
-
Constructor Summary
Constructors Constructor Description CompositeConfigChangesCommitter(ConfigChangesListener perProjectChangesListener, ConfigChangesListener globalChangesListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExtension(ConfigCommitterExtension extension)voidafterProjectMove(ConfigAction cause, SProject project, SProject oldParent)voidbuildTypeExternalIdChanged(ConfigAction cause, SBuildType buildType, String oldExternalId, String newExternalId)voidbuildTypeTemplateExternalIdChanged(ConfigAction cause, BuildTypeTemplate buildTypeTemplate, String oldExternalId, String newExternalId)voiddeleteFile(SProject project, String pathFromProjectsDir, ConfigAction cause)Deletes file by the path from project's dirvoidonDelete(SProject project, SPersistentEntity entity, String path, ConfigAction cause)voidonDelete(SProject project, SPersistentEntity entity, String path, ConfigAction cause, VcsRootInstance settingsRoot, ProjectSettingsPaths projectSettingsPaths)voidonPersist(SProject project, SPersistentEntity entity, String path, InputStream data, ConfigAction cause)voidonPersist(SProject project, SPersistentEntity entity, String path, InputStream data, ConfigAction cause, VcsRootInstance settingsRoot, ProjectSettingsPaths projectSettingsPaths)voidonProjectRemove(ConfigAction cause, SProject project)voidonProjectRemove(ConfigAction cause, SProject project, VcsRootInstance settingsRoot, ProjectSettingsPaths projectSettingsPaths)voidpersistFile(SProject project, String pathFromProjectsDir, InputStream data, ConfigAction cause)Persists file using the path from the projects dirvoidprojectExternalIdChanged(ConfigAction cause, SProject project, String oldExtId, String newId)voidvcsRootExternalIdChanged(ConfigAction cause, SVcsRoot vcsRoot, String oldExternalId, String newExternalId)voidvcsRootPersisted(ConfigAction cause, SVcsRoot vcsRoot)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.ConfigChangesCommitter
removeExtension
-
-
-
-
Constructor Detail
-
CompositeConfigChangesCommitter
public CompositeConfigChangesCommitter(ConfigChangesListener perProjectChangesListener, ConfigChangesListener globalChangesListener)
-
-
Method Detail
-
vcsRootExternalIdChanged
public void vcsRootExternalIdChanged(@NotNull ConfigAction cause, @NotNull SVcsRoot vcsRoot, @NotNull String oldExternalId, @NotNull String newExternalId)- Specified by:
vcsRootExternalIdChangedin interfaceConfigActionsServerListener- Overrides:
vcsRootExternalIdChangedin classConfigActionsServerAdapter
-
buildTypeTemplateExternalIdChanged
public void buildTypeTemplateExternalIdChanged(@NotNull ConfigAction cause, @NotNull BuildTypeTemplate buildTypeTemplate, @NotNull String oldExternalId, @NotNull String newExternalId)- Specified by:
buildTypeTemplateExternalIdChangedin interfaceConfigActionsServerListener- Overrides:
buildTypeTemplateExternalIdChangedin classConfigActionsServerAdapter
-
buildTypeExternalIdChanged
public void buildTypeExternalIdChanged(@NotNull ConfigAction cause, @NotNull SBuildType buildType, @NotNull String oldExternalId, @NotNull String newExternalId)- Specified by:
buildTypeExternalIdChangedin interfaceConfigActionsServerListener- Overrides:
buildTypeExternalIdChangedin classConfigActionsServerAdapter
-
projectExternalIdChanged
public void projectExternalIdChanged(@NotNull ConfigAction cause, @NotNull SProject project, @NotNull String oldExtId, @NotNull String newId)- Specified by:
projectExternalIdChangedin interfaceConfigActionsServerListener- Overrides:
projectExternalIdChangedin classConfigActionsServerAdapter
-
afterProjectMove
public void afterProjectMove(@NotNull ConfigAction cause, @NotNull SProject project, @NotNull SProject oldParent)- Specified by:
afterProjectMovein interfaceConfigActionsServerListener- Overrides:
afterProjectMovein classConfigActionsServerAdapter
-
vcsRootPersisted
public void vcsRootPersisted(@NotNull ConfigAction cause, @NotNull SVcsRoot vcsRoot)- Specified by:
vcsRootPersistedin interfaceConfigActionsServerListener- Overrides:
vcsRootPersistedin classConfigActionsServerAdapter
-
onPersist
public void onPersist(@NotNull SProject project, @Nullable SPersistentEntity entity, @NotNull String path, @NotNull InputStream data, @NotNull ConfigAction cause)
-
onPersist
public void onPersist(@NotNull SProject project, @Nullable SPersistentEntity entity, @NotNull String path, @NotNull InputStream data, @NotNull ConfigAction cause, @Nullable VcsRootInstance settingsRoot, @Nullable ProjectSettingsPaths projectSettingsPaths)
-
onDelete
public void onDelete(@NotNull SProject project, @Nullable SPersistentEntity entity, @NotNull String path, @NotNull ConfigAction cause)
-
onDelete
public void onDelete(@NotNull SProject project, @Nullable SPersistentEntity entity, @NotNull String path, @NotNull ConfigAction cause, @Nullable VcsRootInstance settingsRoot, @Nullable ProjectSettingsPaths projectSettingsPaths)
-
onProjectRemove
public void onProjectRemove(@NotNull ConfigAction cause, @NotNull SProject project)
-
onProjectRemove
public void onProjectRemove(@NotNull ConfigAction cause, @NotNull SProject project, @Nullable VcsRootInstance settingsRoot, @Nullable ProjectSettingsPaths projectSettingsPaths)
-
persistFile
public void persistFile(@NotNull SProject project, @NotNull String pathFromProjectsDir, @NotNull InputStream data, @NotNull ConfigAction cause)Description copied from interface:ConfigChangesCommitterPersists file using the path from the projects dir- Parameters:
project- project which settings root should be usedpathFromProjectsDir- path to file from projects dirdata- contentcause- cause of the change
-
deleteFile
public void deleteFile(@NotNull SProject project, @NotNull String pathFromProjectsDir, @NotNull ConfigAction cause)Description copied from interface:ConfigChangesCommitterDeletes file by the path from project's dir- Parameters:
project- project which settings root should be usedpathFromProjectsDir- path to file from projects dircause- cause of the change
-
addExtension
public void addExtension(@NotNull ConfigCommitterExtension extension)
-
-