Packages

trait MantikItem extends AnyRef

A single Item inside the Planner API. Can represent data or algorithms. Can be serialized to JSON.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MantikItem
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type DefinitionType <: MantikDefinition
  2. abstract type OwnType <: MantikItem

Abstract Value Members

  1. abstract def withCore(updated: MantikItemCore[DefinitionType]): OwnType

    Override the current source type.

    Override the current source type.

    Attributes
    protected

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def isCached: Boolean

    Return true if the item is requested for caching (This doesn't have to mean that the cache is evaluated)

  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def itemId: ItemId

    Returns the ai.mantik.elements.ItemId of the item.

  13. def mantikId: MantikId

    Returns the mantik id.

    Returns the mantik id. (Note: if it was stored after generating, it may not reflect the name)

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def push(): PushAction

    Pushes an item to the registry.

  18. def save(): SaveAction

    Save an item back in the local database

  19. def state(implicit planningContext: PlanningContext): MantikItemState

    Returns the state of the item.

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def tag(name: NamedMantikId): OwnType

    Tag the item, giving it an additional name.

    Tag the item, giving it an additional name.

    Note: this will only have an effect, if the Item is saved or pushed.

    returns

    the tagged item.

  22. def toString(): String
    Definition Classes
    MantikItem → AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. def withMantikHeader(mantikHeader: MantikHeader[DefinitionType]): OwnType

    Override the mantik header (not this can be dangerous).

    Override the mantik header (not this can be dangerous).

    Attributes
    protected
  27. def withMetaValue[T](name: String, value: T)(implicit arg0: ValueEncoder[T]): OwnType

    Convenience function to udpate a single meta value.

    Convenience function to udpate a single meta value. Types are matched automatically if possible

    Annotations
    @throws("If a value is missing or of wrong type or not changeable.")
  28. def withMetaValues(values: (String, SingleElementBundle)*): OwnType

    Update Meta Variables.

    Update Meta Variables.

    Annotations
    @throws("If a value is missing or of wrong type or not changeable.")

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped