Java Code Examples for org.apache.flink.runtime.rest.versioning.RestAPIVersion#V0
The following examples show how to use
org.apache.flink.runtime.rest.versioning.RestAPIVersion#V0 .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RestAPIDocGenerator.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
/** * Generates the REST API documentation. * * @param args args[0] contains the directory into which the generated files are placed * @throws IOException if any file operation failed */ public static void main(String[] args) throws IOException { String outputDirectory = args[0]; for (final RestAPIVersion apiVersion : RestAPIVersion.values()) { if (apiVersion == RestAPIVersion.V0) { // this version exists only for testing purposes continue; } createHtmlFile( new DocumentingDispatcherRestEndpoint(), apiVersion, Paths.get(outputDirectory, "rest_" + apiVersion.getURLVersionPrefix() + "_dispatcher.html")); } }
Example 2
Source File: RestAPIDocGenerator.java From flink with Apache License 2.0 | 5 votes |
/** * Generates the REST API documentation. * * @param args args[0] contains the directory into which the generated files are placed * @throws IOException if any file operation failed */ public static void main(String[] args) throws IOException { String outputDirectory = args[0]; for (final RestAPIVersion apiVersion : RestAPIVersion.values()) { if (apiVersion == RestAPIVersion.V0) { // this version exists only for testing purposes continue; } createHtmlFile( new DocumentingDispatcherRestEndpoint(), apiVersion, Paths.get(outputDirectory, "rest_" + apiVersion.getURLVersionPrefix() + "_dispatcher.html")); } }
Example 3
Source File: RestAPIDocGenerator.java From flink with Apache License 2.0 | 5 votes |
/** * Generates the REST API documentation. * * @param args args[0] contains the directory into which the generated files are placed * @throws IOException if any file operation failed */ public static void main(String[] args) throws IOException { String outputDirectory = args[0]; for (final RestAPIVersion apiVersion : RestAPIVersion.values()) { if (apiVersion == RestAPIVersion.V0) { // this version exists only for testing purposes continue; } createHtmlFile( new DocumentingDispatcherRestEndpoint(), apiVersion, Paths.get(outputDirectory, "rest_" + apiVersion.getURLVersionPrefix() + "_dispatcher.html")); } }