Class ConfigActionFactoryImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.ConfigActionFactoryImpl
-
- All Implemented Interfaces:
ConfigActionFactory,ConfigActionFactoryEx
public class ConfigActionFactoryImpl extends Object implements ConfigActionFactoryEx
-
-
Constructor Summary
Constructors Constructor Description ConfigActionFactoryImpl(SecurityContext securityContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigActionExcreateAction()Creates a config action with an empty description and the current authority holder as a user (SecurityContext.getAuthorityHolder()).ConfigActionExcreateAction(long actionId, Long userId, String projectExtId, String description)ConfigActionExcreateAction(String description)Creates a config action with the specified description and the current authority holder as a user (SecurityContext.getAuthorityHolder()).ConfigActionExcreateAction(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()).ConfigActionExcreateAction(SUser user, SProject project, String description)Creates a config action with the given description in the specified project and the given user.voidsetUserModel(UserModel users)
-
-
-
Constructor Detail
-
ConfigActionFactoryImpl
public ConfigActionFactoryImpl(@NotNull SecurityContext securityContext)
-
-
Method Detail
-
setUserModel
public void setUserModel(UserModel users)
-
createAction
@NotNull public ConfigActionEx createAction()
Description copied from interface:ConfigActionFactoryCreates a config action with an empty description and the current authority holder as a user (SecurityContext.getAuthorityHolder()).- Specified by:
createActionin interfaceConfigActionFactory- Specified by:
createActionin interfaceConfigActionFactoryEx- Returns:
- see above
-
createAction
@NotNull public ConfigActionEx createAction(@NotNull String description)
Description copied from interface:ConfigActionFactoryCreates a config action with the specified description and the current authority holder as a user (SecurityContext.getAuthorityHolder()).- Specified by:
createActionin interfaceConfigActionFactory- Specified by:
createActionin interfaceConfigActionFactoryEx- Parameters:
description- config action description- Returns:
- see above
-
createAction
@NotNull public ConfigActionEx createAction(@NotNull SProject project, @NotNull String description)
Description copied from interface:ConfigActionFactoryCreates a config action with the given description in the specified project and the current authority holder as a user (SecurityContext.getAuthorityHolder()).- Specified by:
createActionin interfaceConfigActionFactory- Specified by:
createActionin interfaceConfigActionFactoryEx- Parameters:
project- project of interestdescription- config action description- Returns:
- see above
-
createAction
@NotNull public ConfigActionEx createAction(@Nullable SUser user, @Nullable SProject project, @NotNull String description)
Description copied from interface:ConfigActionFactoryCreates a config action with the given description in the specified project and the given user.- Specified by:
createActionin interfaceConfigActionFactory- Specified by:
createActionin interfaceConfigActionFactoryEx- Parameters:
user- user for config actionproject- project of interestdescription- config action description- Returns:
- see above
-
createAction
@NotNull public ConfigActionEx createAction(long actionId, @Nullable Long userId, @Nullable String projectExtId, @NotNull String description)
- Specified by:
createActionin interfaceConfigActionFactoryEx
-
-