public static class JarHandlerUtils.JarHandlerContext extends Object
Modifier and Type | Method and Description |
---|---|
void |
applyToConfiguration(Configuration configuration) |
static <R extends JarRequestBody> |
fromRequest(HandlerRequest<R> request,
Path jarDir,
org.slf4j.Logger log) |
JobGraph |
toJobGraph(PackagedProgram packagedProgram,
Configuration configuration,
boolean suppressOutput) |
PackagedProgram |
toPackagedProgram(Configuration configuration) |
public static <R extends JarRequestBody> JarHandlerUtils.JarHandlerContext fromRequest(@Nonnull HandlerRequest<R> request, @Nonnull Path jarDir, @Nonnull org.slf4j.Logger log) throws RestHandlerException
RestHandlerException
public void applyToConfiguration(Configuration configuration)
public JobGraph toJobGraph(PackagedProgram packagedProgram, Configuration configuration, boolean suppressOutput)
public PackagedProgram toPackagedProgram(Configuration configuration)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.