org.jenkinsci.plugins.graniteclient
Class GraniteClientExecutor

java.lang.Object
  extended by org.jenkinsci.plugins.graniteclient.GraniteClientExecutor

public final class GraniteClientExecutor
extends Object

Executes PackageManagerClientCallable instances by injecting an AsyncPackageManagerClient as the implementation for PackageManagerClient


Constructor Summary
GraniteClientExecutor()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraniteClientExecutor

public GraniteClientExecutor()
Method Detail

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.