Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- Actions() - Constructor for class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Actions
- adapt(AdapterKey<From, To>, From) - Method in class com.guinetik.hexafun.HexaApp
-
Adapt a value using a type-safe adapter key.
- AdapterKey<From,
To> - Class in com.guinetik.hexafun.hexa -
Type-safe key for adapter registration and invocation.
- adapters - Variable in class com.guinetik.hexafun.HexaApp
- add(int) - Method in record class com.guinetik.hexafun.examples.counter.Counter
- add(Counter, int) - Method in class com.guinetik.hexafun.examples.counter.CounterApp
-
Add amount to a counter.
- ADD - Static variable in interface com.guinetik.hexafun.examples.counter.CounterUseCases
- AddInput(Counter, int) - Constructor for record class com.guinetik.hexafun.examples.counter.CounterInputs.AddInput
-
Creates an instance of a
AddInputrecord class. - ALT_SCREEN_OFF - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ALT_SCREEN_ON - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- amount() - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.AddInput
-
Returns the value of the
amountrecord component. - andThen(TasksTUI.Action) - Method in interface com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Action
-
Chain actions: if first succeeds, apply second
- andThen(View<S>) - Method in interface com.guinetik.hexafun.examples.tui.View
-
Compose this view with another, concatenating their outputs.
- andThen(String, View<S>) - Method in interface com.guinetik.hexafun.examples.tui.View
-
Compose with a separator between views.
- Ansi - Class in com.guinetik.hexafun.examples.tui
-
ANSI escape code utilities for terminal styling.
- app - Variable in class com.guinetik.hexafun.hexa.UseCaseHandler
-
Reference to the HexaApp for port access.
- app() - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Returns the value of the
apprecord component. - app() - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
Returns the value of the
apprecord component. - apply(I) - Method in interface com.guinetik.hexafun.hexa.UseCase
-
Apply the use case logic to the input and produce an output.
- apply(Void) - Method in class com.guinetik.hexafun.examples.sysmon.SysmonHandlers.GetAllMetricsHandler
- apply(Void) - Method in class com.guinetik.hexafun.examples.sysmon.SysmonHandlers.GetCpuHandler
- apply(Void) - Method in class com.guinetik.hexafun.examples.sysmon.SysmonHandlers.GetDiskHandler
- apply(Void) - Method in class com.guinetik.hexafun.examples.sysmon.SysmonHandlers.GetMemoryHandler
- ARROW_LEFT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ARROW_RIGHT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
B
- BG_BLACK - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BG_BLUE - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BG_CYAN - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BG_GREEN - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BG_MAGENTA - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BG_RED - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BG_WHITE - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BG_YELLOW - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BLACK - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BLOCK_DARK - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BLOCK_FULL - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BLOCK_LIGHT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BLOCK_MED - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BLUE - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- bold(String) - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Bold text shorthand
- BOLD - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- box(String, int, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Render content in a single-line box.
- box(List<String>, int, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Render multiple lines in a box.
- BOX_BOTTOM_LEFT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BOX_BOTTOM_RIGHT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BOX_CROSS - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BOX_HORIZONTAL - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BOX_T_DOWN - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BOX_T_LEFT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BOX_T_RIGHT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BOX_T_UP - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BOX_TOP_LEFT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BOX_TOP_RIGHT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BOX_VERTICAL - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BRIGHT_BLACK - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BRIGHT_BLUE - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BRIGHT_CYAN - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BRIGHT_GREEN - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BRIGHT_MAGENTA - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BRIGHT_RED - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BRIGHT_WHITE - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- BRIGHT_YELLOW - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- build() - Method in class com.guinetik.hexafun.hexa.UseCaseBuilder
-
Build a HexaApp with all the registered use cases and ports.
- BULLET - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- bulletItem(String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Render a simple bullet item.
- byStatus(TaskStatus) - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
C
- center(String, int) - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Center string within width
- CHECK - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- clear() - Static method in class com.guinetik.hexafun.examples.sysmon.SysmonView
-
Clear screen and reset cursor.
- clear() - Method in class com.guinetik.hexafun.examples.tasks.InMemoryTaskRepository
-
Clear all tasks (useful for testing).
- clear() - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Views
- clear() - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Clear screen (side effect)
- clear() - Method in interface com.guinetik.hexafun.hexa.HexaRepo
-
Removes all entities from the repository.
- clear() - Method in class com.guinetik.hexafun.hexa.InMemoryHexaRepo
- CLEAR - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- CLEAR_SCREEN - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- CLI - Enum constant in enum class com.guinetik.hexafun.examples.sysmon.SysmonFormat
- CLI_ADAPTER - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonAdapters
-
CLI format - simple key: value pairs for shell scripts.
- color(String, String...) - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Apply ANSI codes to text with auto-reset
- com.guinetik.hexafun - package com.guinetik.hexafun
- com.guinetik.hexafun.examples - package com.guinetik.hexafun.examples
- com.guinetik.hexafun.examples.counter - package com.guinetik.hexafun.examples.counter
- com.guinetik.hexafun.examples.sysmon - package com.guinetik.hexafun.examples.sysmon
- com.guinetik.hexafun.examples.tasks - package com.guinetik.hexafun.examples.tasks
- com.guinetik.hexafun.examples.tasks.tui - package com.guinetik.hexafun.examples.tasks.tui
- com.guinetik.hexafun.examples.tui - package com.guinetik.hexafun.examples.tui
- com.guinetik.hexafun.fun - package com.guinetik.hexafun.fun
- com.guinetik.hexafun.hexa - package com.guinetik.hexafun.hexa
- com.guinetik.hexafun.testing - package com.guinetik.hexafun.testing
- complete() - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Mark this task as completed (move to DONE).
- complete(TasksTUI.State, String) - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Actions
- COMPLETE - Static variable in interface com.guinetik.hexafun.examples.tasks.TaskUseCases
- completed() - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Check if this task is completed.
- completeTask(String) - Method in class com.guinetik.hexafun.examples.tasks.TaskApp
- CompleteTask(String) - Constructor for record class com.guinetik.hexafun.examples.tasks.TaskInputs.CompleteTask
-
Creates an instance of a
CompleteTaskrecord class. - compose(View<S>...) - Static method in interface com.guinetik.hexafun.examples.tui.View
-
Combine multiple views into one.
- count() - Method in class com.guinetik.hexafun.examples.tasks.InMemoryTaskRepository
-
Get the count of tasks.
- count() - Method in interface com.guinetik.hexafun.hexa.HexaRepo
-
Counts the total number of entities in the repository.
- count() - Method in class com.guinetik.hexafun.hexa.InMemoryHexaRepo
- counter() - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.AddInput
-
Returns the value of the
counterrecord component. - counter() - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.DecrementInput
-
Returns the value of the
counterrecord component. - counter() - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.IncrementInput
-
Returns the value of the
counterrecord component. - Counter - Record Class in com.guinetik.hexafun.examples.counter
-
Immutable counter value object.
- Counter(int) - Constructor for record class com.guinetik.hexafun.examples.counter.Counter
-
Creates an instance of a
Counterrecord class. - CounterApp - Class in com.guinetik.hexafun.examples.counter
-
Counter application demonstrating the improved HexaFun DSL.
- CounterApp() - Constructor for class com.guinetik.hexafun.examples.counter.CounterApp
- CounterInputs - Class in com.guinetik.hexafun.examples.counter
-
Input types for counter operations.
- CounterInputs.AddInput - Record Class in com.guinetik.hexafun.examples.counter
-
Input for add operation with amount validation.
- CounterInputs.DecrementInput - Record Class in com.guinetik.hexafun.examples.counter
-
Input for decrement operation.
- CounterInputs.IncrementInput - Record Class in com.guinetik.hexafun.examples.counter
-
Input for increment operation.
- CounterUseCases - Interface in com.guinetik.hexafun.examples.counter
-
Type-safe use case keys for counter operations.
- CounterValidators - Class in com.guinetik.hexafun.examples.counter
-
Validation functions for counter operations.
- cpu() - Method in record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Returns the value of the
cpurecord component. - cpuWarning() - Method in record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Check if CPU usage is above warning threshold.
- create() - Static method in class com.guinetik.hexafun.HexaApp
-
Create a new empty HexaApp.
- create(TasksTUI.State, String, String) - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Actions
- create(String, String) - Static method in record class com.guinetik.hexafun.examples.tasks.Task
-
Create a new task with generated ID in TODO status.
- CREATE - Static variable in interface com.guinetik.hexafun.examples.tasks.TaskUseCases
- createApp(MetricsProvider) - Static method in class com.guinetik.hexafun.examples.sysmon.SysmonApp
-
Create a configured HexaApp for system monitoring.
- createTask(String, String) - Method in class com.guinetik.hexafun.examples.tasks.TaskApp
- CreateTask(String, String) - Constructor for record class com.guinetik.hexafun.examples.tasks.TaskInputs.CreateTask
-
Creates an instance of a
CreateTaskrecord class. - CROSS - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- CURSOR_HOME - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- CYAN - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
D
- DBOX_BOTTOM_LEFT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- DBOX_BOTTOM_RIGHT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- DBOX_HORIZONTAL - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- DBOX_TOP_LEFT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- DBOX_TOP_RIGHT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- DBOX_VERTICAL - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- decrement() - Method in record class com.guinetik.hexafun.examples.counter.Counter
- decrement(Counter) - Method in class com.guinetik.hexafun.examples.counter.CounterApp
-
Decrement a counter.
- DECREMENT - Static variable in interface com.guinetik.hexafun.examples.counter.CounterUseCases
- DecrementInput(Counter) - Constructor for record class com.guinetik.hexafun.examples.counter.CounterInputs.DecrementInput
-
Creates an instance of a
DecrementInputrecord class. - DEFAULT_HEIGHT - Static variable in class com.guinetik.hexafun.examples.tui.HexaTerminal
-
Default height if detection fails
- DEFAULT_WIDTH - Static variable in class com.guinetik.hexafun.examples.tui.HexaTerminal
-
Default width if detection fails
- delete(TasksTUI.State, String) - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Actions
- delete(String) - Method in class com.guinetik.hexafun.examples.tasks.InMemoryTaskRepository
- delete(String) - Method in interface com.guinetik.hexafun.examples.tasks.TaskRepository
-
Delete a task by ID.
- DELETE - Static variable in interface com.guinetik.hexafun.examples.tasks.TaskUseCases
- deleteAllById(List<String>) - Method in interface com.guinetik.hexafun.hexa.HexaRepo
-
Deletes multiple entities by their IDs in a batch operation.
- deleteAllById(List<String>) - Method in class com.guinetik.hexafun.hexa.InMemoryHexaRepo
- deleteById(String) - Method in interface com.guinetik.hexafun.hexa.HexaRepo
-
Deletes an entity by its unique identifier.
- deleteById(String) - Method in class com.guinetik.hexafun.hexa.InMemoryHexaRepo
- deleteTask(String) - Method in class com.guinetik.hexafun.examples.tasks.TaskApp
- DeleteTask(String) - Constructor for record class com.guinetik.hexafun.examples.tasks.TaskInputs.DeleteTask
-
Creates an instance of a
DeleteTaskrecord class. - description() - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.CreateTask
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.UpdateTask
-
Returns the value of the
descriptionrecord component. - detectHeight() - Static method in class com.guinetik.hexafun.examples.tui.HexaTerminal
-
Detect the current terminal height.
- detectHeight(int, int) - Static method in class com.guinetik.hexafun.examples.tui.HexaTerminal
-
Detect terminal height with custom bounds.
- detectSize() - Static method in class com.guinetik.hexafun.examples.tui.HexaTerminal
-
Detect terminal size as [rows, columns].
- detectWidth() - Static method in class com.guinetik.hexafun.examples.tui.HexaTerminal
-
Detect the current terminal width.
- detectWidth(int, int) - Static method in class com.guinetik.hexafun.examples.tui.HexaTerminal
-
Detect terminal width with custom bounds.
- dim(String) - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Dim text shorthand
- DIM - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- disk() - Method in record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Returns the value of the
diskrecord component. - diskWarning() - Method in record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Check if disk usage is above warning threshold.
- doesNotHaveUseCase(String) - Method in class com.guinetik.hexafun.testing.HexaTest
-
Verify that a use case does not exist in the app.
- DOING - Enum constant in enum class com.guinetik.hexafun.examples.tasks.TaskStatus
-
Task is currently being worked on
- DONE - Enum constant in enum class com.guinetik.hexafun.examples.tasks.TaskStatus
-
Task has been completed
- dsl() - Static method in class com.guinetik.hexafun.HexaFun
E
- empty() - Static method in interface com.guinetik.hexafun.examples.tui.View
-
Empty view - renders nothing.
- EMPTY_STAR - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- equals(Object) - Method in record class com.guinetik.hexafun.examples.counter.Counter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.AddInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.DecrementInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.IncrementInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.CompleteTask
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.CreateTask
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.DeleteTask
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.FindTask
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.StartTask
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.UpdateTask
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.guinetik.hexafun.hexa.AdapterKey
- equals(Object) - Method in class com.guinetik.hexafun.hexa.UseCaseKey
- error() - Method in interface com.guinetik.hexafun.fun.Result
- error() - Method in class com.guinetik.hexafun.fun.Result.Failure
- error() - Method in class com.guinetik.hexafun.fun.Result.Success
- error(String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Error message.
- ExamplesLauncher - Class in com.guinetik.hexafun.examples
-
Interactive launcher for HexaFun examples.
- ExamplesLauncher() - Constructor for class com.guinetik.hexafun.examples.ExamplesLauncher
- exists(String) - Method in interface com.guinetik.hexafun.examples.tasks.TaskRepository
-
Check if a task exists.
- expect(Predicate<O>, String) - Method in class com.guinetik.hexafun.testing.UseCaseTest
-
Execute the use case and verify the result matches a predicate.
- expectException(Class<? extends Exception>) - Method in class com.guinetik.hexafun.testing.UseCaseTest
-
Execute the use case and verify it throws a specific exception.
- expectFailure(Consumer<String>) - Method in class com.guinetik.hexafun.testing.UseCaseTest
-
Execute the use case and verify the result is a failure.
- expectOk(Consumer<O>) - Method in class com.guinetik.hexafun.testing.UseCaseTest
-
Execute the use case and verify the result is successful.
F
- fail(String) - Static method in interface com.guinetik.hexafun.fun.Result
- Failure(String) - Constructor for class com.guinetik.hexafun.fun.Result.Failure
- FIND - Static variable in interface com.guinetik.hexafun.examples.tasks.TaskUseCases
- findAll() - Method in class com.guinetik.hexafun.examples.tasks.InMemoryTaskRepository
- findAll() - Method in interface com.guinetik.hexafun.examples.tasks.TaskRepository
-
Find all tasks.
- findAll() - Method in interface com.guinetik.hexafun.hexa.HexaRepo
-
Retrieves all entities from the repository.
- findAll() - Method in class com.guinetik.hexafun.hexa.InMemoryHexaRepo
- findAll(int, int) - Method in interface com.guinetik.hexafun.hexa.HexaRepo
-
Retrieves a paginated list of entities.
- findAll(int, int) - Method in class com.guinetik.hexafun.hexa.InMemoryHexaRepo
- findBy(DirectoryStream.Filter<T>) - Method in interface com.guinetik.hexafun.hexa.HexaRepo
-
Retrieves entities that match the given filter criteria.
- findBy(DirectoryStream.Filter<T>) - Method in class com.guinetik.hexafun.hexa.InMemoryHexaRepo
- findById(String) - Method in class com.guinetik.hexafun.examples.tasks.InMemoryTaskRepository
- findById(String) - Method in interface com.guinetik.hexafun.examples.tasks.TaskRepository
-
Find a task by ID.
- findById(String) - Method in interface com.guinetik.hexafun.hexa.HexaRepo
-
Finds an entity by its unique identifier.
- findById(String) - Method in class com.guinetik.hexafun.hexa.InMemoryHexaRepo
- findTask(String) - Method in class com.guinetik.hexafun.examples.tasks.TaskApp
- FindTask(String) - Constructor for record class com.guinetik.hexafun.examples.tasks.TaskInputs.FindTask
-
Creates an instance of a
FindTaskrecord class. - flatMap(Function<T, Result<U>>) - Method in class com.guinetik.hexafun.fun.Result.Failure
- flatMap(Function<T, Result<U>>) - Method in interface com.guinetik.hexafun.fun.Result
- flatMap(Function<T, Result<U>>) - Method in class com.guinetik.hexafun.fun.Result.Success
- fold(Function<String, U>, Function<T, U>) - Method in class com.guinetik.hexafun.fun.Result.Failure
- fold(Function<String, U>, Function<T, U>) - Method in interface com.guinetik.hexafun.fun.Result
- fold(Function<String, U>, Function<T, U>) - Method in class com.guinetik.hexafun.fun.Result.Success
- forApp(HexaApp) - Static method in class com.guinetik.hexafun.testing.HexaTest
-
Create a new HexaTest for the given app.
- format() - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Returns the value of the
formatrecord component. - from(Function<S, String>) - Static method in interface com.guinetik.hexafun.examples.tui.View
-
Create a view from a function.
- fromResult(Function<TasksTUI.State, Result<TasksTUI.State>>) - Static method in interface com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Action
-
Action from a Result-returning operation
G
- get() - Method in class com.guinetik.hexafun.fun.Result.Failure
- get() - Method in interface com.guinetik.hexafun.fun.Result
- get() - Method in class com.guinetik.hexafun.fun.Result.Success
- GET_ALL - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonKeys
-
Get all metrics at once.
- GET_CPU - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonKeys
-
Get CPU usage.
- GET_DISK - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonKeys
-
Get disk usage.
- GET_MEMORY - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonKeys
-
Get memory usage.
- getAllMetrics() - Method in interface com.guinetik.hexafun.examples.sysmon.MetricsProvider
-
Get all system metrics at once.
- GetAllMetricsHandler(HexaApp) - Constructor for class com.guinetik.hexafun.examples.sysmon.SysmonHandlers.GetAllMetricsHandler
- getApp() - Method in class com.guinetik.hexafun.examples.counter.CounterApp
-
Get the underlying HexaApp for testing.
- getApp() - Method in class com.guinetik.hexafun.examples.tasks.TaskApp
-
Get the underlying HexaApp (for testing/introspection).
- GetCpuHandler(HexaApp) - Constructor for class com.guinetik.hexafun.examples.sysmon.SysmonHandlers.GetCpuHandler
- getCpuUsage() - Method in interface com.guinetik.hexafun.examples.sysmon.MetricsProvider
-
Get current CPU usage percentage.
- getCpuUsage() - Method in class com.guinetik.hexafun.examples.sysmon.MockMetricsProvider
- getCpuUsage() - Method in class com.guinetik.hexafun.examples.sysmon.OshiMetricsProvider
- getCpuUsage() - Method in class com.guinetik.hexafun.examples.sysmon.RealMetricsProvider
- GetDiskHandler(HexaApp) - Constructor for class com.guinetik.hexafun.examples.sysmon.SysmonHandlers.GetDiskHandler
- getDiskUsage() - Method in interface com.guinetik.hexafun.examples.sysmon.MetricsProvider
-
Get current disk usage percentage.
- getDiskUsage() - Method in class com.guinetik.hexafun.examples.sysmon.MockMetricsProvider
- getDiskUsage() - Method in class com.guinetik.hexafun.examples.sysmon.OshiMetricsProvider
- getDiskUsage() - Method in class com.guinetik.hexafun.examples.sysmon.RealMetricsProvider
- GetMemoryHandler(HexaApp) - Constructor for class com.guinetik.hexafun.examples.sysmon.SysmonHandlers.GetMemoryHandler
- getMemoryUsage() - Method in interface com.guinetik.hexafun.examples.sysmon.MetricsProvider
-
Get current memory usage percentage.
- getMemoryUsage() - Method in class com.guinetik.hexafun.examples.sysmon.MockMetricsProvider
- getMemoryUsage() - Method in class com.guinetik.hexafun.examples.sysmon.OshiMetricsProvider
- getMemoryUsage() - Method in class com.guinetik.hexafun.examples.sysmon.RealMetricsProvider
- getRepository() - Method in class com.guinetik.hexafun.examples.tasks.TaskApp
-
Get the repository port directly.
- getSizeString() - Static method in class com.guinetik.hexafun.examples.tui.HexaTerminal
-
Get terminal size as "ROWSxCOLS" string.
- GREEN - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
H
- handle(UseCase<I, Result<O>>) - Method in class com.guinetik.hexafun.hexa.UseCaseValidationStep
-
Define the handler that runs after all validators pass.
- handle(UseCase<I, R>) - Method in class com.guinetik.hexafun.hexa.UseCaseInputStep
-
Define the core logic of the use case without validation.
- hasAdapter(AdapterKey<?, ?>) - Method in class com.guinetik.hexafun.HexaApp
-
Check if an adapter is registered for the given key.
- hashCode() - Method in record class com.guinetik.hexafun.examples.counter.Counter
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.AddInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.DecrementInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.IncrementInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.CompleteTask
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.CreateTask
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.DeleteTask
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.FindTask
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.StartTask
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.UpdateTask
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
Returns a hash code value for this object.
- hashCode() - Method in class com.guinetik.hexafun.hexa.AdapterKey
- hashCode() - Method in class com.guinetik.hexafun.hexa.UseCaseKey
- hasPort(Class<?>) - Method in class com.guinetik.hexafun.hexa.UseCaseHandler
-
Check if a port is registered for the given type.
- hasPort(Class<?>) - Method in class com.guinetik.hexafun.HexaApp
-
Check if a port is registered for the given type.
- hasUseCase(String) - Method in class com.guinetik.hexafun.testing.HexaTest
-
Verify that a use case exists in the app.
- hasWarnings() - Method in record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Check if any metric is above warning threshold.
- header() - Static method in class com.guinetik.hexafun.examples.sysmon.SysmonView
-
Render the header box - responsive to terminal width.
- header() - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Views
- header(String, int, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Simple header without subtitle.
- header(String, String, int, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Render a boxed header with title and optional subtitle.
- healthy() - Static method in class com.guinetik.hexafun.examples.sysmon.MockMetricsProvider
-
Create with all healthy values.
- HexaApp - Class in com.guinetik.hexafun
-
Core container for a Hexagonal Architecture application.
- HexaApp() - Constructor for class com.guinetik.hexafun.HexaApp
- HexaAppImpl - Class in com.guinetik.hexafun
-
Default implementation of HexaApp.
- HexaAppImpl() - Constructor for class com.guinetik.hexafun.HexaAppImpl
-
Create a new empty HexaAppImpl.
- HexaFun - Class in com.guinetik.hexafun
- HexaRepo<T> - Interface in com.guinetik.hexafun.hexa
-
Generic repository interface for entity persistence operations.
- HexaTerminal - Class in com.guinetik.hexafun.examples.tui
-
Cross-platform terminal utility functions for TUI applications.
- HexaTest - Class in com.guinetik.hexafun.testing
-
Entry point for the HexaFun testing DSL.
- HIDE_CURSOR - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- hideCursor() - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Hide cursor (side effect)
- hr(int) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Horizontal rule/divider.
I
- ICON_ADD - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_CHECK_ALL - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_DASHBOARD - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_EDIT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_EYE - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_FLAME - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_FOLDER - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_GEAR - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_HOME - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_INBOX - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_INFO - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_SEARCH - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_TASK - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_TERMINAL - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- ICON_TRASH - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- id() - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Returns the value of the
idrecord component. - increment() - Method in record class com.guinetik.hexafun.examples.counter.Counter
- increment(Counter) - Method in class com.guinetik.hexafun.examples.counter.CounterApp
-
Increment a counter.
- INCREMENT - Static variable in interface com.guinetik.hexafun.examples.counter.CounterUseCases
- IncrementInput(Counter) - Constructor for record class com.guinetik.hexafun.examples.counter.CounterInputs.IncrementInput
-
Creates an instance of a
IncrementInputrecord class. - info(String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Info message.
- initial(TaskApp) - Static method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
Create initial state
- initial(HexaApp) - Static method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Create initial state with default values.
- InMemoryHexaRepo<T> - Class in com.guinetik.hexafun.hexa
-
Generic in-memory implementation of the HexaRepo interface.
- InMemoryHexaRepo() - Constructor for class com.guinetik.hexafun.hexa.InMemoryHexaRepo
-
Creates a new InMemoryHexaRepo with default behavior.
- InMemoryHexaRepo(Function<T, String>) - Constructor for class com.guinetik.hexafun.hexa.InMemoryHexaRepo
-
Creates a new InMemoryHexaRepo with default UUID generation.
- InMemoryHexaRepo(Function<T, String>, Function<T, T>) - Constructor for class com.guinetik.hexafun.hexa.InMemoryHexaRepo
-
Creates a new InMemoryHexaRepo with custom ID extraction and generation.
- InMemoryTaskRepository - Class in com.guinetik.hexafun.examples.tasks
-
In-memory implementation of TaskRepository.
- InMemoryTaskRepository() - Constructor for class com.guinetik.hexafun.examples.tasks.InMemoryTaskRepository
- invoke(UseCaseKey<I, O>, I) - Method in class com.guinetik.hexafun.HexaApp
-
Invoke a use case using a type-safe key.
- invokeByName(String, I) - Method in class com.guinetik.hexafun.HexaApp
-
Invoke a use case by name (for internal/testing use).
- isActive() - Method in enum class com.guinetik.hexafun.examples.tasks.TaskStatus
-
Check if this status represents an active task.
- isCompleted() - Method in enum class com.guinetik.hexafun.examples.tasks.TaskStatus
-
Check if this status represents a completed task.
- isFailure() - Method in class com.guinetik.hexafun.fun.Result.Failure
- isFailure() - Method in interface com.guinetik.hexafun.fun.Result
- isFailure() - Method in class com.guinetik.hexafun.fun.Result.Success
- isKanban() - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
Derived state
- isSuccess() - Method in class com.guinetik.hexafun.fun.Result.Failure
- isSuccess() - Method in interface com.guinetik.hexafun.fun.Result
- isSuccess() - Method in class com.guinetik.hexafun.fun.Result.Success
- isWindows() - Static method in class com.guinetik.hexafun.examples.tui.HexaTerminal
-
Check if running on Windows.
- ITALIC - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
J
- JSON - Enum constant in enum class com.guinetik.hexafun.examples.sysmon.SysmonFormat
- JSON_ADAPTER - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonAdapters
-
JSON format for APIs and data interchange (pretty-printed).
K
- kanban() - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Views
L
- lines(String...) - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Join strings with newlines
- LIST - Static variable in interface com.guinetik.hexafun.examples.tasks.TaskUseCases
- listItem(int, String, String, String, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Render a numbered list item.
- listTasks() - Method in class com.guinetik.hexafun.examples.tasks.TaskApp
M
- MAGENTA - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- main(String[]) - Static method in class com.guinetik.hexafun.examples.counter.CounterApp
- main(String[]) - Static method in class com.guinetik.hexafun.examples.ExamplesLauncher
- main(String[]) - Static method in class com.guinetik.hexafun.examples.sysmon.SysmonTUI
- main(String[]) - Static method in class com.guinetik.hexafun.examples.tasks.TaskApp
- main(String[]) - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI
- map(Function<O, T>) - Method in class com.guinetik.hexafun.testing.UseCaseTest
-
Map the result using a transformer function for further verification.
- map(Function<T, U>) - Method in class com.guinetik.hexafun.fun.Result.Failure
- map(Function<T, U>) - Method in interface com.guinetik.hexafun.fun.Result
- map(Function<T, U>) - Method in class com.guinetik.hexafun.fun.Result.Success
- memory() - Method in record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Returns the value of the
memoryrecord component. - memoryWarning() - Method in record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Check if memory usage is above warning threshold.
- menu() - Static method in class com.guinetik.hexafun.examples.sysmon.SysmonView
-
Render the format selection menu.
- menu() - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Views
- menuItem(String, String, String, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Menu item with key shortcut.
- metrics() - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Get current system metrics by invoking the GET_ALL use case.
- metrics() - Static method in class com.guinetik.hexafun.examples.sysmon.SysmonView
-
Render the metrics output based on selected format - responsive.
- MetricsProvider - Interface in com.guinetik.hexafun.examples.sysmon
-
Output port for retrieving system metrics.
- MIN_HEIGHT - Static variable in class com.guinetik.hexafun.examples.tui.HexaTerminal
-
Default minimum height
- MIN_WIDTH - Static variable in class com.guinetik.hexafun.examples.tui.HexaTerminal
-
Default minimum width for TUI applications
- MockMetricsProvider - Class in com.guinetik.hexafun.examples.sysmon
-
Mock implementation of MetricsProvider for testing and demos.
- MockMetricsProvider(double, double, double) - Constructor for class com.guinetik.hexafun.examples.sysmon.MockMetricsProvider
-
Create with fixed values.
N
- name() - Method in class com.guinetik.hexafun.hexa.AdapterKey
-
Get the string name of this adapter key.
- name() - Method in class com.guinetik.hexafun.hexa.UseCaseKey
-
Get the string name of this use case key.
- newline() - Static method in interface com.guinetik.hexafun.examples.tui.View
-
Newline view - renders a blank line.
O
- of(int) - Static method in record class com.guinetik.hexafun.examples.counter.Counter
- of(String) - Static method in interface com.guinetik.hexafun.examples.tui.View
-
Literal view - always renders the same string.
- of(String) - Static method in class com.guinetik.hexafun.hexa.AdapterKey
-
Create a new type-safe adapter key.
- of(String) - Static method in class com.guinetik.hexafun.hexa.UseCaseKey
-
Create a new type-safe use case key.
- of(UnaryOperator<TasksTUI.State>) - Static method in interface com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Action
-
Action that always succeeds with given state transform
- ok(T) - Static method in interface com.guinetik.hexafun.fun.Result
- OshiMetricsProvider - Class in com.guinetik.hexafun.examples.sysmon
-
Cross-platform metrics provider using OSHI library.
- OshiMetricsProvider() - Constructor for class com.guinetik.hexafun.examples.sysmon.OshiMetricsProvider
P
- pad(String, int) - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Right-pad string to width
- padLeft(String, int) - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Left-pad string to width
- PL_LEFT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- PL_LEFT_SOFT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- PL_RIGHT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- PL_RIGHT_SOFT - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- port(Class<T>) - Method in class com.guinetik.hexafun.hexa.UseCaseHandler
-
Convenience method to retrieve a port by its type.
- port(Class<T>) - Method in class com.guinetik.hexafun.HexaApp
-
Retrieve a port by its type.
- port(Class<T>, T) - Method in class com.guinetik.hexafun.HexaApp
-
Register a port (output adapter) by its type.
- ports - Variable in class com.guinetik.hexafun.HexaApp
- progressBar(int, int, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Render a progress bar.
- PROMETHEUS - Enum constant in enum class com.guinetik.hexafun.examples.sysmon.SysmonFormat
- PROMETHEUS_ADAPTER - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonAdapters
-
Prometheus exposition format for monitoring systems.
- prompt() - Static method in class com.guinetik.hexafun.examples.sysmon.SysmonView
-
Render input prompt.
- prompt() - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Views
- prompt(String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Default prompt with ">".
- prompt(String, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Input prompt.
Q
- quickAction(TasksTUI.State, int) - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Actions
-
Quick action: advances task through workflow based on current status
R
- random() - Static method in class com.guinetik.hexafun.examples.sysmon.MockMetricsProvider
-
Create with random values within realistic ranges.
- RealMetricsProvider - Class in com.guinetik.hexafun.examples.sysmon
-
Real implementation of MetricsProvider using JVM/OS metrics.
- RealMetricsProvider() - Constructor for class com.guinetik.hexafun.examples.sysmon.RealMetricsProvider
- RED - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- refresh() - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Refresh state, re-detecting terminal width.
- refreshWidth() - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
- registeredAdapters() - Method in class com.guinetik.hexafun.HexaApp
-
Get all registered adapter names.
- registeredPorts() - Method in class com.guinetik.hexafun.HexaApp
-
Get all registered port types.
- registeredUseCases() - Method in class com.guinetik.hexafun.HexaApp
-
Get the names of all registered use cases.
- registeredUseCases() - Method in class com.guinetik.hexafun.HexaAppImpl
- reopen() - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Move task back to TODO.
- repeat(char, int) - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Repeat a character n times
- repeat(String, int) - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Repeat a string n times
- RESET - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- Result<T> - Interface in com.guinetik.hexafun.fun
- Result.Failure<T> - Class in com.guinetik.hexafun.fun
- Result.Success<T> - Class in com.guinetik.hexafun.fun
- run() - Method in class com.guinetik.hexafun.examples.sysmon.SysmonTUI
-
Main run loop - renders state, waits for input, processes transitions.
- run() - Method in class com.guinetik.hexafun.HexaApp
-
Optional startup logic.
- run(TaskApp) - Method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI
-
Main loop: render → read → process → repeat
- running() - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Returns the value of the
runningrecord component. - running() - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
Returns the value of the
runningrecord component.
S
- save(Task) - Method in class com.guinetik.hexafun.examples.tasks.InMemoryTaskRepository
- save(Task) - Method in interface com.guinetik.hexafun.examples.tasks.TaskRepository
-
Save a task (create or update).
- save(T) - Method in interface com.guinetik.hexafun.hexa.HexaRepo
-
Saves a single entity to the repository.
- save(T) - Method in class com.guinetik.hexafun.hexa.InMemoryHexaRepo
- saveAll(List<T>) - Method in interface com.guinetik.hexafun.hexa.HexaRepo
-
Saves multiple entities to the repository in a batch operation.
- saveAll(List<T>) - Method in class com.guinetik.hexafun.hexa.InMemoryHexaRepo
- screen() - Static method in class com.guinetik.hexafun.examples.sysmon.SysmonView
-
Compose the full screen view.
- screen() - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Views
-
The complete screen - composed from all views
- section(String, int) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Section divider with label.
- segment(String, int, String, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Powerline-style segment for stats bars.
- selectionItem(int, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Render a numbered selection item (for menus).
- separator(String, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Powerline separator arrow.
- SHOW_CURSOR - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- showCursor() - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Show cursor (side effect)
- STAR - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- start() - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Start working on this task (move to DOING).
- start(TasksTUI.State, String) - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Actions
- START - Static variable in interface com.guinetik.hexafun.examples.tasks.TaskUseCases
- startTask(String) - Method in class com.guinetik.hexafun.examples.tasks.TaskApp
- StartTask(String) - Constructor for record class com.guinetik.hexafun.examples.tasks.TaskInputs.StartTask
-
Creates an instance of a
StartTaskrecord class. - State(TaskApp, int, String, String, boolean) - Constructor for record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
Creates an instance of a
Staterecord class. - stats() - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Views
- status() - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Returns the value of the
statusrecord component. - status() - Static method in class com.guinetik.hexafun.examples.sysmon.SysmonView
-
Render status message.
- status() - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Returns the value of the
statusrecord component. - status() - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
Returns the value of the
statusrecord component. - status() - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Views
- status(String, String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Status message with arrow indicator.
- statusColor() - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Returns the value of the
statusColorrecord component. - statusColor() - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
Returns the value of the
statusColorrecord component. - stop() - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Signal that the TUI should stop.
- stop() - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
- success(String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Success message.
- Success(T) - Constructor for class com.guinetik.hexafun.fun.Result.Success
- SysmonAdapters - Class in com.guinetik.hexafun.examples.sysmon
-
Output adapters for SystemMetrics - transforms domain data to presentation formats.
- SysmonApp - Class in com.guinetik.hexafun.examples.sysmon
-
Factory for creating the System Monitor HexaApp instance.
- SysmonFormat - Enum Class in com.guinetik.hexafun.examples.sysmon
-
Output format options for the System Monitor.
- SysmonHandlers - Class in com.guinetik.hexafun.examples.sysmon
-
Use case handlers for system monitoring operations.
- SysmonHandlers.GetAllMetricsHandler - Class in com.guinetik.hexafun.examples.sysmon
-
Handler for GET_ALL use case.
- SysmonHandlers.GetCpuHandler - Class in com.guinetik.hexafun.examples.sysmon
-
Handler for GET_CPU use case.
- SysmonHandlers.GetDiskHandler - Class in com.guinetik.hexafun.examples.sysmon
-
Handler for GET_DISK use case.
- SysmonHandlers.GetMemoryHandler - Class in com.guinetik.hexafun.examples.sysmon
-
Handler for GET_MEMORY use case.
- SysmonKeys - Class in com.guinetik.hexafun.examples.sysmon
-
Type-safe keys for the system monitor use cases and adapters.
- SysmonState - Record Class in com.guinetik.hexafun.examples.sysmon
-
Immutable state for the System Monitor TUI.
- SysmonState(HexaApp, SysmonFormat, int, String, String, boolean) - Constructor for record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Creates an instance of a
SysmonStaterecord class. - SysmonTUI - Class in com.guinetik.hexafun.examples.sysmon
-
System Monitor TUI - interactive demo of UseCaseHandler and AdapterKey patterns.
- SysmonTUI() - Constructor for class com.guinetik.hexafun.examples.sysmon.SysmonTUI
- SysmonView - Class in com.guinetik.hexafun.examples.sysmon
-
Responsive view components for the System Monitor TUI.
- SystemMetrics - Record Class in com.guinetik.hexafun.examples.sysmon
-
Domain record representing system metrics.
- SystemMetrics(double, double, double) - Constructor for record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Creates an instance of a
SystemMetricsrecord class.
T
- Task - Record Class in com.guinetik.hexafun.examples.tasks
-
Immutable Task domain model with Kanban workflow status.
- Task(String, String, String, TaskStatus) - Constructor for record class com.guinetik.hexafun.examples.tasks.Task
-
Creates an instance of a
Taskrecord class. - TaskApp - Class in com.guinetik.hexafun.examples.tasks
-
Task application demonstrating the port registry feature.
- TaskApp(TaskRepository) - Constructor for class com.guinetik.hexafun.examples.tasks.TaskApp
-
Create a TaskApp with the given repository implementation.
- taskId() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.CompleteTask
-
Returns the value of the
taskIdrecord component. - taskId() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.DeleteTask
-
Returns the value of the
taskIdrecord component. - taskId() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.FindTask
-
Returns the value of the
taskIdrecord component. - taskId() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.StartTask
-
Returns the value of the
taskIdrecord component. - taskId() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.UpdateTask
-
Returns the value of the
taskIdrecord component. - TaskInputs - Interface in com.guinetik.hexafun.examples.tasks
-
Input records for task use cases.
- TaskInputs.CompleteTask - Record Class in com.guinetik.hexafun.examples.tasks
-
Input for completing a task (moving to DONE).
- TaskInputs.CreateTask - Record Class in com.guinetik.hexafun.examples.tasks
-
Input for creating a task.
- TaskInputs.DeleteTask - Record Class in com.guinetik.hexafun.examples.tasks
-
Input for deleting a task.
- TaskInputs.FindTask - Record Class in com.guinetik.hexafun.examples.tasks
-
Input for finding a task.
- TaskInputs.StartTask - Record Class in com.guinetik.hexafun.examples.tasks
-
Input for starting a task (moving to DOING).
- TaskInputs.UpdateTask - Record Class in com.guinetik.hexafun.examples.tasks
-
Input for updating a task.
- TaskRepository - Interface in com.guinetik.hexafun.examples.tasks
-
Output port for task persistence.
- tasks() - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
- tasks() - Static method in class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Views
- TaskStatus - Enum Class in com.guinetik.hexafun.examples.tasks
-
Task workflow status for Kanban-style management.
- TasksTUI - Class in com.guinetik.hexafun.examples.tasks.tui
-
Functional TUI for the Tasks application.
- TasksTUI() - Constructor for class com.guinetik.hexafun.examples.tasks.tui.TasksTUI
- TasksTUI.Action - Interface in com.guinetik.hexafun.examples.tasks.tui
-
Actions transform State → Result
. - TasksTUI.Actions - Class in com.guinetik.hexafun.examples.tasks.tui
-
Action implementations for each command.
- TasksTUI.State - Record Class in com.guinetik.hexafun.examples.tasks.tui
-
Immutable TUI state.
- TasksTUI.Views - Class in com.guinetik.hexafun.examples.tasks.tui
-
Pure view functions using the shared
Viewinterface. - TaskUseCases - Interface in com.guinetik.hexafun.examples.tasks
-
Type-safe use case keys for task operations.
- TaskValidators - Class in com.guinetik.hexafun.examples.tasks
-
Validation functions for task inputs.
- TaskValidators() - Constructor for class com.guinetik.hexafun.examples.tasks.TaskValidators
- test(UseCaseKey<I, O>) - Method in class com.guinetik.hexafun.HexaApp
-
Start testing a use case using a type-safe key.
- test(String) - Method in class com.guinetik.hexafun.testing.HexaTest
-
Start a test for the specified use case.
- title() - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Returns the value of the
titlerecord component. - title() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.CreateTask
-
Returns the value of the
titlerecord component. - title() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.UpdateTask
-
Returns the value of the
titlerecord component. - TO_CLI - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonKeys
-
Adapt to CLI format - plain text suitable for scripting.
- TO_JSON - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonKeys
-
Adapt to JSON format - machine-readable output.
- TO_PROMETHEUS - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonKeys
-
Adapt to Prometheus format - metrics exposition format.
- TO_TUI - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonKeys
-
Adapt to TUI format - colorful progress bars with box drawing.
- TODO - Enum constant in enum class com.guinetik.hexafun.examples.tasks.TaskStatus
-
Task is waiting to be started
- toString() - Method in record class com.guinetik.hexafun.examples.counter.Counter
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.AddInput
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.DecrementInput
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.counter.CounterInputs.IncrementInput
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.CompleteTask
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.CreateTask
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.DeleteTask
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.FindTask
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.StartTask
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.tasks.TaskInputs.UpdateTask
-
Returns a string representation of this record class.
- toString() - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
Returns a string representation of this record class.
- toString() - Method in class com.guinetik.hexafun.hexa.AdapterKey
- toString() - Method in class com.guinetik.hexafun.hexa.UseCaseKey
- truncate(String, int) - Static method in class com.guinetik.hexafun.examples.tui.Ansi
-
Truncate string with ellipsis if too long
- TUI - Enum constant in enum class com.guinetik.hexafun.examples.sysmon.SysmonFormat
- TUI_ADAPTER - Static variable in class com.guinetik.hexafun.examples.sysmon.SysmonAdapters
-
TUI format with colorful progress bars and warning indicators.
U
- UNDERLINE - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- update(String, T) - Method in interface com.guinetik.hexafun.hexa.HexaRepo
-
Updates an existing entity identified by its ID.
- update(String, T) - Method in class com.guinetik.hexafun.hexa.InMemoryHexaRepo
- UPDATE - Static variable in interface com.guinetik.hexafun.examples.tasks.TaskUseCases
- updateTask(String, String, String) - Method in class com.guinetik.hexafun.examples.tasks.TaskApp
- UpdateTask(String, String, String) - Constructor for record class com.guinetik.hexafun.examples.tasks.TaskInputs.UpdateTask
-
Creates an instance of a
UpdateTaskrecord class. - useCase(UseCaseKey<I, O>) - Method in class com.guinetik.hexafun.hexa.UseCaseBuilder
-
Start defining a use case with a type-safe key.
- useCase(String) - Method in class com.guinetik.hexafun.testing.HexaTest
-
Start testing a use case.
- UseCase<I,
O> - Interface in com.guinetik.hexafun.hexa -
Core abstraction of business logic in Hexagonal Architecture.
- UseCaseBuilder - Class in com.guinetik.hexafun.hexa
-
Builder for creating HexaApp instances with use cases, ports, and adapters.
- UseCaseBuilder() - Constructor for class com.guinetik.hexafun.hexa.UseCaseBuilder
- UseCaseHandler<I,
O> - Class in com.guinetik.hexafun.hexa -
Abstract base class for use case handlers that need access to ports.
- UseCaseHandler(HexaApp) - Constructor for class com.guinetik.hexafun.hexa.UseCaseHandler
-
Creates a new handler with access to the given HexaApp.
- UseCaseInputStep<I,
O> - Class in com.guinetik.hexafun.hexa -
Builder step for defining the input handling of a use case.
- UseCaseInputStep(String, UseCaseBuilder) - Constructor for class com.guinetik.hexafun.hexa.UseCaseInputStep
- UseCaseKey<I,
O> - Class in com.guinetik.hexafun.hexa -
Type-safe key for use case registration and invocation.
- useCases - Variable in class com.guinetik.hexafun.HexaApp
- UseCaseTest<I,
O> - Class in com.guinetik.hexafun.testing -
A fluent API for testing HexaFun use cases.
- UseCaseValidationStep<I> - Class in com.guinetik.hexafun.hexa
-
Builder step for defining validation and handler logic.
- UseCaseValidationStep(String, UseCaseBuilder, ValidationPort<I>) - Constructor for class com.guinetik.hexafun.hexa.UseCaseValidationStep
V
- validate(ValidationPort<I>) - Method in class com.guinetik.hexafun.hexa.UseCaseInputStep
-
Add a validation step before the handler.
- validate(ValidationPort<I>) - Method in class com.guinetik.hexafun.hexa.UseCaseValidationStep
-
Add another validator to the chain.
- validate(I) - Method in interface com.guinetik.hexafun.hexa.ValidationPort
-
Validate input data and return a result.
- validateAddAmount(CounterInputs.AddInput) - Static method in class com.guinetik.hexafun.examples.counter.CounterValidators
-
Validates that the amount in AddInput is within bounds [-100, 100].
- validateAddCounter(CounterInputs.AddInput) - Static method in class com.guinetik.hexafun.examples.counter.CounterValidators
-
Validates that the counter in AddInput is not null.
- validateCompleteTaskId(TaskInputs.CompleteTask) - Static method in class com.guinetik.hexafun.examples.tasks.TaskValidators
- validateCreateTitle(TaskInputs.CreateTask) - Static method in class com.guinetik.hexafun.examples.tasks.TaskValidators
- validateCreateTitleLength(TaskInputs.CreateTask) - Static method in class com.guinetik.hexafun.examples.tasks.TaskValidators
- validateDecrement(CounterInputs.DecrementInput) - Static method in class com.guinetik.hexafun.examples.counter.CounterValidators
-
Validates that the counter in DecrementInput is not null.
- validateDeleteTaskId(TaskInputs.DeleteTask) - Static method in class com.guinetik.hexafun.examples.tasks.TaskValidators
- validateFindTaskId(TaskInputs.FindTask) - Static method in class com.guinetik.hexafun.examples.tasks.TaskValidators
- validateIncrement(CounterInputs.IncrementInput) - Static method in class com.guinetik.hexafun.examples.counter.CounterValidators
-
Validates that the counter in IncrementInput is not null.
- validateStartTaskId(TaskInputs.StartTask) - Static method in class com.guinetik.hexafun.examples.tasks.TaskValidators
- validateUpdateTaskId(TaskInputs.UpdateTask) - Static method in class com.guinetik.hexafun.examples.tasks.TaskValidators
- validateUpdateTitle(TaskInputs.UpdateTask) - Static method in class com.guinetik.hexafun.examples.tasks.TaskValidators
- ValidationPort<I> - Interface in com.guinetik.hexafun.hexa
-
Port for validating input data before processing by a use case.
- value() - Method in record class com.guinetik.hexafun.examples.counter.Counter
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class com.guinetik.hexafun.examples.sysmon.SysmonFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.guinetik.hexafun.examples.tasks.TaskStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.guinetik.hexafun.examples.sysmon.SysmonFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.guinetik.hexafun.examples.tasks.TaskStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- View<S> - Interface in com.guinetik.hexafun.examples.tui
-
A View is a pure function from State to String.
- Views() - Constructor for class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.Views
W
- warning(String) - Static method in class com.guinetik.hexafun.examples.tui.Widgets
-
Warning message.
- WARNING_THRESHOLD - Static variable in record class com.guinetik.hexafun.examples.sysmon.SystemMetrics
-
Threshold for warning indicators.
- when(Predicate<S>, View<S>) - Static method in interface com.guinetik.hexafun.examples.tui.View
-
Conditional view with empty fallback.
- when(Predicate<S>, View<S>, View<S>) - Static method in interface com.guinetik.hexafun.examples.tui.View
-
Conditional view - renders one of two views based on predicate.
- WHITE - Static variable in class com.guinetik.hexafun.examples.tui.Ansi
- Widgets - Class in com.guinetik.hexafun.examples.tui
-
Reusable TUI widget builders.
- width() - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Returns the value of the
widthrecord component. - width() - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
Returns the value of the
widthrecord component. - with(I) - Method in class com.guinetik.hexafun.testing.UseCaseTest
-
Specify the input for the use case.
- withAdapter(AdapterKey<From, To>, Function<From, To>) - Method in class com.guinetik.hexafun.hexa.UseCaseBuilder
-
Register an adapter with a type-safe key.
- withAdapter(AdapterKey<From, To>, Function<From, To>) - Method in class com.guinetik.hexafun.HexaApp
-
Register an adapter with a type-safe key.
- withAdapter(String, Function<From, To>) - Method in class com.guinetik.hexafun.HexaApp
-
Register an adapter by name (used internally by builder).
- withDescription(String) - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Update the description.
- withFormat(SysmonFormat) - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Transition to a new output format.
- withInMemoryRepo() - Static method in class com.guinetik.hexafun.examples.tasks.TaskApp
-
Create a TaskApp with an in-memory repository.
- withPort(Class<T>, T) - Method in class com.guinetik.hexafun.hexa.UseCaseBuilder
-
Register a port (output adapter) by its type.
- withStatus(TaskStatus) - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Update the status.
- withStatus(String, String) - Method in record class com.guinetik.hexafun.examples.sysmon.SysmonState
-
Set a status message.
- withStatus(String, String) - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
-
State transitions - all return new State
- withTitle(String) - Method in record class com.guinetik.hexafun.examples.tasks.Task
-
Update the title.
- withUseCase(UseCaseKey<I, O>, UseCase<I, O>) - Method in class com.guinetik.hexafun.HexaApp
-
Add a use case using a type-safe key.
- withUseCase(String, UseCase<I, O>) - Method in class com.guinetik.hexafun.HexaApp
-
Add a use case to this HexaApp (used internally by builder).
- withWarnings() - Static method in class com.guinetik.hexafun.examples.sysmon.MockMetricsProvider
-
Create with values designed to show warnings.
- withWidth(int) - Method in record class com.guinetik.hexafun.examples.tasks.tui.TasksTUI.State
Y
Z
A B C D E F G H I J K L M N O P Q R S T U V W Y ZAll Classes and Interfaces|All Packages|Constant Field Values