Package jetbrains.buildServer.serverSide
Interface ConfigActionFactory
-
- All Known Subinterfaces:
ConfigActionFactoryEx
- All Known Implementing Classes:
ConfigActionFactoryImpl
public interface ConfigActionFactory
Factory for creatingConfigAction
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigAction
createAction()
Creates a config action with an empty description and the current authority holder as a user (SecurityContext.getAuthorityHolder()
).ConfigAction
createAction(String description)
Creates a config action with the specified description and the current authority holder as a user (SecurityContext.getAuthorityHolder()
).ConfigAction
createAction(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()
).ConfigAction
createAction(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
-
-