org.jenkinsci.plugins.graniteclient
Class GraniteClientExecutor
java.lang.Object
org.jenkinsci.plugins.graniteclient.GraniteClientExecutor
public final class GraniteClientExecutor
- extends Object
Executes PackageManagerClientCallable
instances by injecting an AsyncPackageManagerClient
as the implementation for PackageManagerClient
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraniteClientExecutor
public GraniteClientExecutor()
execute
public static <T> T execute(PackageManagerClientCallable<T> callable,
GraniteClientConfig config)
throws Exception
- Throws:
Exception
execute
public static <T> T execute(PackageManagerClientCallable<T> callable,
GraniteClientConfig config,
hudson.model.TaskListener _listener)
throws Exception
- Throws:
Exception
validateBaseUrl
public static boolean validateBaseUrl(GraniteClientConfig config)
throws IOException
- Throws:
IOException
Copyright © 2013-2014. All Rights Reserved.