Packages

  • package root
    Definition Classes
    root
  • package domino

    Contains Domino, a lightweight Scala library for writing elegant OSGi bundle activators.

    Contains Domino, a lightweight Scala library for writing elegant OSGi bundle activators.

    For getting started, please see DominoActivator, the main entry point to the Domino DSL. Each sub package contains functionality for a specific part of the DSL.

    Definition Classes
    root
  • package scala_osgi_metatype

    Contains Scala interfaces, adapters and builders for easily building OSGi Metatype descriptions.

    Contains Scala interfaces, adapters and builders for easily building OSGi Metatype descriptions. OSGi Metatype descriptions are very well suited for quickly providing administration user interfaces.

    You probably want to check out the builders.

    Definition Classes
    domino
    Note

    I created totally new Scala interfaces and adapters instead of directly implementing the Java interfaces of the OSGi Metatype API in order to prevent name clashes and confusion about what method to call. Scala Swing does it the same way, I guess for the same reasons.

  • package interfaces

    Contains Scala traits which accurately model the facilities of the OSGi Metatype API.

    Contains Scala traits which accurately model the facilities of the OSGi Metatype API.

    Definition Classes
    scala_osgi_metatype
  • AttributeDefinition
  • ElementaryAttributeDefinition
  • ListAttributeDefinition
  • MetaTypeProvider
  • ObjectClassDefinition
  • Password
  • ValidationResult
t

domino.scala_osgi_metatype.interfaces

ElementaryAttributeDefinition

trait ElementaryAttributeDefinition[T] extends AttributeDefinition[T]

An interface to describe a attribute with a single value. Interface modeled after org.osgi.service.metatype.AttributeDefinition with a cardinality of 0.

Linear Supertypes
AttributeDefinition[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElementaryAttributeDefinition
  2. AttributeDefinition
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def defaultValue: Option[T]

    Returns a default for this attribute.

    Returns a default for this attribute.

    Definition Classes
    ElementaryAttributeDefinitionAttributeDefinition
  2. abstract def description: String

    Returns a description of this attribute.

    Returns a description of this attribute.

    Definition Classes
    AttributeDefinition
  3. abstract def id: String

    Unique identity for this attribute.

    Unique identity for this attribute.

    Definition Classes
    AttributeDefinition
  4. abstract def name: String

    Gets the name of the attribute.

    Gets the name of the attribute.

    Definition Classes
    AttributeDefinition
  5. abstract def options: Traversable[(String, T)]

    Return a list of possible option labels and values that this attribute can take or Nil.

    Return a list of possible option labels and values that this attribute can take or Nil.

    Definition Classes
    AttributeDefinition
  6. abstract def validate(value: T): ValidationResult

    Validates an attribute.

    Validates an attribute.

    Definition Classes
    AttributeDefinition
  7. abstract def valueType: Class[_]

    Returns the value class.

    Returns the value class.

    Definition Classes
    AttributeDefinition

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AttributeDefinition[T]

Inherited from AnyRef

Inherited from Any

Ungrouped