A B C D E G H M N P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- apply(Project) - Method in class com.mooltiverse.oss.nyx.gradle.NyxGradlePlugin
B
- BUILD_DELIMITER - Static variable in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
The character that marks the separation between the core or the pre-release part and the build part.
- bump(CoreIdentifiers) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new instance with the number identified by the given value bumped.
- bump(String) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new instance with the number identified by the given value bumped.
- bumpMajor() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new instance with the major number of this current instance incremented by one and the minor and patch numbers reset to zero.
- bumpMinor() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new instance with the major number of this current instance, the minor number incremented by one and the patch number reset to zero.
- bumpPatch() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new instance with the major and minor numbers of this current instance and the patch number incremented by one.
- bumpPrerelease(String) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new instance with the number identified by the given value bumped in the prerelease part.
C
- com.mooltiverse.oss.nyx.cli - package com.mooltiverse.oss.nyx.cli
- com.mooltiverse.oss.nyx.gradle - package com.mooltiverse.oss.nyx.gradle
- com.mooltiverse.oss.nyx.version - package com.mooltiverse.oss.nyx.version
- compareTo(SemanticVersion) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Compares this version with the specified version for order.
- CoreIdentifiers - Enum in com.mooltiverse.oss.nyx.version
-
The identifiers used for core version numbers.
D
- DEFAULT_INITIAL_VERSION - Static variable in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
The default initial version that can be used when non version is yet available.
E
- equals(Object) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Indicates whether some other object is "equal to" this one.
G
- getBuild() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns the build part of the version, if any, or
nullotherwise. - getBuildAttributeValue(String) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
If an attribute with the given name is present in the build part, return the identifier after that, otherwise return
null. - getBuildIdentifiers() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns an array of the single identifiers of the build part of the version, if any, or
nullotherwise. - getCore() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns the core part (
major.minor.patch) of the version as a string. - getCoreIdentifiers() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns an array of the single identifiers of the core part of the version
- getMajor() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns the major version number
- getMinor() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns the minor version number
- getName() - Method in enum com.mooltiverse.oss.nyx.version.CoreIdentifiers
-
Returns the name of the identifier.
- getPatch() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns the patch version number
- getPrefix(String) - Static method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Takes the given string and tries to parse it as a semantic version with an optional prefix (which may be any string before the core
major.minor.patchnumbers). - getPrerelease() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns the prerelease part of the version, if any, or
nullotherwise. - getPrereleaseAttributeValue(String) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
If an attribute with the given name is present in the prerelease part, return the identifier after that, otherwise return
null. - getPrereleaseIdentifiers() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns an array of the single identifiers of the prerelease part of the version, if any, or
nullotherwise.
H
- hasBuildAttribute(String) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns
trueif an attribute with the given name is present in the build part,falseotherwise. - hashCode() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a hash code value for the object.
- hasPrereleaseAttribute(String) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns
trueif an attribute with the given name is present in the prerelease part,falseotherwise.
M
- main(String[]) - Static method in class com.mooltiverse.oss.nyx.cli.Nyx
- MAJOR - com.mooltiverse.oss.nyx.version.CoreIdentifiers
-
The major number.
- MINOR - com.mooltiverse.oss.nyx.version.CoreIdentifiers
-
The minor number.
N
- Nyx - Class in com.mooltiverse.oss.nyx.cli
- Nyx() - Constructor for class com.mooltiverse.oss.nyx.cli.Nyx
- NyxGradlePlugin - Class in com.mooltiverse.oss.nyx.gradle
- NyxGradlePlugin() - Constructor for class com.mooltiverse.oss.nyx.gradle.NyxGradlePlugin
- NyxGradlePluginExtension - Class in com.mooltiverse.oss.nyx.gradle
- NyxGradlePluginExtension() - Constructor for class com.mooltiverse.oss.nyx.gradle.NyxGradlePluginExtension
P
- PATCH - com.mooltiverse.oss.nyx.version.CoreIdentifiers
-
The patch number.
- PRERELEASE_DELIMITER - Static variable in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
The character that marks the separation between the core and the pre-release part.
R
- removeBuildAttribute(String, boolean) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new instance with the new attribute removed from the build part, if any was present, otherwise the same version is returned.
- removePrereleaseAttribute(String, boolean) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new instance with the new attribute removed from the prerelease part, if any was present, otherwise the same version is returned.
S
- sanitize(String) - Static method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Performs all of the sanitizations in the given string by sanitizing, in order, the prefix and leading zeroes in numeric identifiers.
- sanitizeNumbers(String) - Static method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Takes the given string and tries to parse it as a semantic version number, even with illegal characters or prefix.
- sanitizePrefix(String) - Static method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Takes the given string and tries to parse it as a semantic version with an optional prefix (which may be any string before the core
major.minor.patchnumbers). - SEMANTIC_VERSION_PATTERN - Static variable in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
The regexp pattern taken directly from Semantic Versioning 2.0.0 used to parse semantic versions.
- SEMANTIC_VERSION_PATTERN_RELAXED - Static variable in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
A relaxed version of the
SEMANTIC_VERSION_PATTERNthat works also when a prefix appears at the beginning of the version string or some zeroes appear in front of numbers. - SemanticVersion - Class in com.mooltiverse.oss.nyx.version
-
The implementation of a Semantic Versioning 2.0.0 compliant version.
- SemanticVersion(int, int, int) - Constructor for class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Builds a new version object with the given values.
- SemanticVersion(int, int, int, Object[], String[]) - Constructor for class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Builds a new version object with the given values.
- setBuild(String...) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new version object with the build part set to the given values.
- setBuildAttribute(String) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new version object with the new attribute added or replaced in the build part.
- setBuildAttribute(String, String) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new version object with the new attribute added or replaced in the build part.
- setCore(int, int, int) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new version object with the
major,minorandpatchnumbers set to the given values. - setMajor(int) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new version object with the
majornumber set to the given value. - setMinor(int) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new version object with the
minornumber set to the given value. - setPatch(int) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new version object with the
patchnumber set to the given value. - setPrerelease(Object...) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new version object with the prerelease part set to the given values.
- setPrereleaseAttribute(String) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new version object with the new attribute added or replaced in the prerelease part.
- setPrereleaseAttribute(String, Integer) - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a new version object with the new attribute added or replaced in the prerelease part.
T
- toString() - Method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a string representation of the object.
V
- valueOf(String) - Static method in enum com.mooltiverse.oss.nyx.version.CoreIdentifiers
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
Returns a SemanticVersion instance representing the specified String value.
- valueOf(String, boolean) - Static method in class com.mooltiverse.oss.nyx.version.SemanticVersion
-
This method is a shorthand for
valueOf(String)andsanitize(String). - values() - Static method in enum com.mooltiverse.oss.nyx.version.CoreIdentifiers
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages