trait Scannable extends AnyRef
Created by winarto on 17/6/17.
- Alphabetic
- By Inheritance
- Scannable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def jScannable: core.Scannable
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def actuals(): Stream[_ <: Scannable]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inners(): Stream[_ <: Scannable]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isScanAvailable: Boolean
-
def
name: String
Check this Scannable and its Scannable.parents() for a name an return the first one that is reachable.
Check this Scannable and its Scannable.parents() for a name an return the first one that is reachable.
- returns
the name of the first parent that has one defined (including this scannable)
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
operatorName: String
Check this Scannable and its Scannable.parents() for a name an return the first one that is reachable.
Check this Scannable and its Scannable.parents() for a name an return the first one that is reachable.
- returns
the name of the first parent that has one defined (including this scannable)
-
def
parents: Stream[_ <: Scannable]
Return a Stream navigating the org.reactivestreams.Subscription chain (upward).
Return a Stream navigating the org.reactivestreams.Subscription chain (upward).
- returns
a Stream navigating the org.reactivestreams.Subscription chain (upward)
-
def
scan[T](key: Attr[T]): Option[T]
Introspect a component's specific state attribute, returning an associated value specific to that component, or the default value associated with the key, or null if the attribute doesn't make sense for that particular component and has no sensible default.
Introspect a component's specific state attribute, returning an associated value specific to that component, or the default value associated with the key, or null if the attribute doesn't make sense for that particular component and has no sensible default.
- key
a Attr to resolve for the component.
- returns
a value associated to the key or None if unmatched or unresolved
-
def
scanOrDefault[T](key: Attr[T], defaultValue: T): T
Introspect a component's specific state attribute.
Introspect a component's specific state attribute. If there's no specific value in the component for that key, fall back to returning the provided non null default.
- key
a Attr to resolve for the component.
- defaultValue
a fallback value if key resolve to { @literal null}
- returns
a value associated to the key or the provided default if unmatched or unresolved
-
def
scanUnsafe(key: Attr[_]): Option[AnyRef]
This method is used internally by components to define their key-value mappings in a single place.
This method is used internally by components to define their key-value mappings in a single place. Although it is ignoring the generic type of the Attr key, implementors should take care to return values of the correct type, and return None if no specific value is available.
For public consumption of attributes, prefer using Scannable.scan(Attr), which will return a typed value and fall back to the key's default if the component didn't define any mapping.
- key
a { @link Attr} to resolve for the component.
- returns
the value associated to the key for that specific component, or null if none.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tags: Stream[(String, String)]
Visit this Scannable and its Scannable.parents() and stream all the observed tags
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )