public final class GraniteClientExecutor extends Object
PackageManagerClientCallable
instances by injecting an AsyncPackageManagerClient
as the implementation for PackageManagerClient
Constructor and Description |
---|
GraniteClientExecutor() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
execute(PackageManagerClientCallable<T> callable,
GraniteClientConfig config) |
static <T> T |
execute(PackageManagerClientCallable<T> callable,
GraniteClientConfig config,
hudson.model.TaskListener _listener) |
static boolean |
validateBaseUrl(GraniteClientConfig config) |
public static <T> T execute(PackageManagerClientCallable<T> callable, GraniteClientConfig config) throws Exception
Exception
public static <T> T execute(PackageManagerClientCallable<T> callable, GraniteClientConfig config, hudson.model.TaskListener _listener) throws Exception
Exception
public static boolean validateBaseUrl(GraniteClientConfig config) throws IOException
IOException
Copyright © 2013–2019. All rights reserved.