public final class Feed extends Entity
Note that the feed does not have a dedicated blueprint type (i.e. data required to create a new feed
in some context), because the only data needed to create a new feed is its ID, which can easily be modelled
by a String.
| Modifier and Type | Class and Description |
|---|---|
static class |
Feed.Blueprint |
| Modifier and Type | Field and Description |
|---|---|
static SegmentType |
SEGMENT_TYPE |
properties| Constructor and Description |
|---|
Feed(CanonicalPath path) |
Feed(CanonicalPath path,
Map<String,Object> properties) |
Feed(String name,
CanonicalPath path) |
Feed(String name,
CanonicalPath path,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(ElementVisitor<R,P> visitor,
P parameter)
Accepts the provided visitor.
|
appendToString, entityTypeFromSegmentType, getName, toString, typeFromSegmentTypeequals, getId, getPath, getProperties, hashCode, segmentTypeFromType, toElementClasspublic static final SegmentType SEGMENT_TYPE
public Feed(CanonicalPath path)
public Feed(String name, CanonicalPath path)
public Feed(CanonicalPath path, Map<String,Object> properties)
public Feed(String name, CanonicalPath path, Map<String,Object> properties)
public <R,P> R accept(ElementVisitor<R,P> visitor, P parameter)
AbstractElementaccept in class AbstractElementR - the return typeP - the type of the parametervisitor - the visitor to visit this entityparameter - the parameter to pass on to the visitorCopyright © 2014–2017 Red Hat, Inc.. All rights reserved.