Package jetbrains.buildServer.serverSide
Interface ConfigAction
-
- All Superinterfaces:
jetbrains.buildServer.log.Loggable
public interface ConfigAction extends jetbrains.buildServer.log.Loggable
User or system action causing changes in TeamCity configuration files
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancelCommit(java.lang.String reason)
Cancels commit to versioned settings repositoryjava.lang.String
getCommitCancelReason()
Returns cancel commit reason if the commit was canceled or null if the change should be committed to VCSjava.lang.String
getDescription()
long
getId()
java.lang.String
getProjectExternalId()
SUser
getUser()
java.lang.String
getUserName(VcsRootInstance root)
-
-
-
Method Detail
-
getId
long getId()
-
getUserName
@NotNull java.lang.String getUserName(@NotNull VcsRootInstance root)
-
getDescription
@NotNull java.lang.String getDescription()
-
getProjectExternalId
@Nullable java.lang.String getProjectExternalId()
- Returns:
- external id of the related project
- Since:
- 2020.2
-
getUser
@Nullable SUser getUser()
-
cancelCommit
void cancelCommit(@NotNull java.lang.String reason)
Cancels commit to versioned settings repository- Parameters:
reason
- reason for cancel- Since:
- 10.0.2
-
getCommitCancelReason
@Nullable java.lang.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
-
-