| Package | Description |
|---|---|
| net.sf.mmm.util.version.api |
Provides the API for dealing with versions.
|
| net.sf.mmm.util.version.impl |
Contains the implementation of the
Version API. |
| Modifier and Type | Method and Description |
|---|---|
static DevelopmentPhase |
DevelopmentPhase.fromValue(String value)
This method gets the
DevelopmentPhase with the given value. |
DevelopmentPhase |
VersionIdentifier.getPhase()
This method gets the
DevelopmentPhase of this VersionIdentifier. |
static DevelopmentPhase |
DevelopmentPhase.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DevelopmentPhase[] |
DevelopmentPhase.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DevelopmentPhase.isAfter(DevelopmentPhase phase)
This method determines if this
DevelopmentPhase is after the given phase. |
boolean |
DevelopmentPhase.isBefore(DevelopmentPhase phase)
This method determines if this
DevelopmentPhase is before the given phase. |
| Modifier and Type | Field and Description |
|---|---|
private DevelopmentPhase |
VersionIdentifierImpl.phase |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,DevelopmentPhase> |
VersionUtilImpl.phaseMap |
| Modifier and Type | Method and Description |
|---|---|
DevelopmentPhase |
VersionIdentifierImpl.getPhase() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,DevelopmentPhase> |
VersionUtilImpl.createDefaultPhaseMap()
This method creates the
phase map used as default. |
protected Map<String,DevelopmentPhase> |
VersionUtilImpl.getPhaseMap() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
VersionUtilImpl.putPhase(Map<String,DevelopmentPhase> map,
String key,
DevelopmentPhase phase)
This method puts the given
phase in the given map using normalized variants of the given
key. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
VersionUtilImpl.putPhase(Map<String,DevelopmentPhase> map,
String key,
DevelopmentPhase phase)
This method puts the given
phase in the given map using normalized variants of the given
key. |
void |
VersionUtilImpl.setPhaseMap(Map<String,DevelopmentPhase> phaseMappingTable) |
| Constructor and Description |
|---|
VersionIdentifierImpl(String stringRepresentation,
String label,
Date timestamp,
Long revision,
DevelopmentPhase phase,
String phaseAlias,
Integer phaseNumber,
boolean snapshot,
int... versionSegments)
The constructor.
|
Copyright © 2001–2016 mmm-Team. All rights reserved.