Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AccessToken - Class in com.developer.nefarious.zjoule.plugin.models
-
Represents an OAuth2 access token along with its metadata and expiration details.
- AccessToken() - Constructor for class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Default constructor that initializes the
receivedAt
field to the current time. - Activator - Class in com.developer.nefarious.zjoule.plugin.core
-
The activator class controls the plug-in lifecycle for the zJoule plugin.
- Activator() - Constructor for class com.developer.nefarious.zjoule.plugin.core.Activator
-
The default constructor for the
Activator
. - addPages() - Method in class com.developer.nefarious.zjoule.plugin.login.LoginWizard
-
Adds the wizard pages to the login process.
- AIClientFactory - Class in com.developer.nefarious.zjoule.plugin.chat
-
A factory class responsible for creating instances of
IAIClient
. - ASSISTANT - Enum constant in enum class com.developer.nefarious.zjoule.plugin.models.Role
-
Represents an assistant role.
- AuthClient - Class in com.developer.nefarious.zjoule.plugin.auth
-
The
AuthClient
class provides functionality to authenticate with a service and retrieve access tokens. - AuthClient(IMemoryObject<AccessToken>, IMemoryObject<ServiceKey>, IAuthClientHelper) - Constructor for class com.developer.nefarious.zjoule.plugin.auth.AuthClient
-
Constructs an
AuthClient
instance with the given dependencies. - AuthClientHelper - Class in com.developer.nefarious.zjoule.plugin.auth
-
A helper class for the
AuthClient
that provides utility methods for constructing HTTP requests, parsing responses, and managing URI conversions. - AuthClientHelper() - Constructor for class com.developer.nefarious.zjoule.plugin.auth.AuthClientHelper
-
Constructs a new
AuthClientHelper
instance and initializes aGson
instance.
B
- BrowserFactory - Class in com.developer.nefarious.zjoule.plugin.core.ui
-
Factory class for creating
Browser
instances in an SWT application. - build() - Method in interface com.developer.nefarious.zjoule.plugin.core.ui.IViewRender
-
Builds the HTML content for the view.
- build() - Method in class com.developer.nefarious.zjoule.plugin.core.ui.ViewRender
-
Builds the HTML content for the view.
C
- chatCompletion(List<IChatMessage>) - Method in interface com.developer.nefarious.zjoule.plugin.chat.IAIClient
-
Sends a list of chat messages to the AI model and retrieves the AI-generated response.
- chatCompletion(List<IChatMessage>) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIClient
-
Sends a chat completion request to the OpenAI service and retrieves the AI-generated response.
- ChatOrchestrator - Class in com.developer.nefarious.zjoule.plugin.chat
-
Orchestrates the chat process by interacting with the AI client to retrieve answers based on user prompts and active editor content.
- ChatOrchestrator() - Constructor for class com.developer.nefarious.zjoule.plugin.chat.ChatOrchestrator
- Choice() - Constructor for class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Choice
- clear() - Method in interface com.developer.nefarious.zjoule.plugin.chat.memory.IMemoryMessageHistory
-
Clears the stored chat message history from memory.
- clear() - Method in class com.developer.nefarious.zjoule.plugin.chat.memory.MemoryMessageHistory
-
Clears the stored chat message history from memory.
- clearAll() - Method in class com.developer.nefarious.zjoule.plugin.memory.EclipseMemory
-
Clears all key-value pairs from Eclipse's preferences storage.
- clearAll() - Method in interface com.developer.nefarious.zjoule.plugin.memory.IEclipseMemory
-
Clears all key-value pairs from Eclipse's preferences storage.
- ClearHandler - Class in com.developer.nefarious.zjoule.plugin.core.functions
-
Handles the "Clear Chat" action in the application.
- com.developer.nefarious.zjoule.plugin.auth - package com.developer.nefarious.zjoule.plugin.auth
- com.developer.nefarious.zjoule.plugin.chat - package com.developer.nefarious.zjoule.plugin.chat
- com.developer.nefarious.zjoule.plugin.chat.memory - package com.developer.nefarious.zjoule.plugin.chat.memory
- com.developer.nefarious.zjoule.plugin.chat.models - package com.developer.nefarious.zjoule.plugin.chat.models
- com.developer.nefarious.zjoule.plugin.chat.openai - package com.developer.nefarious.zjoule.plugin.chat.openai
- com.developer.nefarious.zjoule.plugin.chat.utils - package com.developer.nefarious.zjoule.plugin.chat.utils
- com.developer.nefarious.zjoule.plugin.core - package com.developer.nefarious.zjoule.plugin.core
- com.developer.nefarious.zjoule.plugin.core.events - package com.developer.nefarious.zjoule.plugin.core.events
- com.developer.nefarious.zjoule.plugin.core.functions - package com.developer.nefarious.zjoule.plugin.core.functions
- com.developer.nefarious.zjoule.plugin.core.ui - package com.developer.nefarious.zjoule.plugin.core.ui
- com.developer.nefarious.zjoule.plugin.login - package com.developer.nefarious.zjoule.plugin.login
- com.developer.nefarious.zjoule.plugin.login.api - package com.developer.nefarious.zjoule.plugin.login.api
- com.developer.nefarious.zjoule.plugin.login.events - package com.developer.nefarious.zjoule.plugin.login.events
- com.developer.nefarious.zjoule.plugin.login.memory - package com.developer.nefarious.zjoule.plugin.login.memory
- com.developer.nefarious.zjoule.plugin.login.pages - package com.developer.nefarious.zjoule.plugin.login.pages
- com.developer.nefarious.zjoule.plugin.login.utils - package com.developer.nefarious.zjoule.plugin.login.utils
- com.developer.nefarious.zjoule.plugin.memory - package com.developer.nefarious.zjoule.plugin.memory
- com.developer.nefarious.zjoule.plugin.memory.utils - package com.developer.nefarious.zjoule.plugin.memory.utils
- com.developer.nefarious.zjoule.plugin.models - package com.developer.nefarious.zjoule.plugin.models
- convertEndpointStringToURI(String) - Method in class com.developer.nefarious.zjoule.plugin.auth.AuthClientHelper
-
Converts a token endpoint URL string into a
URI
object. - convertEndpointStringToURI(String) - Method in interface com.developer.nefarious.zjoule.plugin.auth.IAuthClientHelper
-
Converts a token endpoint URL string into a
URI
object. - convertResponseToObject(String) - Method in class com.developer.nefarious.zjoule.plugin.auth.AuthClientHelper
-
Converts a JSON response body into an
AccessToken
object. - convertResponseToObject(String) - Method in interface com.developer.nefarious.zjoule.plugin.auth.IAuthClientHelper
-
Converts a JSON response body into an
AccessToken
object. - convertResponseToObject(String) - Method in interface com.developer.nefarious.zjoule.plugin.chat.openai.IOpenAIClientHelper
-
Converts a serialized JSON response body from the OpenAI service into an
IChatMessage
. - convertResponseToObject(String) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIClientHelper
-
Converts a serialized JSON response body from the OpenAI service into an
IChatMessage
. - create() - Static method in class com.developer.nefarious.zjoule.plugin.core.ui.ViewRender
-
Factory method to create a new
ViewRender
instance. - create(Browser) - Static method in class com.developer.nefarious.zjoule.plugin.core.events.PartListener
-
Factory method to create a
PartListener
instance. - create(Browser) - Static method in class com.developer.nefarious.zjoule.plugin.core.events.SelectionListener
-
Factory method to create a
SelectionListener
instance. - create(Browser) - Static method in class com.developer.nefarious.zjoule.plugin.core.functions.ClearHandler
-
Factory method to create a new
ClearHandler
instance. - create(Browser) - Static method in class com.developer.nefarious.zjoule.plugin.core.functions.LogoutHandler
-
Factory method to create a new
LogoutHandler
instance. - create(Browser, String) - Static method in class com.developer.nefarious.zjoule.plugin.core.functions.PromptHandler
-
Factory method to create a new
PromptHandler
instance. - create(Composite, int) - Static method in class com.developer.nefarious.zjoule.plugin.core.ui.BrowserFactory
-
Creates a new
Browser
instance with the specified parent and style. - create(Shell, Browser) - Static method in class com.developer.nefarious.zjoule.plugin.core.functions.LoginHandler
-
Factory method to create a new
LoginHandler
instance. - createAuthUri(String) - Method in interface com.developer.nefarious.zjoule.plugin.login.api.ILoginClientHelper
-
Creates a URI for the given API endpoint.
- createAuthUri(String) - Method in class com.developer.nefarious.zjoule.plugin.login.api.LoginClientHelper
-
Creates a URI for the given API endpoint.
- createControl(Composite) - Method in class com.developer.nefarious.zjoule.plugin.login.pages.FirstLoginWizardPage
-
Creates the UI controls for this wizard page.
- createControl(Composite) - Method in class com.developer.nefarious.zjoule.plugin.login.pages.SecondLoginWizardPage
-
Creates the UI controls for this wizard page.
- createMessage(Role, String) - Method in interface com.developer.nefarious.zjoule.plugin.chat.IAIClient
-
Creates a new chat message with the specified role and content.
- createMessage(Role, String) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIClient
-
Creates a chat message with the specified role and content.
- createPartControl(Composite) - Method in class com.developer.nefarious.zjoule.plugin.core.ui.ViewListener
-
Creates the view's controls, including the browser and toolbar.
- createRequestBody(String, String) - Method in class com.developer.nefarious.zjoule.plugin.auth.AuthClientHelper
-
Creates a request body for a client credentials grant type.
- createRequestBody(String, String) - Method in interface com.developer.nefarious.zjoule.plugin.auth.IAuthClientHelper
-
Creates a request body for a client credentials grant type.
- createRequestBody(List<IChatMessage>) - Method in interface com.developer.nefarious.zjoule.plugin.chat.openai.IOpenAIClientHelper
-
Creates an HTTP request body for a chat completion request to the OpenAI service.
- createRequestBody(List<IChatMessage>) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIClientHelper
-
Creates an HTTP request body for a chat completion request to the OpenAI service.
D
- deleteFromEclipsePreferences(String) - Method in class com.developer.nefarious.zjoule.plugin.memory.EclipseMemory
-
Deletes the specified key-value pair from Eclipse's preferences storage.
- deleteFromEclipsePreferences(String) - Method in interface com.developer.nefarious.zjoule.plugin.memory.IEclipseMemory
-
Deletes the specified key-value pair from Eclipse's preferences storage.
- Deployment - Class in com.developer.nefarious.zjoule.plugin.models
-
Represents detailed information about a deployment in a backend system.
- Deployment() - Constructor for class com.developer.nefarious.zjoule.plugin.models.Deployment
- DeploymentSelectionAdapter - Class in com.developer.nefarious.zjoule.plugin.login.events
-
Handles selection events for the deployment dropdown in the second page of the login wizard.
- DeploymentSelectionAdapter(SecondLoginWizardPage, IMemoryObject<Deployment>) - Constructor for class com.developer.nefarious.zjoule.plugin.login.events.DeploymentSelectionAdapter
-
Constructs a new
DeploymentSelectionAdapter
. - deserialize(String, Class<T>) - Method in interface com.developer.nefarious.zjoule.plugin.memory.utils.IObjectSerializer
-
Deserializes a JSON string into an object of the specified class type.
- deserialize(String, Class<T>) - Method in class com.developer.nefarious.zjoule.plugin.memory.utils.ObjectSerializer
-
Deserializes a JSON string into an object of the specified class type.
- dispose() - Method in class com.developer.nefarious.zjoule.plugin.core.ui.ViewListener
-
Disposes of the view and its associated resources, including listeners and the browser.
E
- EclipseMemory - Class in com.developer.nefarious.zjoule.plugin.memory
-
Manages interactions with Eclipse's preference storage system.
- EclipseMemory() - Constructor for class com.developer.nefarious.zjoule.plugin.memory.EclipseMemory
-
Constructs a new
EclipseMemory
instance. - EditorContentReader - Class in com.developer.nefarious.zjoule.plugin.chat.utils
-
Utility class for reading content and metadata from the active editor in the Eclipse IDE.
- extractResourceGroupIds(GetResourceGroupsResponse) - Static method in class com.developer.nefarious.zjoule.plugin.login.utils.ResourceGroupIdExtractor
-
Extracts a list of resource group IDs from the given
GetResourceGroupsResponse
.
F
- FirstLoginWizardPage - Class in com.developer.nefarious.zjoule.plugin.login.pages
-
Represents the first page of the login wizard where the user provides SAP AI Core credentials.
- FirstLoginWizardPage(ILoginClient) - Constructor for class com.developer.nefarious.zjoule.plugin.login.pages.FirstLoginWizardPage
-
Constructs a new
FirstLoginWizardPage
. - FREQUENCY_PENALTY - Static variable in interface com.developer.nefarious.zjoule.plugin.chat.openai.IOpenAIClientHelper
-
The frequency penalty parameter for discouraging repeated phrases.
- function(Object[]) - Method in class com.developer.nefarious.zjoule.plugin.core.functions.PromptHandler
-
Handles the JavaScript function call from the browser.
G
- getAccessToken() - Method in class com.developer.nefarious.zjoule.plugin.auth.AuthClient
-
Retrieves the current access token.
- getAccessToken() - Method in interface com.developer.nefarious.zjoule.plugin.auth.IAuthClient
-
Retrieves the current access token.
- getAccessToken() - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Retrieves the access token string.
- getActiveEditorFileName() - Static method in class com.developer.nefarious.zjoule.plugin.chat.utils.EditorContentReader
-
Retrieves the name of the file currently open in the active editor.
- getAnswer(String) - Method in class com.developer.nefarious.zjoule.plugin.chat.ChatOrchestrator
-
Generates an AI response for the given user prompt by performing the following steps: Determining which AI client to use. Fetching the chat message history from the client. Retrieving the content of the active editor window as context. Creating system and user messages for the AI. Obtaining the response from the AI client via a chat completion request. Saving the updated chat history back to the AI client. Returning the response message as a string.
- getAnswer(String) - Method in interface com.developer.nefarious.zjoule.plugin.chat.IChatOrchestrator
-
Generates an AI response for the given user prompt by performing the following steps: Determining which AI client to use. Fetching the chat message history from the client. Retrieving the content of the active editor window as context. Creating system and user messages for the AI. Obtaining the response from the AI client via a chat completion request. Saving the updated chat history back to the AI client. Returning the response message as a string.
- getChoices() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Retrieves the list of choices returned by the OpenAI API.
- getClient() - Static method in class com.developer.nefarious.zjoule.plugin.chat.AIClientFactory
-
Creates and returns an appropriate implementation of
IAIClient
based on the deployment's model name. - getClientId() - Method in class com.developer.nefarious.zjoule.plugin.models.ServiceKey
-
Retrieves the client ID for authentication.
- getClientSecret() - Method in class com.developer.nefarious.zjoule.plugin.models.ServiceKey
-
Retrieves the client secret for authentication.
- getCompletionTokens() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Usage
-
Retrieves the number of tokens used for the completion.
- getConfigurationId() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getConfigurationName() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getContent() - Method in class com.developer.nefarious.zjoule.plugin.chat.models.Message
-
Retrieves the content of the message.
- getContent() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIChatMessage
-
Retrieves the content of the message.
- getCount() - Method in class com.developer.nefarious.zjoule.plugin.login.api.GetDeploymentsResponse
-
Retrieves the total count of deployments.
- getCount() - Method in class com.developer.nefarious.zjoule.plugin.login.api.GetResourceGroupsResponse
-
Retrieves the total count of resource groups.
- getCreated() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Retrieves the timestamp when the response was created.
- getCreatedAt() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getCreatedAt() - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Retrieves the creation timestamp of the resource group.
- getDefault() - Static method in class com.developer.nefarious.zjoule.plugin.core.Activator
-
Returns the shared instance of the
Activator
. - getDeploymentDropdown() - Method in class com.developer.nefarious.zjoule.plugin.login.pages.SecondLoginWizardPage
-
Retrieves the deployment dropdown widget.
- getDeployments() - Method in class com.developer.nefarious.zjoule.plugin.login.api.GetDeploymentsResponse
-
Retrieves the list of deployments.
- getDeployments(ServiceKey, String) - Method in interface com.developer.nefarious.zjoule.plugin.login.api.ILoginClient
-
Retrieves a list of deployments from the SAP AI Core API.
- getDeployments(ServiceKey, String) - Method in class com.developer.nefarious.zjoule.plugin.login.api.LoginClient
-
Retrieves a list of deployments from the SAP AI Core API.
- getDeploymentsForSelection() - Method in class com.developer.nefarious.zjoule.plugin.login.pages.SecondLoginWizardPage
-
Retrieves the list of deployments available for selection.
- GetDeploymentsResponse - Class in com.developer.nefarious.zjoule.plugin.login.api
-
Represents the response from an API call that retrieves a list of deployments.
- GetDeploymentsResponse() - Constructor for class com.developer.nefarious.zjoule.plugin.login.api.GetDeploymentsResponse
- getDeploymentUrl() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getDetails() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getEclipsePreferences() - Static method in class com.developer.nefarious.zjoule.plugin.memory.EclipseMemory
-
Retrieves the global Eclipse preferences for the plugin.
- getExpiresIn() - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Retrieves the expiration time in seconds.
- getFinishReason() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Choice
-
Retrieves the reason why the response generation finished.
- getFrequencyPenalty() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Retrieves the frequency penalty applied to the response.
- getId() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Retrieves the unique identifier for the response.
- getId() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getIndex() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Choice
-
Retrieves the index of this choice in the response.
- getInputText() - Method in class com.developer.nefarious.zjoule.plugin.login.pages.FirstLoginWizardPage
-
Retrieves the text entered by the user in the input field.
- getInstance() - Static method in class com.developer.nefarious.zjoule.plugin.chat.memory.MemoryMessageHistory
-
Retrieves the singleton instance of
MemoryMessageHistory
. - getInstance() - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryAccessToken
-
Retrieves the singleton instance of
TemporaryMemoryAccessToken
. - getInstance() - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryDeployment
-
Retrieves the singleton instance of
TemporaryMemoryDeployment
. - getInstance() - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryResourceGroup
-
Retrieves the singleton instance of
TemporaryMemoryResourceGroup
. - getInstance() - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryServiceKey
-
Retrieves the singleton instance of
TemporaryMemoryServiceKey
. - getInstance() - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryAccessToken
-
Retrieves the singleton instance of
MemoryAccessToken
. - getInstance() - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryDeployment
-
Retrieves the singleton instance of
MemoryDeployment
. - getInstance() - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryResourceGroup
-
Retrieves the singleton instance of
MemoryResourceGroup
. - getInstance() - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryServiceKey
-
Retrieves the singleton instance of
MemoryServiceKey
. - getInstance() - Static method in class com.developer.nefarious.zjoule.plugin.memory.utils.ObjectSerializer
-
Retrieves the singleton instance of
ObjectSerializer
. - getJti() - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Retrieves the unique token identifier.
- getLabels() - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Retrieves the labels associated with the resource group.
- getLastOperation() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getLatestRunningConfigurationId() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getMaxTokens() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Retrieves the maximum number of tokens allowed in the response.
- getMessage() - Method in interface com.developer.nefarious.zjoule.plugin.chat.IChatMessage
-
Retrieves the content of the chat message.
- getMessage() - Static method in class com.developer.nefarious.zjoule.plugin.chat.Instruction
-
Retrieves the predefined system message text.
- getMessage() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIChatMessage
-
Retrieves the message content.
- getMessage() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Choice
-
Retrieves the message generated by the OpenAI model for this choice.
- getMessageHistory() - Method in interface com.developer.nefarious.zjoule.plugin.chat.IAIClient
-
Retrieves the chat message history.
- getMessageHistory() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIClient
-
Retrieves the chat message history stored in memory.
- getMessages() - Method in class com.developer.nefarious.zjoule.plugin.chat.models.MessageHistory
-
Retrieves the list of messages in the chat history.
- getMessages() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Retrieves the list of chat messages in the request.
- getModel() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Retrieves the model used to generate the response.
- getModelName() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
-
Retrieves the name of the model associated with this deployment.
- getModifiedAt() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getNewAccessToken() - Method in class com.developer.nefarious.zjoule.plugin.auth.AuthClient
-
Retrieves a new access token using the stored service key.
- getNewAccessToken() - Method in interface com.developer.nefarious.zjoule.plugin.auth.IAuthClient
-
Retrieves a new access token using the stored service key.
- getNewAccessToken(ServiceKey) - Method in class com.developer.nefarious.zjoule.plugin.auth.AuthClient
-
Retrieves a new access token using the provided service key.
- getNewAccessToken(ServiceKey) - Method in interface com.developer.nefarious.zjoule.plugin.auth.IAuthClient
-
Retrieves a new access token using the provided service key.
- getObject() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Retrieves the object type of the response.
- getPresencePenalty() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Retrieves the presence penalty applied to the response.
- getPromptTokens() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Usage
-
Retrieves the number of tokens used for the prompt.
- getReceivedAt() - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Retrieves the time the token was received.
- getResourceContent(String) - Method in interface com.developer.nefarious.zjoule.plugin.core.ui.IViewRender
-
Reads the content of a resource file located in the plugin's bundle.
- getResourceContent(String) - Method in class com.developer.nefarious.zjoule.plugin.core.ui.ViewRender
-
Reads the content of a resource file located in the plugin's bundle.
- getResourceGroupDropdown() - Method in class com.developer.nefarious.zjoule.plugin.login.pages.SecondLoginWizardPage
-
Retrieves the resource group dropdown widget.
- getResourceGroupId() - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Retrieves the unique identifier of the resource group.
- getResourceGroups() - Method in class com.developer.nefarious.zjoule.plugin.login.api.GetResourceGroupsResponse
-
Retrieves the list of resource groups.
- getResourceGroups(ServiceKey) - Method in interface com.developer.nefarious.zjoule.plugin.login.api.ILoginClient
-
Retrieves a list of resource groups from the SAP AI Core API.
- getResourceGroups(ServiceKey) - Method in class com.developer.nefarious.zjoule.plugin.login.api.LoginClient
-
Retrieves a list of resource groups from the SAP AI Core API.
- GetResourceGroupsResponse - Class in com.developer.nefarious.zjoule.plugin.login.api
-
Represents the response from an API call that retrieves a list of resource groups.
- GetResourceGroupsResponse() - Constructor for class com.developer.nefarious.zjoule.plugin.login.api.GetResourceGroupsResponse
- getRole() - Method in interface com.developer.nefarious.zjoule.plugin.chat.IChatMessage
-
Retrieves the role associated with the message.
- getRole() - Method in class com.developer.nefarious.zjoule.plugin.chat.models.Message
-
Retrieves the role of the message.
- getRole() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIChatMessage
-
Retrieves the role associated with the message.
- getScenarioId() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getScope() - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Retrieves the scope of the token.
- getServiceKey() - Method in class com.developer.nefarious.zjoule.plugin.login.pages.FirstLoginWizardPage
-
Retrieves the
ServiceKey
parsed from the user input. - getServiceKey() - Method in class com.developer.nefarious.zjoule.plugin.login.pages.SecondLoginWizardPage
-
Retrieves the
ServiceKey
from the first wizard page. - getServiceUrl() - Method in class com.developer.nefarious.zjoule.plugin.auth.AuthClient
-
Retrieves the service URL from the stored service key.
- getServiceUrl() - Method in interface com.developer.nefarious.zjoule.plugin.auth.IAuthClient
-
Retrieves the service URL from the stored service key.
- getServiceURL() - Method in class com.developer.nefarious.zjoule.plugin.models.ServiceKey
-
Retrieves the API service URL, formatted with a version suffix.
- getStartTime() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getStatus() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getStatus() - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Retrieves the current status of the resource group.
- getStatusMessage() - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Retrieves the status message providing additional information.
- getStop() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Retrieves the stop sequence used to terminate the AI's response.
- getSubmissionTime() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getTargetStatus() - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- getTemperature() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Retrieves the temperature parameter for the AI's response.
- getTenantId() - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Retrieves the tenant ID associated with the resource group.
- getTokenType() - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Retrieves the token type (e.g., Bearer).
- getTokenURL() - Method in class com.developer.nefarious.zjoule.plugin.models.ServiceKey
-
Retrieves the token URL for OAuth authentication.
- getTotalTokens() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Usage
-
Retrieves the total number of tokens used for the request.
- getUsage() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Retrieves the token usage details for the request.
- getValue() - Method in enum class com.developer.nefarious.zjoule.plugin.models.Role
-
Retrieves the string value associated with the role.
- getZoneId() - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Retrieves the zone ID where the resource group resides.
I
- IAIClient - Interface in com.developer.nefarious.zjoule.plugin.chat
-
Interface for AI client implementations.
- IAuthClient - Interface in com.developer.nefarious.zjoule.plugin.auth
-
Interface defining the contract for an authentication client.
- IAuthClientHelper - Interface in com.developer.nefarious.zjoule.plugin.auth
-
Defines utility methods for handling authentication-related tasks.
- IChatMessage - Interface in com.developer.nefarious.zjoule.plugin.chat
-
Represents a message exchanged in a chat interaction with an AI model.
- IChatOrchestrator - Interface in com.developer.nefarious.zjoule.plugin.chat
-
Interface for orchestrating AI-based chat interactions.
- IEclipseMemory - Interface in com.developer.nefarious.zjoule.plugin.memory
-
Interface for managing interactions with Eclipse's preference storage system.
- ILoginClient - Interface in com.developer.nefarious.zjoule.plugin.login.api
-
Interface for handling login-related API interactions with SAP AI Core.
- ILoginClientHelper - Interface in com.developer.nefarious.zjoule.plugin.login.api
-
Interface for helper methods used in login-related API operations.
- IMemoryMessageHistory - Interface in com.developer.nefarious.zjoule.plugin.chat.memory
-
Interface for managing chat message history in memory.
- IMemoryObject<T> - Interface in com.developer.nefarious.zjoule.plugin.memory
-
Generic interface for managing the storage and retrieval of data in memory.
- Initialization - Class in com.developer.nefarious.zjoule.plugin.core.events
-
Handles the initialization process for the application by managing user sessions, loading message history, and updating the browser state.
- Initialization(Browser) - Constructor for class com.developer.nefarious.zjoule.plugin.core.events.Initialization
-
Constructs an
Initialization
instance with the specifiedBrowser
. - initialize(IEclipseMemory) - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryResourceGroup
-
Initializes the
TemporaryMemoryResourceGroup
singleton with the specified dependencies. - initialize(IEclipseMemory) - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryResourceGroup
-
Initializes the
MemoryResourceGroup
singleton with the specified dependencies. - initialize(IObjectSerializer, IEclipseMemory) - Static method in class com.developer.nefarious.zjoule.plugin.chat.memory.MemoryMessageHistory
-
Initializes the singleton instance of
MemoryMessageHistory
. - initialize(IObjectSerializer, IEclipseMemory) - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryAccessToken
-
Initializes the
TemporaryMemoryAccessToken
singleton with the specified dependencies. - initialize(IObjectSerializer, IEclipseMemory) - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryDeployment
-
Initializes the
TemporaryMemoryDeployment
singleton with the specified dependencies. - initialize(IObjectSerializer, IEclipseMemory) - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryServiceKey
-
Initializes the
TemporaryMemoryServiceKey
singleton with the specified dependencies. - initialize(IObjectSerializer, IEclipseMemory) - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryAccessToken
-
Initializes the
MemoryAccessToken
singleton with the specified dependencies. - initialize(IObjectSerializer, IEclipseMemory) - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryDeployment
-
Initializes the
MemoryDeployment
singleton with the specified dependencies. - initialize(IObjectSerializer, IEclipseMemory) - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryServiceKey
-
Initializes the
MemoryServiceKey
singleton with the specified dependencies. - Instruction - Class in com.developer.nefarious.zjoule.plugin.chat
-
Provides system-level instructions for AI interactions.
- IObjectSerializer - Interface in com.developer.nefarious.zjoule.plugin.memory.utils
- IOpenAIClientHelper - Interface in com.developer.nefarious.zjoule.plugin.chat.openai
-
Defines helper methods for interacting with the OpenAI service.
- isEmpty() - Method in interface com.developer.nefarious.zjoule.plugin.chat.memory.IMemoryMessageHistory
-
Checks if the stored chat message history is empty.
- isEmpty() - Method in class com.developer.nefarious.zjoule.plugin.chat.memory.MemoryMessageHistory
-
Checks if the stored chat message history is empty.
- isEmpty() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryAccessToken
-
Checks if the stored data is empty or invalid.
- isEmpty() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryDeployment
-
Checks if the stored data is empty or invalid.
- isEmpty() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryResourceGroup
-
Checks if the stored data is empty or invalid.
- isEmpty() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryServiceKey
-
Checks if the stored data is empty or invalid.
- isEmpty() - Method in interface com.developer.nefarious.zjoule.plugin.memory.IMemoryObject
-
Checks if the stored data is empty or invalid.
- isEmpty() - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryAccessToken
-
Checks if the stored data is empty or invalid.
- isEmpty() - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryDeployment
-
Checks if the stored data is empty or invalid.
- isEmpty() - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryResourceGroup
-
Checks if the stored data is empty or invalid.
- isEmpty() - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryServiceKey
-
Checks if the stored data is empty or invalid.
- isUserLoggedIn() - Static method in class com.developer.nefarious.zjoule.plugin.auth.SessionManager
-
Checks if the user is currently logged in.
- isValid() - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Checks if the access token is still valid based on its expiration time and the time it was received.
- isValid() - Method in class com.developer.nefarious.zjoule.plugin.models.ServiceKey
-
Validates the service key's integrity by ensuring all required fields are non-null and non-empty.
- isValidJson(String) - Static method in class com.developer.nefarious.zjoule.plugin.login.utils.JsonValidator
-
Validates whether a given string is a well-formed JSON.
- ITemporaryMemoryObject - Interface in com.developer.nefarious.zjoule.plugin.login.memory
-
Represents an object that can be persisted from temporary memory to permanent storage.
- IViewRender - Interface in com.developer.nefarious.zjoule.plugin.core.ui
-
Interface for rendering HTML-based views in the application.
J
- JsonValidator - Class in com.developer.nefarious.zjoule.plugin.login.utils
-
Utility class for validating JSON strings.
K
- KEY - Static variable in interface com.developer.nefarious.zjoule.plugin.chat.memory.IMemoryMessageHistory
-
Key used for storing and retrieving the message history in the persistence layer.
- KEY - Static variable in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryAccessToken
-
Key used for storing and retrieving the temporary access token in Eclipse preferences.
- KEY - Static variable in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryDeployment
-
Key used for storing and retrieving the temporary deployment in Eclipse preferences.
- KEY - Static variable in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryResourceGroup
-
Key used for storing and retrieving the temporary resource group in Eclipse preferences.
- KEY - Static variable in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryServiceKey
-
Key used for storing and retrieving the temporary service key in Eclipse preferences.
- KEY - Static variable in class com.developer.nefarious.zjoule.plugin.memory.MemoryAccessToken
-
Key used for storing and retrieving the access token in memory.
- KEY - Static variable in class com.developer.nefarious.zjoule.plugin.memory.MemoryDeployment
-
Key used for storing and retrieving deployment information in memory.
- KEY - Static variable in class com.developer.nefarious.zjoule.plugin.memory.MemoryResourceGroup
-
Key used for storing and retrieving the resource group information in memory.
- KEY - Static variable in class com.developer.nefarious.zjoule.plugin.memory.MemoryServiceKey
-
Key used for storing and retrieving the service key information in memory.
L
- load() - Method in interface com.developer.nefarious.zjoule.plugin.chat.memory.IMemoryMessageHistory
-
Loads the chat message history from memory.
- load() - Method in class com.developer.nefarious.zjoule.plugin.chat.memory.MemoryMessageHistory
-
Loads the chat message history from memory.
- load() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryAccessToken
-
Loads the data from memory.
- load() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryDeployment
-
Loads the data from memory.
- load() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryResourceGroup
-
Loads the data from memory.
- load() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryServiceKey
-
Loads the data from memory.
- load() - Method in interface com.developer.nefarious.zjoule.plugin.memory.IMemoryObject
-
Loads the data from memory.
- load() - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryAccessToken
-
Loads the data from memory.
- load() - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryDeployment
-
Loads the data from memory.
- load() - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryResourceGroup
-
Loads the data from memory.
- load() - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryServiceKey
-
Loads the data from memory.
- loadFromEclipsePreferences(String) - Method in class com.developer.nefarious.zjoule.plugin.memory.EclipseMemory
-
Loads the value associated with the specified key from Eclipse's preferences storage.
- loadFromEclipsePreferences(String) - Method in interface com.developer.nefarious.zjoule.plugin.memory.IEclipseMemory
-
Loads the value associated with the specified key from Eclipse's preferences storage.
- loadFromMemory(Browser) - Static method in class com.developer.nefarious.zjoule.plugin.core.functions.MessageHistoryLoader
-
Loads chat message history from memory and displays it in the specified browser.
- login(Browser) - Static method in class com.developer.nefarious.zjoule.plugin.auth.SessionManager
-
Executes the login process using the specified browser.
- LoginClient - Class in com.developer.nefarious.zjoule.plugin.login.api
-
Implements the
ILoginClient
interface for managing API interactions related to login operations. - LoginClient(ILoginClientHelper, IAuthClient) - Constructor for class com.developer.nefarious.zjoule.plugin.login.api.LoginClient
-
Constructs a new
LoginClient
instance. - LoginClientHelper - Class in com.developer.nefarious.zjoule.plugin.login.api
-
A helper class for handling login-related API operations.
- LoginClientHelper() - Constructor for class com.developer.nefarious.zjoule.plugin.login.api.LoginClientHelper
-
Constructs a new
LoginClientHelper
instance. - LoginHandler - Class in com.developer.nefarious.zjoule.plugin.core.functions
-
Handles the "Login" action for connecting to a BTP subaccount.
- LoginWizard - Class in com.developer.nefarious.zjoule.plugin.login
-
A wizard for logging into SAP AI Core.
- LoginWizard(Browser) - Constructor for class com.developer.nefarious.zjoule.plugin.login.LoginWizard
-
Constructs a new
LoginWizard
instance. - logout(Browser, EclipseMemory) - Static method in class com.developer.nefarious.zjoule.plugin.auth.SessionManager
-
Executes the logout process using the specified browser and clears all memory.
- LogoutHandler - Class in com.developer.nefarious.zjoule.plugin.core.functions
-
Handles the "Logout" action for ending the user's session.
M
- MAX_TOKENS - Static variable in interface com.developer.nefarious.zjoule.plugin.chat.openai.IOpenAIClientHelper
-
The maximum number of tokens allowed in a single request.
- MemoryAccessToken - Class in com.developer.nefarious.zjoule.plugin.memory
-
Manages the storage and retrieval of access tokens in memory.
- MemoryDeployment - Class in com.developer.nefarious.zjoule.plugin.memory
-
Manages the storage and retrieval of deployment information in memory.
- MemoryMessageHistory - Class in com.developer.nefarious.zjoule.plugin.chat.memory
-
Manages the storage and retrieval of chat message history in Eclipse preferences.
- MemoryResourceGroup - Class in com.developer.nefarious.zjoule.plugin.memory
-
Manages the storage and retrieval of resource group information in memory.
- MemoryServiceKey - Class in com.developer.nefarious.zjoule.plugin.memory
-
Manages the storage and retrieval of service key information in memory.
- Message - Class in com.developer.nefarious.zjoule.plugin.chat.models
-
Represents a single chat message with a role and content.
- Message() - Constructor for class com.developer.nefarious.zjoule.plugin.chat.models.Message
-
Default constructor for creating an empty
Message
. - Message(Role, String) - Constructor for class com.developer.nefarious.zjoule.plugin.chat.models.Message
-
Constructs a
Message
with the specified role and content. - MessageHistory - Class in com.developer.nefarious.zjoule.plugin.chat.models
-
Represents the history of chat messages in a conversation.
- MessageHistory() - Constructor for class com.developer.nefarious.zjoule.plugin.chat.models.MessageHistory
- MessageHistoryLoader - Class in com.developer.nefarious.zjoule.plugin.core.functions
-
Utility class for loading chat message history into a browser component.
- modifyText(ModifyEvent) - Method in class com.developer.nefarious.zjoule.plugin.login.events.ServiceKeyModifyListener
-
Handles modifications to the service key input field.
O
- ObjectSerializer - Class in com.developer.nefarious.zjoule.plugin.memory.utils
-
Singleton implementation of
IObjectSerializer
that provides methods for serializing objects to JSON and deserializing JSON strings into objects. - ObjectSerializer() - Constructor for class com.developer.nefarious.zjoule.plugin.memory.utils.ObjectSerializer
- OpenAIChatMessage - Class in com.developer.nefarious.zjoule.plugin.chat.openai
-
Represents a chat message exchanged with the OpenAI model.
- OpenAIChatMessage() - Constructor for class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIChatMessage
-
Default constructor for creating an empty
OpenAIChatMessage
. - OpenAIChatMessage(Role, String) - Constructor for class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIChatMessage
-
Constructs a new
OpenAIChatMessage
with the specified role and content. - OpenAIClient - Class in com.developer.nefarious.zjoule.plugin.chat.openai
-
Implements the
IAIClient
interface for interacting with OpenAI-based models. - OpenAIClient(IAuthClient, IMemoryMessageHistory, IMemoryObject<String>, IMemoryObject<Deployment>, IOpenAIClientHelper) - Constructor for class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIClient
-
Constructs a new
OpenAIClient
with the required dependencies. - OpenAIClientHelper - Class in com.developer.nefarious.zjoule.plugin.chat.openai
-
A helper class for the
OpenAIClient
that provides utility methods for creating HTTP request bodies and converting responses from the OpenAI service. - OpenAIClientHelper() - Constructor for class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIClientHelper
- OpenAIRequestBody - Class in com.developer.nefarious.zjoule.plugin.chat.openai
-
Represents the request body for an OpenAI chat completion API call.
- OpenAIRequestBody() - Constructor for class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
- OpenAIRequestResponse - Class in com.developer.nefarious.zjoule.plugin.chat.openai
-
Represents the response body from an OpenAI chat completion API request.
- OpenAIRequestResponse() - Constructor for class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
- OpenAIRequestResponse.Choice - Class in com.developer.nefarious.zjoule.plugin.chat.openai
-
Represents a single choice in the response from the OpenAI API.
- OpenAIRequestResponse.Usage - Class in com.developer.nefarious.zjoule.plugin.chat.openai
-
Represents the token usage details in the OpenAI API response.
P
- PAGE_ID - Static variable in class com.developer.nefarious.zjoule.plugin.login.pages.FirstLoginWizardPage
-
The unique identifier for this wizard page.
- PAGE_ID - Static variable in class com.developer.nefarious.zjoule.plugin.login.pages.SecondLoginWizardPage
-
The unique identifier for this wizard page.
- parseDeploymentsResponseToObject(String) - Method in interface com.developer.nefarious.zjoule.plugin.login.api.ILoginClientHelper
-
Parses a JSON response body into a
GetDeploymentsResponse
object. - parseDeploymentsResponseToObject(String) - Method in class com.developer.nefarious.zjoule.plugin.login.api.LoginClientHelper
-
Parses a JSON response body into a
GetDeploymentsResponse
object. - parseResourceGroupsResponseToObject(String) - Method in interface com.developer.nefarious.zjoule.plugin.login.api.ILoginClientHelper
-
Parses a JSON response body into a
GetResourceGroupsResponse
object. - parseResourceGroupsResponseToObject(String) - Method in class com.developer.nefarious.zjoule.plugin.login.api.LoginClientHelper
-
Parses a JSON response body into a
GetResourceGroupsResponse
object. - partClosed(IWorkbenchPartReference) - Method in class com.developer.nefarious.zjoule.plugin.core.events.PartListener
-
Handles the
partClosed
event triggered when a part is closed. - PartListener - Class in com.developer.nefarious.zjoule.plugin.core.events
-
Implements a part listener to monitor and handle editor-related events in the Eclipse workspace.
- performFinish() - Method in class com.developer.nefarious.zjoule.plugin.login.LoginWizard
-
Completes the login process and persists the temporary memory.
- persist() - Method in interface com.developer.nefarious.zjoule.plugin.login.memory.ITemporaryMemoryObject
-
Persists the temporary memory object to permanent storage.
- persist() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryAccessToken
-
Persists the temporary memory object to permanent storage.
- persist() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryDeployment
-
Persists the temporary memory object to permanent storage.
- persist() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryResourceGroup
-
Persists the temporary memory object to permanent storage.
- persist() - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryServiceKey
-
Persists the temporary memory object to permanent storage.
- PLUGIN_ID - Static variable in class com.developer.nefarious.zjoule.plugin.core.Activator
-
The plug-in ID for the zJoule plugin.
- PLUGIN_ID - Static variable in interface com.developer.nefarious.zjoule.plugin.memory.IEclipseMemory
-
The plugin ID used to identify the preferences node in Eclipse's preference storage.
- PRESENCE_PENALTY - Static variable in interface com.developer.nefarious.zjoule.plugin.chat.openai.IOpenAIClientHelper
-
The presence penalty parameter for encouraging diverse topic generation.
- PromptHandler - Class in com.developer.nefarious.zjoule.plugin.core.functions
-
Handles user prompts from the browser and communicates with the chat orchestrator to generate responses.
- PromptHandler(Browser, String) - Constructor for class com.developer.nefarious.zjoule.plugin.core.functions.PromptHandler
-
Constructs a new
PromptHandler
instance.
R
- readActiveEditorContent() - Static method in class com.developer.nefarious.zjoule.plugin.chat.utils.EditorContentReader
-
Reads and returns the content of the file currently open in the active editor.
- resetInstance() - Static method in class com.developer.nefarious.zjoule.plugin.chat.memory.MemoryMessageHistory
-
Resets the singleton instance of
MemoryMessageHistory
. - resetInstance() - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryAccessToken
-
Resets the singleton instance.
- resetInstance() - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryDeployment
-
Resets the singleton instance.
- resetInstance() - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryResourceGroup
-
Resets the singleton instance.
- resetInstance() - Static method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryServiceKey
-
Resets the singleton instance.
- resetInstance() - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryAccessToken
-
Resets the singleton instance.
- resetInstance() - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryDeployment
-
Resets the singleton instance.
- resetInstance() - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryResourceGroup
-
Resets the singleton instance.
- resetInstance() - Static method in class com.developer.nefarious.zjoule.plugin.memory.MemoryServiceKey
-
Resets the singleton instance.
- ResourceGroup - Class in com.developer.nefarious.zjoule.plugin.models
-
Represents a resource group in the system.
- ResourceGroup() - Constructor for class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
- ResourceGroupIdExtractor - Class in com.developer.nefarious.zjoule.plugin.login.utils
-
Utility class for extracting resource group IDs from a
GetResourceGroupsResponse
. - ResourceGroupSelectionAdapter - Class in com.developer.nefarious.zjoule.plugin.login.events
-
Handles selection events for the resource group dropdown in the second page of the login wizard.
- ResourceGroupSelectionAdapter(SecondLoginWizardPage, ILoginClient, IMemoryObject<String>) - Constructor for class com.developer.nefarious.zjoule.plugin.login.events.ResourceGroupSelectionAdapter
-
Constructs a new
ResourceGroupSelectionAdapter
. - Role - Enum Class in com.developer.nefarious.zjoule.plugin.models
-
Represents different roles in the system.
- Role.RoleSerializer - Class in com.developer.nefarious.zjoule.plugin.models
-
Custom serializer for the
Role
enum to be used with Gson. - RoleSerializer() - Constructor for class com.developer.nefarious.zjoule.plugin.models.Role.RoleSerializer
- run() - Method in class com.developer.nefarious.zjoule.plugin.core.events.Initialization
-
Executes the initialization process.
- run() - Method in class com.developer.nefarious.zjoule.plugin.core.functions.ClearHandler
-
Executes the "Clear Chat" action.
- run() - Method in class com.developer.nefarious.zjoule.plugin.core.functions.LoginHandler
-
Executes the "Login" action.
- run() - Method in class com.developer.nefarious.zjoule.plugin.core.functions.LogoutHandler
-
Executes the "Logout" action.
S
- save(MessageHistory) - Method in interface com.developer.nefarious.zjoule.plugin.chat.memory.IMemoryMessageHistory
-
Saves the given
MessageHistory
object to memory. - save(MessageHistory) - Method in class com.developer.nefarious.zjoule.plugin.chat.memory.MemoryMessageHistory
-
Saves the given
MessageHistory
object to memory. - save(AccessToken) - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryAccessToken
-
Saves the given data to memory.
- save(AccessToken) - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryAccessToken
-
Saves the given data to memory.
- save(Deployment) - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryDeployment
-
Saves the given data to memory.
- save(Deployment) - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryDeployment
-
Saves the given data to memory.
- save(ServiceKey) - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryServiceKey
-
Saves the given data to memory.
- save(ServiceKey) - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryServiceKey
-
Saves the given data to memory.
- save(String) - Method in class com.developer.nefarious.zjoule.plugin.login.memory.TemporaryMemoryResourceGroup
-
Saves the given data to memory.
- save(String) - Method in class com.developer.nefarious.zjoule.plugin.memory.MemoryResourceGroup
-
Saves the given data to memory.
- save(T) - Method in interface com.developer.nefarious.zjoule.plugin.memory.IMemoryObject
-
Saves the given data to memory.
- saveOnEclipsePreferences(String, String) - Method in class com.developer.nefarious.zjoule.plugin.memory.EclipseMemory
-
Saves a key-value pair to Eclipse's preferences storage.
- saveOnEclipsePreferences(String, String) - Method in interface com.developer.nefarious.zjoule.plugin.memory.IEclipseMemory
-
Saves a key-value pair to Eclipse's preferences storage.
- SecondLoginWizardPage - Class in com.developer.nefarious.zjoule.plugin.login.pages
-
Represents the second page of the login wizard, where the user selects a resource group and deployment ID based on the credentials provided on the first page.
- SecondLoginWizardPage(ILoginClient, IMemoryObject<String>, IMemoryObject<Deployment>) - Constructor for class com.developer.nefarious.zjoule.plugin.login.pages.SecondLoginWizardPage
-
Constructs a new
SecondLoginWizardPage
. - selectionChanged(IWorkbenchPart, ISelection) - Method in class com.developer.nefarious.zjoule.plugin.core.events.SelectionListener
-
Invoked when the selection in the Eclipse workspace changes.
- SelectionListener - Class in com.developer.nefarious.zjoule.plugin.core.events
-
Listens for selection changes in the Eclipse workspace and updates the browser state accordingly.
- serialize(Role, Type, JsonSerializationContext) - Method in class com.developer.nefarious.zjoule.plugin.models.Role.RoleSerializer
-
Serializes a
Role
enum instance into a JSON element. - serialize(Object) - Method in interface com.developer.nefarious.zjoule.plugin.memory.utils.IObjectSerializer
-
Serializes an object into a JSON string.
- serialize(Object) - Method in class com.developer.nefarious.zjoule.plugin.memory.utils.ObjectSerializer
-
Serializes an object into a JSON string.
- ServiceKey - Class in com.developer.nefarious.zjoule.plugin.models
-
Represents the service key configuration required for accessing API endpoints and authentication.
- ServiceKey() - Constructor for class com.developer.nefarious.zjoule.plugin.models.ServiceKey
- ServiceKeyModifyListener - Class in com.developer.nefarious.zjoule.plugin.login.events
-
Handles modifications to the service key input field in the first page of the login wizard.
- ServiceKeyModifyListener(FirstLoginWizardPage, ILoginClient, Gson) - Constructor for class com.developer.nefarious.zjoule.plugin.login.events.ServiceKeyModifyListener
-
Constructs a new
ServiceKeyModifyListener
. - SessionManager - Class in com.developer.nefarious.zjoule.plugin.auth
-
Manages the user's session within the application.
- setAccessToken(String) - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Sets the access token string.
- setBrowser(Browser) - Method in class com.developer.nefarious.zjoule.plugin.core.ui.ViewListener
-
Sets the browser component for the view.
- setChoices(List<OpenAIRequestResponse.Choice>) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Sets the list of choices returned by the OpenAI API.
- setClientId(String) - Method in class com.developer.nefarious.zjoule.plugin.models.ServiceKey
-
Sets the client ID for authentication.
- setClientSecret(String) - Method in class com.developer.nefarious.zjoule.plugin.models.ServiceKey
-
Sets the client secret for authentication.
- setCompletionTokens(int) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Usage
-
Sets the number of tokens used for the completion.
- setConfigurationId(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setConfigurationName(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setContent(String) - Method in class com.developer.nefarious.zjoule.plugin.chat.models.Message
-
Sets the content of the message.
- setContent(String) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIChatMessage
-
Sets the content of the message.
- setCount(int) - Method in class com.developer.nefarious.zjoule.plugin.login.api.GetDeploymentsResponse
-
Sets the total count of deployments.
- setCount(int) - Method in class com.developer.nefarious.zjoule.plugin.login.api.GetResourceGroupsResponse
-
Sets the total count of resource groups.
- setCreated(long) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Sets the timestamp when the response was created.
- setCreatedAt(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setCreatedAt(String) - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Sets the creation timestamp of the resource group.
- setDeploymentsForSelection(List<Deployment>) - Method in class com.developer.nefarious.zjoule.plugin.login.pages.SecondLoginWizardPage
-
Sets the list of deployments available for selection and updates the dropdown.
- setDeploymentUrl(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setDetails(Details) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setExpiresIn(long) - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Sets the expiration time in seconds.
- setFinishReason(String) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Choice
-
Sets the reason why the response generation finished.
- setFocus() - Method in class com.developer.nefarious.zjoule.plugin.core.ui.ViewListener
-
Sets the focus to the browser component.
- setFrequencyPenalty(double) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Sets the frequency penalty applied to the response.
- setId(String) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Sets the unique identifier for the response.
- setId(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setIndex(int) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Choice
-
Sets the index of this choice in the response.
- setJti(String) - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Sets the unique token identifier.
- setLabels(List<String>) - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Sets the labels associated with the resource group.
- setLastOperation(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setLatestRunningConfigurationId(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setMaxTokens(int) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Sets the maximum number of tokens allowed in the response.
- setMessage(OpenAIChatMessage) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Choice
-
Sets the message generated by the OpenAI model for this choice.
- setMessageHistory(List<IChatMessage>) - Method in interface com.developer.nefarious.zjoule.plugin.chat.IAIClient
-
Updates the chat message history with the provided list of messages.
- setMessageHistory(List<IChatMessage>) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIClient
-
Stores the chat message history in memory.
- setMessages(List<IChatMessage>) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Sets the list of chat messages in the request.
- setMessages(List<Message>) - Method in class com.developer.nefarious.zjoule.plugin.chat.models.MessageHistory
-
Sets the list of messages in the chat history.
- setModel(String) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Sets the model used to generate the response.
- setModifiedAt(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setObject(String) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Sets the object type of the response.
- setPartListener(PartListener) - Method in class com.developer.nefarious.zjoule.plugin.core.ui.ViewListener
-
Sets the part listener for monitoring part lifecycle events.
- setPresencePenalty(double) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Sets the presence penalty applied to the response.
- setPromptTokens(int) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Usage
-
Sets the number of tokens used for the prompt.
- setReceivedAt(Date) - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Sets the time the token was received.
- setResourceGroupId(String) - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Sets the unique identifier of the resource group.
- setResourceGroups(List<ResourceGroup>) - Method in class com.developer.nefarious.zjoule.plugin.login.api.GetResourceGroupsResponse
-
Sets the list of resource groups.
- setResourceGroupsForSelection(List<String>) - Method in class com.developer.nefarious.zjoule.plugin.login.pages.SecondLoginWizardPage
-
Sets the list of resource groups available for selection.
- setResourceGroupsOnTheSecondPage(GetResourceGroupsResponse) - Method in class com.developer.nefarious.zjoule.plugin.login.pages.FirstLoginWizardPage
-
Propagates resource groups from the service key response to the second wizard page.
- setResources(List<Deployment>) - Method in class com.developer.nefarious.zjoule.plugin.login.api.GetDeploymentsResponse
-
Sets the list of deployments.
- setRole(Role) - Method in class com.developer.nefarious.zjoule.plugin.chat.models.Message
-
Sets the role of the message.
- setRole(Role) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIChatMessage
-
Sets the role of the message.
- setScenarioId(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setScope(String) - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Sets the scope of the token.
- setSelectionListener(ISelectionListener) - Method in class com.developer.nefarious.zjoule.plugin.core.ui.ViewListener
-
Sets the selection listener for monitoring selection events.
- setServiceKey(ServiceKey) - Method in class com.developer.nefarious.zjoule.plugin.login.pages.FirstLoginWizardPage
-
Sets the
ServiceKey
for this page. - setShell(Shell) - Method in class com.developer.nefarious.zjoule.plugin.core.ui.ViewListener
-
Sets the shell instance for the view.
- setStartTime(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setStatus(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setStatus(String) - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Sets the current status of the resource group.
- setStatusMessage(String) - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Sets the status message providing additional information.
- setStop(String) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Sets the stop sequence used to terminate the AI's response.
- setSubmissionTime(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setTargetStatus(String) - Method in class com.developer.nefarious.zjoule.plugin.models.Deployment
- setTemperature(double) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Sets the temperature parameter for the AI's response.
- setTenantId(String) - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Sets the tenant ID associated with the resource group.
- setTokenType(String) - Method in class com.developer.nefarious.zjoule.plugin.models.AccessToken
-
Sets the token type (e.g., Bearer).
- setTokenUrl(String) - Method in class com.developer.nefarious.zjoule.plugin.models.ServiceKey
-
Sets the token URL for OAuth authentication.
- setTotalTokens(int) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Usage
-
Sets the total number of tokens used for the request.
- setUsage(OpenAIRequestResponse.Usage) - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse
-
Sets the token usage details for the request.
- setValidationError(String) - Method in class com.developer.nefarious.zjoule.plugin.login.pages.FirstLoginWizardPage
-
Displays a validation error message in the UI or hides it if the message is
null
or empty. - setVisible(boolean) - Method in class com.developer.nefarious.zjoule.plugin.login.pages.SecondLoginWizardPage
-
Sets the visibility of this page.
- setZoneId(String) - Method in class com.developer.nefarious.zjoule.plugin.models.ResourceGroup
-
Sets the zone ID where the resource group resides.
- start(BundleContext) - Method in class com.developer.nefarious.zjoule.plugin.core.Activator
-
Starts the plugin by initializing the shared instance and memory resources.
- stop(BundleContext) - Method in class com.developer.nefarious.zjoule.plugin.core.Activator
-
Stops the plugin by clearing the shared instance.
- STOP - Static variable in interface com.developer.nefarious.zjoule.plugin.chat.openai.IOpenAIClientHelper
-
The stop sequence used to terminate AI responses.
- SYSTEM - Enum constant in enum class com.developer.nefarious.zjoule.plugin.models.Role
-
Represents a system-level role.
T
- TagHandler - Class in com.developer.nefarious.zjoule.plugin.core.functions
-
Handles updating tags in the browser based on the currently active editor file.
- TEMPERATURE - Static variable in interface com.developer.nefarious.zjoule.plugin.chat.openai.IOpenAIClientHelper
-
The temperature parameter for controlling the randomness of AI responses.
- TemporaryMemoryAccessToken - Class in com.developer.nefarious.zjoule.plugin.login.memory
-
Manages temporary storage and retrieval of an access token during the login process.
- TemporaryMemoryDeployment - Class in com.developer.nefarious.zjoule.plugin.login.memory
-
Manages temporary storage and retrieval of deployment information during the login process.
- TemporaryMemoryResourceGroup - Class in com.developer.nefarious.zjoule.plugin.login.memory
-
Manages temporary storage and retrieval of resource group information during the login process.
- TemporaryMemoryServiceKey - Class in com.developer.nefarious.zjoule.plugin.login.memory
-
Manages temporary storage and retrieval of service key information during the login process.
- toString() - Method in class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestBody
-
Serializes this object to its JSON representation using
Gson
. - toString() - Method in enum class com.developer.nefarious.zjoule.plugin.models.Role
-
Returns the string representation of the role.
U
- update(Browser) - Static method in class com.developer.nefarious.zjoule.plugin.core.functions.TagHandler
-
Updates the tag in the browser with the name of the currently active editor file.
- Usage() - Constructor for class com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIRequestResponse.Usage
- USER - Enum constant in enum class com.developer.nefarious.zjoule.plugin.models.Role
-
Represents a standard user role.
V
- valueOf(String) - Static method in enum class com.developer.nefarious.zjoule.plugin.models.Role
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.developer.nefarious.zjoule.plugin.models.Role
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ViewListener - Class in com.developer.nefarious.zjoule.plugin.core.ui
-
Represents a custom Eclipse view that integrates a browser and various event listeners.
- ViewListener() - Constructor for class com.developer.nefarious.zjoule.plugin.core.ui.ViewListener
- ViewRender - Class in com.developer.nefarious.zjoule.plugin.core.ui
-
Responsible for rendering an HTML-based view with embedded JavaScript and CSS resources.
W
- widgetSelected(SelectionEvent) - Method in class com.developer.nefarious.zjoule.plugin.login.events.DeploymentSelectionAdapter
-
Handles selection events triggered by the deployment dropdown.
- widgetSelected(SelectionEvent) - Method in class com.developer.nefarious.zjoule.plugin.login.events.ResourceGroupSelectionAdapter
-
Handles selection events triggered by the resource group dropdown.
All Classes and Interfaces|All Packages|Constant Field Values