TrueUpdate Core 0.3

net.java.trueupdate.core.io
Interface Task<V,R,X extends Exception>

Type Parameters:
V - the type of the result.
R - the type of the resource.
X - the type of the exception.
All Known Subinterfaces:
InputTask<V,X>, OutputTask<V,X>, ZipInputTask<V,X>, ZipOutputTask<V,X>

public interface Task<V,R,X extends Exception>

When executed, a task operates on a resource and returns a result or throws an exception.

Author:
Christian Schlichtherle

Method Summary
 V execute(R resource)
           
 

Method Detail

execute

V execute(R resource)
          throws X extends Exception
Throws:
X extends Exception

TrueUpdate Core 0.3

Copyright © 2013 Schlichtherle IT Services. All rights reserved.