Features

case class Features[T <: Feature](activated: Map[T, FeatureSupport], unknown: Set[UnknownFeature])
Companion:
object
Source:
Features.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def areSupported(remoteFeatures: Features[T]): Boolean

NB: this method is not reflexive, see Features.areCompatible if you want symmetric validation.

NB: this method is not reflexive, see Features.areCompatible if you want symmetric validation.

Source:
Features.scala
def hasFeature(feature: T, support: Option[FeatureSupport]): Boolean
def hasPluginFeature(feature: UnknownFeature): Boolean
def isEmpty: Boolean
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Any
Source:
Features.scala

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product