Class JarHandlerUtils.JarHandlerContext
- java.lang.Object
-
- org.apache.flink.runtime.webmonitor.handlers.utils.JarHandlerUtils.JarHandlerContext
-
- Enclosing class:
- JarHandlerUtils
public static class JarHandlerUtils.JarHandlerContext extends Object
Standard jar handler parameters parsed from request.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyToConfiguration(org.apache.flink.configuration.Configuration configuration, org.apache.flink.runtime.rest.handler.HandlerRequest<? extends JarRequestBody> request)static <R extends JarRequestBody>
JarHandlerUtils.JarHandlerContextfromRequest(org.apache.flink.runtime.rest.handler.HandlerRequest<R> request, Path jarDir, org.slf4j.Logger log)org.apache.flink.runtime.jobgraph.JobGraphtoJobGraph(org.apache.flink.client.program.PackagedProgram packagedProgram, org.apache.flink.configuration.Configuration configuration, boolean suppressOutput)org.apache.flink.client.program.PackagedProgramtoPackagedProgram(org.apache.flink.configuration.Configuration configuration)
-
-
-
Method Detail
-
fromRequest
public static <R extends JarRequestBody> JarHandlerUtils.JarHandlerContext fromRequest(@Nonnull org.apache.flink.runtime.rest.handler.HandlerRequest<R> request, @Nonnull Path jarDir, @Nonnull org.slf4j.Logger log) throws org.apache.flink.runtime.rest.handler.RestHandlerException
- Throws:
org.apache.flink.runtime.rest.handler.RestHandlerException
-
applyToConfiguration
public void applyToConfiguration(org.apache.flink.configuration.Configuration configuration, org.apache.flink.runtime.rest.handler.HandlerRequest<? extends JarRequestBody> request)
-
toJobGraph
public org.apache.flink.runtime.jobgraph.JobGraph toJobGraph(org.apache.flink.client.program.PackagedProgram packagedProgram, org.apache.flink.configuration.Configuration configuration, boolean suppressOutput)
-
toPackagedProgram
public org.apache.flink.client.program.PackagedProgram toPackagedProgram(org.apache.flink.configuration.Configuration configuration)
-
-