Creates a StreamEventBean object that is used to push items into the profile timeline


Methods

SignatureReturnsNotes
profile(ProfileBean profileBean)StreamEventBeanBuilderSet the profile that this event is for
profile(UserResource user)StreamEventBeanBuilderSet the profile and organisation that this event is for
profile(Profile profile)StreamEventBeanBuilder
entity(BaseEntity entity)StreamEventBeanBuilder
org(OrgData orgData)StreamEventBeanBuilderSets the Organisation this event belongs to
org(Organisation org)StreamEventBeanBuilderSets the Organisation this event belongs to
category(String category)StreamEventBeanBuilderSets the category for this event, should be one of the bootstrap contextual classes, ie muted, primary, etc
date(Date d)StreamEventBeanBuilderSets the date this event took place.
icon(String s)StreamEventBeanBuilderSets the icon to display for this item, should correspond to a font-awesome icon
desc(String s)StreamEventBeanBuildera short description of this event
path(String s)StreamEventBeanBuildera Path to link to this event
title(String s)StreamEventBeanBuildera Title of the event
repo(Repository s)StreamEventBeanBuilderSets the repository this event relates to
branch(Branch s)StreamEventBeanBuilderSets the branch this repository relates to
inbound(Boolean b)StreamEventBeanBuilderSets if this represents an action coming from the user to the server, otherwise is outbound, ie pushed from us to them
data(Map data)StreamEventBeanBuilderSets a map of data related to this event
build()StreamEventBeanBuilds the StreamEventBean and returns it.
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.