Index
All Classes and Interfaces|All Packages
A
- actual(Object) - Static method in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decorate an object using unified decorating scheme.
- addLog(LogEntry) - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Add the log entry into the current log.
B
- black - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Color
-
Black color.
- blue - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Color
-
Blue color.
- bold - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Modifier
-
Bold modifier.
- bright - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Modifier
-
Bright modifier.
- build() - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Get the final
Result
from this builder.
C
- color() - Method in record class org.fedoraproject.javapackages.validator.spi.Decoration
-
Returns the value of the
color
record component. - custom(Object, Decoration) - Static method in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decorate an object using custom decorations.
- cyan - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Color
-
Cyan color.
D
- debug - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.LogEvent
-
A debug message that is useful when debugging the validator.
- debug(String, Decorated...) - Static method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
- debug(String, Decorated...) - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Add a log entry of type
LogEvent.debug
- Decorated - Class in org.fedoraproject.javapackages.validator.spi
-
Class representing a decorated for displaying.
- Decorated(String, Decoration) - Constructor for class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decorate an object using custom decorations.
- Decoration - Record Class in org.fedoraproject.javapackages.validator.spi
-
A record representing possible decorations applied to an object.
- Decoration(Optional<Decoration.Color>, Decoration.Modifier...) - Constructor for record class org.fedoraproject.javapackages.validator.spi.Decoration
-
Creates an instance of a
Decoration
record class. - Decoration(Decoration.Color, Decoration.Modifier...) - Constructor for record class org.fedoraproject.javapackages.validator.spi.Decoration
-
Construct a decoration using a color and optional modifiers.
- Decoration(Decoration.Modifier...) - Constructor for record class org.fedoraproject.javapackages.validator.spi.Decoration
-
Construct a decoration using the default color and optional modifiers.
- DECORATION_ACTUAL - Static variable in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decoration used for actual values found during validation.
- DECORATION_EXPECTED - Static variable in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decoration used for values expected to be found during validation.
- DECORATION_OUTER - Static variable in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decoration used for objects which hold inspected values.
- DECORATION_RPM - Static variable in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decoration used for RPM file names that are validated.
- DECORATION_STRUCT - Static variable in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decoration used for class names.
- Decoration.Color - Enum Class in org.fedoraproject.javapackages.validator.spi
-
A color used for decorating text.
- Decoration.Modifier - Enum Class in org.fedoraproject.javapackages.validator.spi
-
Modifiers to used for decorating text.
E
- equals(Object) - Method in record class org.fedoraproject.javapackages.validator.spi.Decoration
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
-
Indicates whether some other object is "equal to" this one.
- error - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.LogEvent
-
A message type used for error messages because of which the validator could not finish execution.
- error - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.TestResult
-
An error occurred during the validation because of which it did not finish successfully.
- error(String, Decorated...) - Static method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
- error(String, Decorated...) - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Merge the current result with the result of type
TestResult.error
and add a log entry of typeLogEvent.error
- error(Throwable) - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Merge the current result with the result of type
TestResult.error
and add a log entry of typeLogEvent.error
using the stack trace of the throwable as the log message. - expected(Object) - Static method in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decorate an object using unified decorating scheme.
F
- fail - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.LogEvent
-
A message type used for messages about failing checks.
- fail - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.TestResult
-
Validation was run successfully but some of the checks failed.
- fail(String, Decorated...) - Static method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
- fail(String, Decorated...) - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Merge the current result with the result of type
TestResult.fail
and add a log entry of typeLogEvent.fail
G
- getDecorated() - Method in enum class org.fedoraproject.javapackages.validator.spi.LogEvent
-
Get the decorated instance of the enum field's text.
- getDecoration() - Method in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Get the decoration of this instance.
- getLog() - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Get the whole log of this builder.
- getObject() - Method in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Get the inner object, on which decorations were applied.
- getResult() - Method in interface org.fedoraproject.javapackages.validator.spi.Result
-
Returns the result state of the validation.
- getResult() - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Get the current result type.
- getTestName() - Method in interface org.fedoraproject.javapackages.validator.spi.Validator
-
The test name used when the validator is invoked in the TMT mode.
- getValidators() - Method in interface org.fedoraproject.javapackages.validator.spi.ValidatorFactory
-
Get a list of validators to be executed.
- green - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Color
-
Green color.
H
- hashCode() - Method in record class org.fedoraproject.javapackages.validator.spi.Decoration
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
-
Returns a hash code value for this object.
I
- info - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.LogEvent
-
A message type used for messages about checks which are are considered neither successful nor failing.
- info - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.TestResult
-
Validation was run successfully but the validator found neither the expected values nor violations and only produced information about its run.
- info(String, Decorated...) - Static method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
- info(String, Decorated...) - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Merge the current result with the result of type
TestResult.info
and add a log entry of typeLogEvent.info
- iterator() - Method in interface org.fedoraproject.javapackages.validator.spi.Result
-
Returns an iterator over the messages contained in the result.
K
- kind() - Method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
-
Returns the value of the
kind
record component.
L
- LogEntry - Record Class in org.fedoraproject.javapackages.validator.spi
-
A logging event that occurred during validation.
- LogEntry(LogEvent, String, Decorated...) - Constructor for record class org.fedoraproject.javapackages.validator.spi.LogEntry
-
Create a log entry of type
kind
. - LogEvent - Enum Class in org.fedoraproject.javapackages.validator.spi
-
Enum used for distinguishing logging messages.
M
- magenta - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Color
-
Magenta color.
- mergeResult(TestResult) - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Merge the current result with the provided result.
- modifiers() - Method in record class org.fedoraproject.javapackages.validator.spi.Decoration
-
Get the modifiers of this instance.
N
- NONE - Static variable in record class org.fedoraproject.javapackages.validator.spi.Decoration
-
A decoration instance which specifies no decorations.
O
- objects() - Method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
-
Get the objects used to fill the message pattern of this instance.
- org.fedoraproject.javapackages.validator.spi - module org.fedoraproject.javapackages.validator.spi
-
SPI module
- org.fedoraproject.javapackages.validator.spi - package org.fedoraproject.javapackages.validator.spi
- outer(Object) - Static method in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decorate an object using unified decorating scheme.
P
- pass - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.LogEvent
-
A message type used for messages about passing checks.
- pass - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.TestResult
-
Validation was run successfully and all the checks passed.
- pass(String, Decorated...) - Static method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
- pass(String, Decorated...) - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Merge the current result with the result of type
TestResult.pass
and add a log entry of typeLogEvent.pass
- pattern() - Method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
-
Returns the value of the
pattern
record component. - plain(Object) - Static method in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decorate an object using no decorations.
R
- red - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Color
-
Red color.
- Result - Interface in org.fedoraproject.javapackages.validator.spi
-
The result of validation.
- ResultBuilder - Class in org.fedoraproject.javapackages.validator.spi
-
A class used to add log messages and merge result types producing a final instance of
Result
. - ResultBuilder() - Constructor for class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Construct an empty builder with the initial result type set to
TestResult.skip
- rpm(Object) - Static method in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decorate an RPM file object using unified decorating scheme.
S
- setResult(TestResult) - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Set the result type.
- skip - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.LogEvent
-
A message type used for describing why the execution was skipped.
- skip - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.TestResult
-
Validation was expectedly skipped because the validator determined so.
- skip(String, Decorated...) - Static method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
- skip(String, Decorated...) - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Merge the current result with the result of type
TestResult.skip
and add a log entry of typeLogEvent.skip
- struct(Object) - Static method in class org.fedoraproject.javapackages.validator.spi.Decorated
-
Decorate an object using unified decorating scheme.
T
- TestResult - Enum Class in org.fedoraproject.javapackages.validator.spi
-
Enum representing the state of the result of validation.
- toString() - Method in record class org.fedoraproject.javapackages.validator.spi.Decoration
-
Returns a string representation of this record class.
- toString() - Method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
-
Returns a string representation of this record class.
U
- underline - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Modifier
-
Underline modifier.
V
- validate(Iterable<RpmPackage>, List<String>) - Method in interface org.fedoraproject.javapackages.validator.spi.Validator
-
Validate the RPM files and produce the result describing what was checked.
- Validator - Interface in org.fedoraproject.javapackages.validator.spi
-
An interface used for validating RPM files.
- ValidatorFactory - Interface in org.fedoraproject.javapackages.validator.spi
-
A
Validator
factory. - valueOf(String) - Static method in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Color
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Modifier
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.fedoraproject.javapackages.validator.spi.LogEvent
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.fedoraproject.javapackages.validator.spi.TestResult
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Color
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Modifier
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.fedoraproject.javapackages.validator.spi.LogEvent
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.fedoraproject.javapackages.validator.spi.TestResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warn - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.LogEvent
-
A message type used for warning messages.
- warn - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.TestResult
-
Validation was run successfully but the validator only produced warning information.
- warn(String, Decorated...) - Static method in record class org.fedoraproject.javapackages.validator.spi.LogEntry
- warn(String, Decorated...) - Method in class org.fedoraproject.javapackages.validator.spi.ResultBuilder
-
Merge the current result with the result of type
TestResult.warn
and add a log entry of typeLogEvent.warn
- white - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Color
-
White color.
Y
- yellow - Enum constant in enum class org.fedoraproject.javapackages.validator.spi.Decoration.Color
-
Yellow color.
All Classes and Interfaces|All Packages