public final class StreamingTrait extends AnnotationTrait
Modifier and Type | Class and Description |
---|---|
static class |
StreamingTrait.Provider |
Constructor and Description |
---|
StreamingTrait() |
StreamingTrait(ObjectNode node) |
Modifier and Type | Method and Description |
---|---|
static boolean |
isEventStream(Model model,
MemberShape member)
Determines whether a given member targets an event stream.
|
static boolean |
isEventStream(Shape shape)
Determines whether a given shape is an event stream.
|
equals, getSourceLocation, hashCode, toNode, toShapeId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public StreamingTrait(ObjectNode node)
public StreamingTrait()
public static boolean isEventStream(Shape shape)
shape
- The shape to check.public static boolean isEventStream(Model model, MemberShape member)
model
- The model containing the member and its target.member
- The member whose target should be checked.