Interface ConfigActionFactory

    • Method Detail

      • 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 interest
        description - 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 action
        project - project of interest
        description - config action description
        Returns:
        see above