Package sommeliers
SLSommelierCare #sleela 2.5 (lib/sommeliers/SLSommelierCare.sleela)
SLSommelierCare class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
offer | SLSommelierOffer offer | No description in source. |
profile | SLSommelierProfile profile | No description in source. |
consent | SLSommelierConsent consent | No description in source. |
feedback | SLSommelierFeedback feedback | No description in source. |
session | SLSommelierSession session | No description in source. |
plan | SLSommelierCarePlan plan | No description in source. |
locale | SLSommelierLocale locale | No description in source. |
client | SLSommelierFeedbackClient client | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | void initialize() | No description in source. |
offerSummary | String offerSummary() | No description in source. |
canSubmitFeedback | boolean canSubmitFeedback() | No description in source. |
submitCanonicalFeedback | int submitCanonicalFeedback(String symbol) | No description in source. |
revokeParticipation | void revokeParticipation() | No description in source. |
SLSommelierCareDemo #sleela 2.5 (lib/sommeliers/SLSommelierCareDemo.sleela)
SLSommelierCareDemo class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void main() | No description in source. |
SLSommelierCarePlan #sleela 2.5 (lib/sommeliers/SLSommelierCarePlan.sleela)
SLSommelierCarePlan class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
quietMode | boolean quietMode = true | No description in source. |
restReminderEnabled | boolean restReminderEnabled = false | No description in source. |
peerContactEnabled | boolean peerContactEnabled = false | No description in source. |
restReminderMinutes | int restReminderMinutes = 60 | No description in source. |
preferredPause | String preferredPause = "Take a voluntary pause when useful." | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
quiet | boolean quiet() | No description in source. |
remindersEnabled | boolean remindersEnabled() | No description in source. |
peerContactEnabledNow | boolean peerContactEnabledNow() | No description in source. |
reminderMinutes | int reminderMinutes() | No description in source. |
pauseText | String pauseText() | No description in source. |
setQuietMode | void setQuietMode(boolean value) | No description in source. |
enableRestReminder | void enableRestReminder(boolean value) | No description in source. |
enablePeerContact | void enablePeerContact(boolean value) | No description in source. |
setPreferredPause | void setPreferredPause(String value) | No description in source. |
setReminderMinutes | boolean setReminderMinutes(int value) | No description in source. |
guidance | String guidance() | No description in source. |
SLSommelierConsent #sleela 2.5 (lib/sommeliers/SLSommelierConsent.sleela)
SLSommelierConsent class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
feedbackAllowed | boolean feedbackAllowed = false | No description in source. |
profileSharingAllowed | boolean profileSharingAllowed = false | No description in source. |
sessionSharingAllowed | boolean sessionSharingAllowed = false | No description in source. |
researchUseAllowed | boolean researchUseAllowed = false | No description in source. |
consentRecorded | boolean consentRecorded = false | No description in source. |
consentVersion | String consentVersion = "1.0" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
canSendFeedback | boolean canSendFeedback() | No description in source. |
canShareProfile | boolean canShareProfile() | No description in source. |
canShareSession | boolean canShareSession() | No description in source. |
canUseForResearch | boolean canUseForResearch() | No description in source. |
isRecorded | boolean isRecorded() | No description in source. |
allowFeedback | void allowFeedback(boolean value) | No description in source. |
allowProfileSharing | void allowProfileSharing(boolean value) | No description in source. |
allowSessionSharing | void allowSessionSharing(boolean value) | No description in source. |
allowResearchUse | void allowResearchUse(boolean value) | No description in source. |
revokeAll | void revokeAll() | No description in source. |
isMinimalOptIn | boolean isMinimalOptIn() | No description in source. |
SLSommelierFeedback #sleela 2.5 (lib/sommeliers/SLSommelierFeedback.sleela)
SLSommelierFeedback class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
SYMBOL_GROUNDED | String SYMBOL_GROUNDED = "0" | No description in source. |
SYMBOL_FREE | String SYMBOL_FREE = "1" | No description in source. |
SYMBOL_REST | String SYMBOL_REST = "s" | No description in source. |
lastInput | String lastInput = "" | No description in source. |
lastSymbol | String lastSymbol = "" | No description in source. |
valid | boolean valid = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
groundedSymbol | String groundedSymbol() | No description in source. |
freeSymbol | String freeSymbol() | No description in source. |
restSymbol | String restSymbol() | No description in source. |
input | String input() | No description in source. |
symbol | String symbol() | No description in source. |
isValid | boolean isValid() | No description in source. |
isCanonical | boolean isCanonical(String value) | No description in source. |
meaning | String meaning(String value) | No description in source. |
acceptCanonical | boolean acceptCanonical(String value) | No description in source. |
clear | void clear() | No description in source. |
SLSommelierFeedbackClient #sleela 2.5 (lib/sommeliers/SLSommelierFeedbackClient.sleela)
SLSommelierFeedbackClient class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
host | String host = "127.0.0.1" | No description in source. |
port | int port = 4081 | No description in source. |
route | String route = "/feedback" | No description in source. |
STATUS_OK | int STATUS_OK = 0 | No description in source. |
STATUS_BRIDGE_REQUIRED | int STATUS_BRIDGE_REQUIRED = 100 | No description in source. |
STATUS_INVALID_INPUT | int STATUS_INVALID_INPUT = 101 | No description in source. |
lastStatus | int lastStatus = 100 | No description in source. |
lastResponse | String lastResponse = "" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
endpointHost | String endpointHost() | No description in source. |
endpointPort | int endpointPort() | No description in source. |
endpointRoute | String endpointRoute() | No description in source. |
status | int status() | No description in source. |
response | String response() | No description in source. |
configure | boolean configure(String address, int servicePort) | No description in source. |
validateResponse | boolean validateResponse(String value) | Validate the single-symbol vocabulary before crossing a future host bridge. |
send | int send(String value) | Honest placeholder: no socket operation is performed by this SLeeLa class. |
acceptResponse | boolean acceptResponse(String value) | No description in source. |
SLSommelierLocale #sleela 2.5 (lib/sommeliers/SLSommelierLocale.sleela)
SLSommelierLocale class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
languageTag | String languageTag = "en" | No description in source. |
regionTag | String regionTag = "" | No description in source. |
displayDirection | String displayDirection = "ltr" | No description in source. |
translationReviewed | boolean translationReviewed = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
language | String language() | No description in source. |
region | String region() | No description in source. |
direction | String direction() | No description in source. |
reviewed | boolean reviewed() | No description in source. |
setLanguage | boolean setLanguage(String value) | No description in source. |
setRegion | void setRegion(String value) | No description in source. |
setDirection | boolean setDirection(String value) | No description in source. |
markTranslationReviewed | void markTranslationReviewed(boolean value) | No description in source. |
SLSommelierOffer #sleela 2.5 (lib/sommeliers/SLSommelierOffer.sleela)
SLSommelierOffer class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
offerId | String offerId = "sommelier-open-001" | No description in source. |
title | String title = "Open Sommelier Create-Use" | No description in source. |
description | String description = "An open invitation to explore, create, share and rest." | No description in source. |
language | String language = "en" | No description in source. |
host | String host = "127.0.0.1" | No description in source. |
port | int port = 4081 | No description in source. |
open | boolean open = true | No description in source. |
consentRequired | boolean consentRequired = true | No description in source. |
publicByDefault | boolean publicByDefault = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getOfferId | String getOfferId() | No description in source. |
getTitle | String getTitle() | No description in source. |
getDescription | String getDescription() | No description in source. |
getLanguage | String getLanguage() | No description in source. |
getHost | String getHost() | No description in source. |
getPort | int getPort() | No description in source. |
isOpen | boolean isOpen() | No description in source. |
requiresConsent | boolean requiresConsent() | No description in source. |
isPublicByDefault | boolean isPublicByDefault() | No description in source. |
setOfferId | void setOfferId(String value) | No description in source. |
setTitle | void setTitle(String value) | No description in source. |
setDescription | void setDescription(String value) | No description in source. |
setLanguage | void setLanguage(String value) | No description in source. |
setOpen | void setOpen(boolean value) | No description in source. |
setConsentRequired | void setConsentRequired(boolean value) | No description in source. |
setPublicByDefault | void setPublicByDefault(boolean value) | No description in source. |
valid | boolean valid() | No description in source. |
summary | String summary() | No description in source. |
SLSommelierOfferRegistry #sleela 2.5 (lib/sommeliers/SLSommelierOfferRegistry.sleela)
SLSommelierOfferRegistry class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
CAPACITY | int CAPACITY = 12 | No description in source. |
count | int count = 0 | No description in source. |
id0 | String id0 = "" | No description in source. |
id1 | String id1 = "" | No description in source. |
id2 | String id2 = "" | No description in source. |
id3 | String id3 = "" | No description in source. |
id4 | String id4 = "" | No description in source. |
id5 | String id5 = "" | No description in source. |
id6 | String id6 = "" | No description in source. |
id7 | String id7 = "" | No description in source. |
id8 | String id8 = "" | No description in source. |
id9 | String id9 = "" | No description in source. |
id10 | String id10 = "" | No description in source. |
id11 | String id11 = "" | No description in source. |
lastError | String lastError = "" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
size | int size() | No description in source. |
error | String error() | No description in source. |
containsId | boolean containsId(String id) | No description in source. |
register | boolean register(String id) | No description in source. |
clear | void clear() | No description in source. |
SLSommelierProfile #sleela 2.5 (lib/sommeliers/SLSommelierProfile.sleela)
SLSommelierProfile class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
displayName | String displayName = "Sommelier" | No description in source. |
preferredLanguage | String preferredLanguage = "en" | No description in source. |
regionLabel | String regionLabel = "unspecified" | No description in source. |
displayNameShared | boolean displayNameShared = false | No description in source. |
regionShared | boolean regionShared = false | No description in source. |
profileComplete | boolean profileComplete = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
name | String name() | No description in source. |
language | String language() | No description in source. |
region | String region() | No description in source. |
sharesName | boolean sharesName() | No description in source. |
sharesRegion | boolean sharesRegion() | No description in source. |
setDisplayName | void setDisplayName(String value) | No description in source. |
setPreferredLanguage | void setPreferredLanguage(String value) | No description in source. |
setRegionLabel | void setRegionLabel(String value) | No description in source. |
shareName | void shareName(boolean value) | No description in source. |
shareRegion | void shareRegion(boolean value) | No description in source. |
valid | boolean valid() | No description in source. |
publicLabel | String publicLabel() | No description in source. |
SLSommelierSession #sleela 2.5 (lib/sommeliers/SLSommelierSession.sleela)
SLSommelierSession class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
STATE_NEW | int STATE_NEW = 0 | No description in source. |
STATE_READY | int STATE_READY = 1 | No description in source. |
STATE_ACTIVE | int STATE_ACTIVE = 2 | No description in source. |
STATE_CLOSED | int STATE_CLOSED = 3 | No description in source. |
state | int state = 0 | No description in source. |
sessionId | String sessionId = "" | No description in source. |
locale | String locale = "en" | No description in source. |
feedbackCount | int feedbackCount = 0 | No description in source. |
userInitiated | boolean userInitiated = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
currentState | int currentState() | No description in source. |
id | String id() | No description in source. |
language | String language() | No description in source. |
count | int count() | No description in source. |
initiatedByUser | boolean initiatedByUser() | No description in source. |
begin | boolean begin(String id, String language) | No description in source. |
start | boolean start() | No description in source. |
recordFeedback | boolean recordFeedback() | No description in source. |
close | void close() | No description in source. |
active | boolean active() | No description in source. |