Constructor and Description |
---|
AggregateFeed(String name)
Create a new AggregateFeed with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
addFeedChannel(FeedChannel feedChannel)
Add a feed channel to this aggregate feed.
|
boolean |
equals(Object that) |
Set<FeedChannel> |
getChannels()
Return the channels known to this aggregate.
|
String |
getName()
Return the name of this aggregate.
|
int |
hashCode() |
String |
toString() |
public AggregateFeed(String name)
name
- name of this aggregate feed (must not be blank)IllegalArgumentException
- if the given name
is blankpublic void addFeedChannel(FeedChannel feedChannel)
feedChannel
- the feed channel to add to this aggregate feed (must not be null)IllegalArgumentException
- if the given aggregateChannel
is null
public String getName()
public Set<FeedChannel> getChannels()
Copyright © 2016 Magnolia International Ltd.. All rights reserved.