Index

A C D E F G H I M O R S T V W 
All Classes and Interfaces|All Packages

A

allocate(String, String) - Method in class io.klib.swtbot.support.ArtifactPaths
Reserves a unique empty file, not a completed screenshot.
ArtifactPaths - Class in io.klib.swtbot.support
Creates isolated run/test directories and reserves unique PNG artifact paths.
ArtifactPaths(Path, String) - Constructor for class io.klib.swtbot.support.ArtifactPaths
Creates a new run directory below the normalized absolute output root.

C

capture(String, CaptureMode, Supplier<Shell>) - Method in class io.klib.swtbot.support.Screenshots
Captures one PNG, returning skipped/failed outcomes when evidence is unavailable.
CAPTURED - Enum constant in enum class io.klib.swtbot.support.CaptureResult.Status
A PNG was written successfully.
CaptureMode - Enum Class in io.klib.swtbot.support
Selects the captured pixel region; screen-based modes can expose private content.
CaptureOptions - Record Class in io.klib.swtbot.support
Immutable capture settings.
CaptureOptions(Path, Duration, List<CaptureMode>) - Constructor for record class io.klib.swtbot.support.CaptureOptions
Validates options and copies the mode list.
CaptureResult - Record Class in io.klib.swtbot.support
Capture outcome; no constructor validation is performed on caller-created results.
CaptureResult(CaptureResult.Status, CaptureMode, Path, int, int, String, Throwable) - Constructor for record class io.klib.swtbot.support.CaptureResult
Creates an instance of a CaptureResult record class.
CaptureResult.Status - Enum Class in io.klib.swtbot.support
Whether evidence was written, unavailable, or failed during capture.
cause() - Method in record class io.klib.swtbot.support.CaptureResult
Returns the value of the cause record component.
checkpoint(String, Supplier<Shell>) - Method in class io.klib.swtbot.support.Screenshots
Captures each configured mode sequentially, with a separate timeout per mode.

D

defaults(Path) - Static method in record class io.klib.swtbot.support.CaptureOptions
Uses client-area capture only and a five-second completion budget.
DESKTOP - Enum constant in enum class io.klib.swtbot.support.CaptureMode
Captures display bounds, potentially including other applications and monitors.
directory() - Method in class io.klib.swtbot.support.ArtifactPaths
Returns this run's test directory.
directory() - Method in class io.klib.swtbot.support.Screenshots
Returns the directory containing this instance's artifacts.

E

equals(Object) - Method in record class io.klib.swtbot.support.CaptureOptions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.klib.swtbot.support.CaptureResult
Indicates whether some other object is "equal to" this one.

F

FAILED - Enum constant in enum class io.klib.swtbot.support.CaptureResult.Status
Capture, dispatch or file writing failed.
failure(String, Supplier<Shell>, Throwable) - Method in class io.klib.swtbot.support.Screenshots
Diagnoses an original failure at most once by identity within this instance.

G

guard(String, Supplier<Shell>, Screenshots.Action) - Method in class io.klib.swtbot.support.Screenshots
Runs an action on the calling thread; diagnoses failures before caller teardown and rethrows the same original throwable, never a replacement diagnostic error.

H

hashCode() - Method in record class io.klib.swtbot.support.CaptureOptions
Returns a hash code value for this object.
hashCode() - Method in record class io.klib.swtbot.support.CaptureResult
Returns a hash code value for this object.
height() - Method in record class io.klib.swtbot.support.CaptureResult
Returns the value of the height record component.

I

io.klib.swtbot.support - package io.klib.swtbot.support
SWT-only screenshots with explicit application UI ownership and isolated artifacts.

M

mode() - Method in record class io.klib.swtbot.support.CaptureResult
Returns the value of the mode record component.
modes() - Method in record class io.klib.swtbot.support.CaptureOptions
Returns the value of the modes record component.

O

outputDirectory() - Method in record class io.klib.swtbot.support.CaptureOptions
Returns the value of the outputDirectory record component.
outputPath() - Method in record class io.klib.swtbot.support.CaptureResult
Returns the value of the outputPath record component.

R

reason() - Method in record class io.klib.swtbot.support.CaptureResult
Returns the value of the reason record component.
requireCaptured() - Method in record class io.klib.swtbot.support.CaptureResult
Requires actual evidence rather than treating skipped capture as success.
requireCheckpoint(String, Supplier<Shell>) - Method in class io.klib.swtbot.support.Screenshots
Captures all configured modes and requires every outcome to be captured.
run() - Method in interface io.klib.swtbot.support.Screenshots.Action
Performs a test action on the calling thread.

S

Screenshots - Class in io.klib.swtbot.support
Captures screenshots using an explicitly supplied, existing application Display.
Screenshots(CaptureOptions, String, Supplier<Display>) - Constructor for class io.klib.swtbot.support.Screenshots
Creates isolated artifact directories without obtaining or creating a Display.
Screenshots.Action - Interface in io.klib.swtbot.support
Test action that may throw any original test failure.
SHELL_CLIENT_AREA - Enum constant in enum class io.klib.swtbot.support.CaptureMode
Captures the shell client area directly, excluding window decorations.
SHELL_DISPLAY_BOUNDS - Enum constant in enum class io.klib.swtbot.support.CaptureMode
Captures the shell's display rectangle, including decorations and possible occlusion.
SKIPPED - Enum constant in enum class io.klib.swtbot.support.CaptureResult.Status
No usable visible application shell/display was available.
status() - Method in record class io.klib.swtbot.support.CaptureResult
Returns the value of the status record component.
suffix() - Method in enum class io.klib.swtbot.support.CaptureMode
Returns the artifact label for this region.

T

timeout() - Method in record class io.klib.swtbot.support.CaptureOptions
Returns the value of the timeout record component.
toString() - Method in record class io.klib.swtbot.support.CaptureOptions
Returns a string representation of this record class.
toString() - Method in record class io.klib.swtbot.support.CaptureResult
Returns a string representation of this record class.

V

valueOf(String) - Static method in enum class io.klib.swtbot.support.CaptureMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.klib.swtbot.support.CaptureResult.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.klib.swtbot.support.CaptureMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.klib.swtbot.support.CaptureResult.Status
Returns an array containing the constants of this enum class, in the order they are declared.

W

width() - Method in record class io.klib.swtbot.support.CaptureResult
Returns the value of the width record component.
A C D E F G H I M O R S T V W 
All Classes and Interfaces|All Packages