Interface ConfigAction

  • All Superinterfaces:
    Loggable
    All Known Subinterfaces:
    ConfigActionEx

    public interface ConfigAction
    extends Loggable
    User or system action causing changes in TeamCity configuration files
    • Method Detail

      • getId

        long getId()
      • getDescription

        @NotNull
        String getDescription()
      • getProjectExternalId

        @Nullable
        String getProjectExternalId()
        Returns:
        external id of the related project
        Since:
        2020.2
      • getUser

        @Nullable
        SUser getUser()
      • cancelCommit

        void cancelCommit​(@NotNull
                          String reason)
        Cancels commit to versioned settings repository
        Parameters:
        reason - reason for cancel
        Since:
        10.0.2
      • getCommitCancelReason

        @Nullable
        String getCommitCancelReason()
        Returns cancel commit reason if the commit was canceled or null if the change should be committed to VCS
        Returns:
        see above
        Since:
        10.0.2