Class ParentProjectOrderPersister
- java.lang.Object
-
- jetbrains.buildServer.serverSide.ConfigActionsServerAdapter
-
- jetbrains.buildServer.serverSide.impl.projects.ParentProjectOrderPersister
-
- All Implemented Interfaces:
EventListener
,ConfigActionsServerListener
public class ParentProjectOrderPersister extends ConfigActionsServerAdapter
Created by Andrey Titov on 3/10/15. Updates Project and Build Configuration External IDs for a Project containing custom ordering
-
-
Constructor Summary
Constructors Constructor Description ParentProjectOrderPersister(EventDispatcher<ConfigActionsServerListener> dispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildTypeExternalIdChanged(ConfigAction cause, SBuildType buildType, String oldExternalId, String newExternalId)
protected void
doPersistProject(SProject parentProject, ConfigAction cause)
void
projectExternalIdChanged(ConfigAction cause, SProject project, String oldExternalId, String newExternalId)
-
Methods inherited from class jetbrains.buildServer.serverSide.ConfigActionsServerAdapter
afterProjectMove, buildTypeTemplateExternalIdChanged, vcsRootExternalIdChanged, vcsRootPersisted
-
-
-
-
Constructor Detail
-
ParentProjectOrderPersister
public ParentProjectOrderPersister(@NotNull EventDispatcher<ConfigActionsServerListener> dispatcher)
-
-
Method Detail
-
projectExternalIdChanged
public void projectExternalIdChanged(@NotNull ConfigAction cause, @NotNull SProject project, @NotNull String oldExternalId, @NotNull String newExternalId)
- Specified by:
projectExternalIdChanged
in interfaceConfigActionsServerListener
- Overrides:
projectExternalIdChanged
in classConfigActionsServerAdapter
-
doPersistProject
protected void doPersistProject(SProject parentProject, ConfigAction cause)
-
buildTypeExternalIdChanged
public void buildTypeExternalIdChanged(@NotNull ConfigAction cause, @NotNull SBuildType buildType, @NotNull String oldExternalId, @NotNull String newExternalId)
- Specified by:
buildTypeExternalIdChanged
in interfaceConfigActionsServerListener
- Overrides:
buildTypeExternalIdChanged
in classConfigActionsServerAdapter
-
-