Class CheckingForChangesScheduler

    • Method Detail

      • setTimeService

        public void setTimeService​(TimeService timeService)
      • changeAdded

        public void changeAdded​(@NotNull
                                VcsModification modification,
                                @NotNull
                                VcsRoot root,
                                @Nullable
                                Collection<SBuildType> buildTypes)
        Description copied from interface: BuildServerListener
        Called when a new modification (user commit) was detected. Vcs modification can be detected during periodical process of changes collecting (in this case buildTypes parameter is null) or during build(s) startup phase. In the latter case buildTypes parameter will contain collection of build configurations for which changes collection was performed.
        Specified by:
        changeAdded in interface BuildServerListener
        Overrides:
        changeAdded in class BuildServerAdapter
        Parameters:
        modification - detected VCS modification
        root - VCS root where modification was detected
        buildTypes - if changes were detected when a build starts collection of buildTypes where changes collection was performed
      • serverShutdown

        public void serverShutdown()
        Description copied from interface: ServerListener
        Called when server shutdown has been started. In addition, this method is called for a plugin before it is unloaded, may be used for releasing resources and cleanup.
        Specified by:
        serverShutdown in interface ServerListener
        Overrides:
        serverShutdown in class BuildServerAdapter
      • getCurrentStateFailed

        public void getCurrentStateFailed​(@NotNull
                                          VcsRootInstance instance)
      • getCurrentStateSuccessful

        public void getCurrentStateSuccessful​(@NotNull
                                              VcsRootInstance instance)