trait Repository extends Component
Gives access to (local) Mantik objects.
- Alphabetic
- By Inheritance
- Repository
- Component
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- implicit abstract def akkaRuntime: AkkaRuntime
- Attributes
- protected
- Definition Classes
- Component
- abstract def byFileId(fileId: String): Future[Seq[MantikArtifact]]
Look for a mantik artifact by fileId.
Look for a mantik artifact by fileId. (In practive none or one artifact should be returned.
- abstract def ensureMantikId(id: ItemId, newName: NamedMantikId): Future[Boolean]
Tag an existing item with a new name.
Tag an existing item with a new name.
- returns
if the new tag was created or false if it was already existant. Throws if the item was not found.
- abstract def get(id: MantikId): Future[MantikArtifact]
Retrieves a Mantik artefact.
- abstract def list(alsoAnonymous: Boolean = false, deployedOnly: Boolean = false, kindFilter: Option[String] = None): Future[IndexedSeq[MantikArtifact]]
List Mantik Artifacts.
List Mantik Artifacts.
- alsoAnonymous
if true, also return anonymous artifacts who are not named
- deployedOnly
if true, only return deployed artifacts
- kindFilter
if set, filter for a specific kind.
- abstract def remove(id: MantikId): Future[Boolean]
Remove an artifact.
Remove an artifact. Returns true if it was found.
- abstract def setDeploymentInfo(itemId: ItemId, state: Option[DeploymentInfo]): Future[Boolean]
Update the deployment state.
Update the deployment state.
- itemId
item to update
- state
new deployment state, can be empty if not deployed
- returns
true if the item was found and updated.
- abstract def store(mantikArtefact: MantikArtifact): Future[Unit]
Stores a Mantik artefact.
- abstract def updateExecutorStorageId(itemId: ItemId, executorStorageId: Option[String]): Future[Boolean]
Update remote file id field.
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])