org.rhq.core.pc.content
Class CreateContentRunner

java.lang.Object
  extended by org.rhq.core.pc.content.CreateContentRunner
All Implemented Interfaces:
Runnable, Callable<org.rhq.core.domain.content.transfer.DeployPackagesResponse>

public class CreateContentRunner
extends Object
implements Runnable, Callable<org.rhq.core.domain.content.transfer.DeployPackagesResponse>

Runnable to allow threaded creation of a content.

Author:
Jason Dobies

Constructor Summary
CreateContentRunner(ContentManager contentManager, DeployPackagesRequest request)
           
 
Method Summary
 org.rhq.core.domain.content.transfer.DeployPackagesResponse call()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateContentRunner

public CreateContentRunner(ContentManager contentManager,
                           DeployPackagesRequest request)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

call

public org.rhq.core.domain.content.transfer.DeployPackagesResponse call()
                                                                 throws Exception
Specified by:
call in interface Callable<org.rhq.core.domain.content.transfer.DeployPackagesResponse>
Throws:
Exception


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.