Package jetbrains.buildServer.serverSide
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancelCommit(String reason)
Cancels commit to versioned settings repositoryString
getCommitCancelReason()
Returns cancel commit reason if the commit was canceled or null if the change should be committed to VCSString
getDescription()
long
getId()
String
getProjectExternalId()
SUser
getUser()
String
getUserName(VcsRootInstance root)
-
-
-
Method Detail
-
getId
long getId()
-
getUserName
@NotNull String getUserName(@NotNull VcsRootInstance root)
-
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
-
-