net.praqma.jenkins.rqm
Class RqmObjectCreator<T extends RqmObject>

java.lang.Object
  extended by net.praqma.jenkins.rqm.RqmObjectCreator<T>
Type Parameters:
T - The type of object you wish to be created.
All Implemented Interfaces:
hudson.FilePath.FileCallable<List<T>>, Serializable

public class RqmObjectCreator<T extends RqmObject>
extends Object
implements hudson.FilePath.FileCallable<List<T>>

Author:
Praqma
See Also:
Serialized Form

Constructor Summary
RqmObjectCreator(Class<T> target, RqmParameterList parameters)
           
 
Method Summary
 List<T> invoke(File f, hudson.remoting.VirtualChannel channel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RqmObjectCreator

public RqmObjectCreator(Class<T> target,
                        RqmParameterList parameters)
                 throws IllegalAccessException,
                        InstantiationException
Throws:
IllegalAccessException
InstantiationException
Method Detail

invoke

public List<T> invoke(File f,
                      hudson.remoting.VirtualChannel channel)
                                 throws IOException,
                                        InterruptedException
Specified by:
invoke in interface hudson.FilePath.FileCallable<List<T extends RqmObject>>
Throws:
IOException
InterruptedException


Copyright © 2004-2014. All Rights Reserved.