-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45129 from amusarra/feature/ext-info
Extension Info - Expose other information about Java and Git
- Loading branch information
Showing
4 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
extensions/info/runtime/src/main/java/io/quarkus/info/JavaInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,31 @@ | ||
package io.quarkus.info; | ||
|
||
/** | ||
* This interface provides information about the Java runtime. | ||
* | ||
* @see io.quarkus.info.runtime.InfoRecorder | ||
* @see io.quarkus.info.runtime.JavaInfoContributor | ||
*/ | ||
public interface JavaInfo { | ||
|
||
/** | ||
* Return the Java runtime version. | ||
* | ||
* @return string that represent the Java version | ||
*/ | ||
String version(); | ||
|
||
/** | ||
* Return the Java vendor. | ||
* | ||
* @return string that represent the Java vendor | ||
*/ | ||
String vendor(); | ||
|
||
/** | ||
* Return the Java vendor runtime version. | ||
* | ||
* @return string that represent the Java vendor version | ||
*/ | ||
String vendorVersion(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters