Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptParseNull() - Method in interface xyz.rk0cc.josev.constraint.ConstraintPattern
-
Some format of constraint pattern allows parse
null
. - add(R) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- addAll(Collection<? extends R>) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
B
C
- clear() - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- compareTo(SemVer) - Method in class xyz.rk0cc.josev.SemVer
- conditionFunction() - Method in interface xyz.rk0cc.josev.constraint.ConstraintPattern
- constraintPattern() - Method in class xyz.rk0cc.josev.constraint.SemVerConstraint
-
Detect which pattern is used for this constraint.
- ConstraintPattern<E extends Enum<? extends ConstraintPattern<E>>> - Interface in xyz.rk0cc.josev.constraint
-
An interface to indicate implemented
Enum
as constraint pattern inSemVerConstraint
. - contains(Object) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- containsAll(Collection<?>) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
E
- elementAt(int) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
-
Get corresponded index of
Set
ofSemVerMultipleRange
. - enabled() - Element in annotation interface xyz.rk0cc.josev.constraint.SemVerConstraintParser
-
Allow annotated class can be parsed by
SemVerConstraint.parse(Class, String)
. - end() - Method in class xyz.rk0cc.josev.SemVerRange
-
A node which specify the maximum version that can be accepted (Assume no version omitted between
start
and end). - equals(Object) - Method in class xyz.rk0cc.josev.constraint.SemVerConstraint
- equals(Object) - Method in class xyz.rk0cc.josev.SemVer
-
Compare another
SemVer
which has equals data of versioning. - equals(Object) - Method in record class xyz.rk0cc.josev.SemVerRangeNode
-
Determine current configuration of
SemVerRangeNode
is the same or not.
F
- forEach(Consumer<? super R>) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
H
- hashCode() - Method in class xyz.rk0cc.josev.constraint.SemVerConstraint
- hashCode() - Method in class xyz.rk0cc.josev.SemVer
-
Calculating hash code form all provided versioning data.
- hashCode() - Method in record class xyz.rk0cc.josev.SemVerRangeNode
I
- invalidVersion - Variable in exception xyz.rk0cc.josev.NonStandardSemVerException
- isEmpty() - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- isGreater(SemVer) - Method in class xyz.rk0cc.josev.SemVer
-
Check this version is greater than
compare
- isGreaterOrEquals(SemVer) - Method in class xyz.rk0cc.josev.SemVer
-
Check this version is greater or equals with
compare
- isInRange(String) - Method in interface xyz.rk0cc.josev.SemVerDetermineInRange
-
Check this
semVer
is in the range. - isInRange(String) - Method in class xyz.rk0cc.josev.SemVerRange
-
Check this
semVer
is in the range. - isInRange(SemVer) - Method in interface xyz.rk0cc.josev.SemVerDetermineInRange
-
Check this
semVer
is in the range. - isInRange(SemVer) - Method in class xyz.rk0cc.josev.SemVerRange
-
Check this
semVer
is in the range. - isLower(SemVer) - Method in class xyz.rk0cc.josev.SemVer
-
Check this version is lower than
compare
- isLowerOrEquals(SemVer) - Method in class xyz.rk0cc.josev.SemVer
-
Check this version is lowerer or equals with
compare
- isPreRelease() - Method in class xyz.rk0cc.josev.SemVer
-
Determine this versioning is still under development.
- isSameVersionGroup(SemVer) - Method in class xyz.rk0cc.josev.SemVer
- isValidConstraintMethods(String) - Method in interface xyz.rk0cc.josev.constraint.ConstraintPattern
-
Determine a
String
of version constraint is following currentEnum
ofConstraintPattern
or finding whichConstraintPattern
uses whenparsing
the constraint byfiltering
Enum
. - iterator() - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
M
- major() - Method in class xyz.rk0cc.josev.SemVer
-
Get major release of this versioning.
- minor() - Method in class xyz.rk0cc.josev.SemVer
-
Get minor release of this versioning.
N
- NonStandardSemVerException - Exception in xyz.rk0cc.josev
O
- operator() - Method in record class xyz.rk0cc.josev.SemVerRangeNode
-
Returns the value of the
operator
record component. - orEquals() - Method in record class xyz.rk0cc.josev.SemVerRangeNode
-
Returns the value of the
orEquals
record component.
P
- parallelStream() - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- parse(Class<C>, String) - Static method in class xyz.rk0cc.josev.constraint.SemVerConstraint
-
Parser a
String
ofversionConstraint
and specify whichClass
that extended fromSemVerConstraint
will be exported. - parse(String) - Static method in class xyz.rk0cc.josev.SemVer
- parserMethodName() - Element in annotation interface xyz.rk0cc.josev.constraint.SemVerConstraintParser
-
Define which public static method of annotated class will be used when applying
SemVerConstraint.parse(Class, String)
. - patch() - Method in class xyz.rk0cc.josev.SemVer
-
Get patch release of this versioning.
- preRelease() - Method in class xyz.rk0cc.josev.SemVer
-
Get pre-release tag of this versioning.
R
- rawConstraint() - Method in class xyz.rk0cc.josev.constraint.SemVerConstraint
- remove(Object) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- removeAll(Collection<?>) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- removeIf(Predicate<? super R>) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- retainAll(Collection<?>) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
S
- semVer() - Method in record class xyz.rk0cc.josev.SemVerRangeNode
-
Returns the value of the
semVer
record component. - SemVer - Class in xyz.rk0cc.josev
-
An immutable Java object for Semantic Versioning 2.0.0.
- SemVer(long) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data without additional tag applied.
- SemVer(long, long) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data without additional tag applied.
- SemVer(long, long, long) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data without additional tag applied.
- SemVer(long, long, long, String, String) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data.
- SemVer(long, long, String, String) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data.
- SemVer(long, String, String) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data.
- SEMVER_REGEX - Static variable in class xyz.rk0cc.josev.SemVer
-
A
String
of Semantic Versioning regex which will be applied onPattern.compile(String)
. - SemVerConstraint<E extends ConstraintPattern<? extends Enum<?>>> - Class in xyz.rk0cc.josev.constraint
-
Version constraint is a definition of
SemVer
range which bounding the version to ensure compatibility. - SemVerConstraint(E, String, SemVerRangeNode, SemVerRangeNode) - Constructor for class xyz.rk0cc.josev.constraint.SemVerConstraint
-
Create version constraint of
SemVer
. - SemVerConstraintParser - Annotation Interface in xyz.rk0cc.josev.constraint
-
An
Annotation
that allowing a subclass ofSemVerConstraint
can be parsed bySemVerConstraint.parse(Class, String)
. - SemVerDetermineInRange - Interface in xyz.rk0cc.josev
-
This interface allows determining
SemVer
is in the range. - SemVerMultipleRange<R extends SemVerRange> - Class in xyz.rk0cc.josev.collections
-
A
Set
based withSemVerRange
(includingSemVerConstraint
) for storing multiple condition of version constraints. - SemVerMultipleRange() - Constructor for class xyz.rk0cc.josev.collections.SemVerMultipleRange
-
Create empty range of multiple range.
- SemVerMultipleRange(Set<R>) - Constructor for class xyz.rk0cc.josev.collections.SemVerMultipleRange
-
Create new multiple range from existed
Set
. - SemVerRange - Class in xyz.rk0cc.josev
-
Define range of the
SemVer
. - SemVerRange(SemVerRangeNode, SemVerRangeNode) - Constructor for class xyz.rk0cc.josev.SemVerRange
-
Create new range definition of
SemVer
. - SemVerRangeNode - Record Class in xyz.rk0cc.josev
-
A node for
SemVerRange
to define preference of the range ofSemVer
. - SemVerRangeNode(SemVer, char, boolean) - Constructor for record class xyz.rk0cc.josev.SemVerRangeNode
-
Create new node to define a range of
SemVer
to be constrained. - size() - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- spliterator() - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- start() - Method in class xyz.rk0cc.josev.SemVerRange
-
A node which specify the minimum version that can be accepted (Assume no version omitted between start and
start
). - stream() - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
T
- toArray() - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- toArray(IntFunction<T[]>) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- toArray(T[]) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
- toString() - Method in class xyz.rk0cc.josev.constraint.SemVerConstraint
- toString() - Method in exception xyz.rk0cc.josev.NonStandardSemVerException
-
Finally, it showsNonStandardSemVerException.invalidVersion
at the end of line. - toString() - Method in class xyz.rk0cc.josev.SemVer
-
Return a
String
of object-like context for logging purpose. - toString() - Method in record class xyz.rk0cc.josev.SemVerRangeNode
-
Generate node object data under
String
. - tryParse(String) - Static method in class xyz.rk0cc.josev.SemVer
V
- value() - Method in class xyz.rk0cc.josev.SemVer
-
Return a
String
of version which follows Semantic Versioning standard.
W
- where(Predicate<R>) - Method in class xyz.rk0cc.josev.collections.SemVerMultipleRange
X
- xyz.rk0cc.josev - package xyz.rk0cc.josev
-
Java Object of Semantic Versioning - JOSEV
- xyz.rk0cc.josev.collections - package xyz.rk0cc.josev.collections
- xyz.rk0cc.josev.constraint - package xyz.rk0cc.josev.constraint
-
Perform version constraint of
SemVer
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form