public class VersionIdentifierFormatterPhaseAlias extends AbstractVersionIdentifierFormatterString
Formatter
for the
phase alias
.Constructor and Description |
---|
VersionIdentifierFormatterPhaseAlias(String prefix,
int maximumLength)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getString(VersionIdentifier value)
This method gets the
String to format. |
doFormat
format, format, formatNull
public VersionIdentifierFormatterPhaseAlias(String prefix, int maximumLength)
prefix
- is the static prefix to append before the phase
. Will
be omitted if phase
is null
.maximumLength
- is the maximum number of letters for the phase alias
. The default is Integer.MAX_VALUE
.protected String getString(VersionIdentifier value)
String
to format.getString
in class AbstractVersionIdentifierFormatterString
value
- is the VersionIdentifier
.String
to format.Copyright © 2001–2014 mmm-Team. All rights reserved.