Searched refs:createCapability (Results 1 – 3 of 3) sorted by relevance
24 internal val ANNOTATION_IN_MEMORY = Annotation.createCapability("inMemory")25 internal val ANNOTATION_PERSISTENT = Annotation.createCapability("persistent")26 internal val ANNOTATION_REMOTE_PERSISTENT = Annotation.createCapability("remotePersistent")27 internal val ANNOTATION_ENCRYPTED = Annotation.createCapability("encrypted")
58 val persistent = Capabilities.fromAnnotation(Annotation.createCapability("persistent")) in testCapabilitiesFromAnnotationsPersistent()80 listOf(Annotation.createCapability("persistent"), Annotation.createTtl("30d")) in testCapabilitiesFromAnnotationsPersistentAndTtl()93 … listOf(Annotation.createCapability("encrypted"), Annotation.createCapability("queryable")) in testCapabilitiesFromAnnotationsQueryableAndEncrypted()104 … val tiedToRuntime = Capabilities.fromAnnotation(Annotation.createCapability("tiedToRuntime")) in testCapabilitiesFromAnnotationsTiedToRuntimeAndTtl()
51 fun createCapability(name: String) = Annotation(name) in createArcId() method