| Modifier and Type | Field and Description |
|---|---|
| private String | build
Module version's optional build version. |
| private String | number
Module version's required version number. |
| private String | preRelease
Module version's optional pre-release version. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public String | Returns: pre-release value, ornullReturns this element's pre-release version, if set. |
| public void | |
| public void | |
| public void | |
| public String | Returns: Java module version string built from this object's propertiesSnapshots this element's state and converts it to a string compliant
with |
| public String | Returns: string form of this instanceOverrides java. |
| build | back to summary |
|---|---|
| private String build Module version's optional build version. | |
| number | back to summary |
|---|---|
| private String number Module version's required version number. | |
| preRelease | back to summary |
|---|---|
| private String preRelease Module version's optional pre-release version. | |
| ModuleVersion | back to summary |
|---|---|
| public ModuleVersion() | |
| getBuild | back to summary |
|---|---|
| public String getBuild() Returns this element's build version, if set.
| |
| getNumber | back to summary |
|---|---|
| public String getNumber() Returns this element's version number.
| |
| getPreRelease | back to summary |
|---|---|
| public String getPreRelease() Returns this element's pre-release version, if set.
| |
| setBuild | back to summary |
|---|---|
| public void setBuild(final String build) Sets this element's build version. This can be any value, including
| |
| setNumber | back to summary |
|---|---|
| public void setNumber(final String number) Sets this element's required version number. This cannot contain
an ASCII hyphen (
| |
| setPreRelease | back to summary |
|---|---|
| public void setPreRelease(final String pre) Sets this element's pre-release version. This can be any value
which doesn't contain an ASCII plus (
| |
| toModuleVersionString | back to summary |
|---|---|
| public String toModuleVersionString() Snapshots this element's state and converts it to a string compliant
with
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a summary of this object's state, suitable for debugging. | |