This class retrieves the version information from META-INF/io.netty.versions.properties, which is
generated in build time. Note that it may not be possible to retrieve the information completely, depending on
your environment, such as the specified ClassLoader, the current SecurityManager.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final long | |
| private final long | |
| private final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public long | |
| public long | |
| public static Map | identify()
Retrieves the version information of Netty artifacts using the current context class loader. |
| public static Map | identify(ClassLoader classLoader)
Retrieves the version information of Netty artifacts using the specified |
| public String | |
| public static void | |
| private static long | |
| public String | |
| public String | |
| public String |
| artifactId | back to summary |
|---|---|
| private final String artifactId | |
| artifactVersion | back to summary |
|---|---|
| private final String artifactVersion | |
| buildTimeMillis | back to summary |
|---|---|
| private final long buildTimeMillis | |
| commitTimeMillis | back to summary |
|---|---|
| private final long commitTimeMillis | |
| longCommitHash | back to summary |
|---|---|
| private final String longCommitHash | |
| PROP_BUILD_DATE | back to summary |
|---|---|
| private static final String PROP_BUILD_DATE | |
| PROP_COMMIT_DATE | back to summary |
|---|---|
| private static final String PROP_COMMIT_DATE | |
| PROP_LONG_COMMIT_HASH | back to summary |
|---|---|
| private static final String PROP_LONG_COMMIT_HASH | |
| PROP_REPO_STATUS | back to summary |
|---|---|
| private static final String PROP_REPO_STATUS | |
| PROP_SHORT_COMMIT_HASH | back to summary |
|---|---|
| private static final String PROP_SHORT_COMMIT_HASH | |
| PROP_VERSION | back to summary |
|---|---|
| private static final String PROP_VERSION | |
| repositoryStatus | back to summary |
|---|---|
| private final String repositoryStatus | |
| shortCommitHash | back to summary |
|---|---|
| private final String shortCommitHash | |
| Version | back to summary |
|---|---|
| private Version(String artifactId, String artifactVersion, long buildTimeMillis, long commitTimeMillis, String shortCommitHash, String longCommitHash, String repositoryStatus) | |
| artifactId | back to summary |
|---|---|
| public String artifactId() | |
| artifactVersion | back to summary |
|---|---|
| public String artifactVersion() | |
| buildTimeMillis | back to summary |
|---|---|
| public long buildTimeMillis() | |
| commitTimeMillis | back to summary |
|---|---|
| public long commitTimeMillis() | |
| identify | back to summary |
|---|---|
| public static Map Retrieves the version information of Netty artifacts using the current context class loader. | |
| identify | back to summary |
|---|---|
| public static Map Retrieves the version information of Netty artifacts using the specified | |
| longCommitHash | back to summary |
|---|---|
| public String longCommitHash() | |
| main | back to summary |
|---|---|
| public static void main(String[] args) Prints the version information to | |
| parseIso8601 | back to summary |
|---|---|
| private static long parseIso8601(String value) | |
| repositoryStatus | back to summary |
|---|---|
| public String repositoryStatus() | |
| shortCommitHash | back to summary |
|---|---|
| public String shortCommitHash() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |