Package jetbrains.buildServer.serverSide
Interface ConfigActionFactory
-
- All Known Subinterfaces:
ConfigActionFactoryEx
- All Known Implementing Classes:
ConfigActionFactoryImpl
public interface ConfigActionFactoryFactory for creatingConfigActioninstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigActioncreateAction()Creates a config action with an empty description and the current authority holder as a user (SecurityContext.getAuthorityHolder()).ConfigActioncreateAction(String description)Creates a config action with the specified description and the current authority holder as a user (SecurityContext.getAuthorityHolder()).ConfigActioncreateAction(SProject project, String description)Creates a config action with the given description in the specified project and the current authority holder as a user (SecurityContext.getAuthorityHolder()).ConfigActioncreateAction(SUser user, SProject project, String description)Creates a config action with the given description in the specified project and the given user.
-
-
-
Method Detail
-
createAction
@NotNull ConfigAction createAction()
Creates a config action with an empty description and the current authority holder as a user (SecurityContext.getAuthorityHolder()).- Returns:
- see above
-
createAction
@NotNull ConfigAction createAction(@NotNull String description)
Creates a config action with the specified description and the current authority holder as a user (SecurityContext.getAuthorityHolder()).- Parameters:
description- config action description- Returns:
- see above
-
createAction
@NotNull ConfigAction createAction(@NotNull SProject project, @NotNull String description)
Creates a config action with the given description in the specified project and the current authority holder as a user (SecurityContext.getAuthorityHolder()).- Parameters:
project- project of interestdescription- config action description- Returns:
- see above
-
createAction
@NotNull ConfigAction createAction(@Nullable SUser user, @Nullable SProject project, @NotNull String description)
Creates a config action with the given description in the specified project and the given user.- Parameters:
user- user for config actionproject- project of interestdescription- config action description- Returns:
- see above
-
-