org.rhq.plugins.perftest.content
Class SimpleContentFactory
java.lang.Object
org.rhq.plugins.perftest.content.SimpleContentFactory
- All Implemented Interfaces:
- ContentFactory
public class SimpleContentFactory
- extends Object
- implements ContentFactory
Artifact factory implementation that will return a configurable number of artifacts. Subsequent requests for artifact
discovery will produce the same set of artifacts.
- Author:
- Jason Dobies
|
Method Summary |
Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> |
discoverContent(org.rhq.core.domain.content.PackageType type)
Returns a set of artifacts. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleContentFactory
public SimpleContentFactory(SimpleContentGenerator generator)
discoverContent
public Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> discoverContent(org.rhq.core.domain.content.PackageType type)
- Description copied from interface:
ContentFactory
- Returns a set of artifacts. The generation of the set is determined by the underlying implementation.
- Specified by:
discoverContent in interface ContentFactory
- Parameters:
type - domain object passed into the call to the resource component, needed in the creation of the
artifact details
- Returns:
- set of artifacts; will not be
null
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.