final case class Attributes(attributeList: List[Attribute] = Nil) extends Product with Serializable
Holds attributes which can be used to alter akka.stream.scaladsl.Flow / akka.stream.javadsl.Flow or akka.stream.scaladsl.GraphDSL / akka.stream.javadsl.GraphDSL materialization.
Note that more attributes for the ActorMaterializer are defined in ActorAttributes.
- Source
- Attributes.scala
- Alphabetic
- By Inheritance
- Attributes
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
def
and(other: Attribute): Attributes
Adds given attribute to the end of these attributes.
-
def
and(other: Attributes): Attributes
Adds given attributes to the end of these attributes.
- val attributeList: List[Attribute]
-
def
contains(attr: Attribute): Boolean
Test whether the given attribute is contained within this attributes list.
-
def
filtered[T <: Attribute](implicit arg0: ClassTag[T]): List[T]
Scala API: get all attributes of a given type (or subtypes thereof).
-
def
get[T <: Attribute](implicit arg0: ClassTag[T]): Option[T]
Scala API: Get the last (most specific) attribute of a given type parameter T
Class
or subclass thereof. -
def
get[T <: Attribute](default: T)(implicit arg0: ClassTag[T]): T
Scala API: Get the last (most specific) attribute of a given type parameter T
Class
or subclass thereof.Scala API: Get the last (most specific) attribute of a given type parameter T
Class
or subclass thereof. If no such attribute exists thedefault
value is returned. -
def
getAttribute[T <: Attribute](c: Class[T]): Optional[T]
Java API: Get the last (most specific) attribute of a given
Class
or subclass thereof. -
def
getAttribute[T <: Attribute](c: Class[T], default: T): T
Java API: Get the last (most specific) attribute of a given
Class
or subclass thereof.Java API: Get the last (most specific) attribute of a given
Class
or subclass thereof. If no such attribute exists thedefault
value is returned. -
def
getAttributeList[T <: Attribute](c: Class[T]): List[T]
Java API: Get all attributes of a given
Class
or subclass thereof. -
def
getAttributeList(): List[Attribute]
Java API
-
def
getFirst[T <: Attribute](implicit arg0: ClassTag[T]): Option[T]
Scala API: Get the first (least specific) attribute of a given type parameter T
Class
or subclass thereof. -
def
getFirst[T <: Attribute](default: T)(implicit arg0: ClassTag[T]): T
Scala API: Get the first (least specific) attribute of a given type parameter T
Class
or subclass thereof.Scala API: Get the first (least specific) attribute of a given type parameter T
Class
or subclass thereof. If no such attribute exists thedefault
value is returned. -
def
getFirstAttribute[T <: Attribute](c: Class[T]): Optional[T]
Java API: Get the first (least specific) attribute of a given
Class
or subclass thereof. -
def
getFirstAttribute[T <: Attribute](c: Class[T], default: T): T
Java API: Get the first (least specific) attribute of a given
Class
or subclass thereof.Java API: Get the first (least specific) attribute of a given
Class
or subclass thereof. If no such attribute exists thedefault
value is returned. -
def
nameLifted: Option[String]
Extracts Name attributes and concatenates them.
-
def
nameOrDefault(default: String = "unknown-operation"): String
INTERNAL API