de.agilecoders.wicket.webjars.util
Class RecentVersionCallable

java.lang.Object
  extended by de.agilecoders.wicket.webjars.util.RecentVersionCallable
All Implemented Interfaces:
Callable<String>

public class RecentVersionCallable
extends Object
implements Callable<String>

Callable that loads the recent version string of given webjars resource

Author:
miha

Method Summary
 String call()
           
static FutureTask<String> createFutureTask(String partialPath)
          creates a new future recent version collector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFutureTask

public static FutureTask<String> createFutureTask(String partialPath)
creates a new future recent version collector

Parameters:
partialPath - the resource path
Returns:
recent version as future

call

public String call()
            throws Exception
Specified by:
call in interface Callable<String>
Throws:
Exception


Copyright © 2016 agilecoders.de. All Rights Reserved.