Class ChannelsBuilders.ProjectContentChannelBuilder
java.lang.Object
ch.colabproject.colab.api.ws.channel.tool.ChannelsBuilders.ChannelsBuilder
ch.colabproject.colab.api.ws.channel.tool.ChannelsBuilders.ProjectContentChannelBuilder
- Enclosing class:
- ChannelsBuilders
public static class ChannelsBuilders.ProjectContentChannelBuilder
extends ChannelsBuilders.ChannelsBuilder
To build a project content channel
-
Constructor Summary
ConstructorsConstructorDescriptionProjectContentChannelBuilder(Project project) Create a builder for a project content channelProjectContentChannelBuilder(Long projectId) Create a builder for a project content channel -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<WebsocketChannel>build(UserDao userDao, TeamMemberDao teamDao, CardTypeDao cardTypeDao, ProjectDao projectDao) Determine the channels to use (internal implementation)Methods inherited from class ch.colabproject.colab.api.ws.channel.tool.ChannelsBuilders.ChannelsBuilder
computeChannels
-
Constructor Details
-
ProjectContentChannelBuilder
Create a builder for a project content channel- Parameters:
project- the project
-
ProjectContentChannelBuilder
Create a builder for a project content channel- Parameters:
projectId- id of the project
-
-
Method Details
-
build
protected Set<WebsocketChannel> build(UserDao userDao, TeamMemberDao teamDao, CardTypeDao cardTypeDao, ProjectDao projectDao) Description copied from class:ChannelsBuilders.ChannelsBuilderDetermine the channels to use (internal implementation)- Specified by:
buildin classChannelsBuilders.ChannelsBuilder- Parameters:
userDao- the dao to fetch usersteamDao- the dao to fetch the team memberscardTypeDao- the dao to fetch card typesprojectDao- the dao to fetch projects- Returns:
- all channels to use for propagation
-