public class VersionIdentifierFormatterSnapshot extends AbstractVersionIdentifierFormatterString
Constructor and Description |
---|
VersionIdentifierFormatterSnapshot(String snapshotIndicator)
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 VersionIdentifierFormatterSnapshot(String snapshotIndicator)
snapshotIndicator
- is the static string to append if the VersionIdentifier
is a
snapshot
(e.g. "-SNAPSHOT").protected String getString(VersionIdentifier value)
AbstractVersionIdentifierFormatterString
String
to format.getString
in class AbstractVersionIdentifierFormatterString
value
- is the VersionIdentifier
.String
to format.Copyright © 2001–2016 mmm-Team. All rights reserved.