|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.scape_project.watch.adaptor.c3po.client.C3PODummyClient
public class C3PODummyClient
A dummy client that always returns the same job uuid and returns a random collection profile for its only collection named 'Test'.
| Field Summary | |
|---|---|
static String |
COLLECTION_NAME
A hardcoded collection name. |
| Constructor Summary | |
|---|---|
C3PODummyClient()
|
|
| Method Summary | |
|---|---|
List<String> |
getCollectionIdentifiers()
Fetches the current content profile identifiers stored in the c3po instance. |
InputStream |
pollJobResult(String uuid)
Retrieves an input stream with the results of the job for the given uuid, or null if the job is not yet finished or unknown. |
String |
submitCollectionProfileJob(String identifier,
List<String> properties)
Submits a new profile creation job to c3po. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String COLLECTION_NAME
| Constructor Detail |
|---|
public C3PODummyClient()
| Method Detail |
|---|
public List<String> getCollectionIdentifiers()
C3POClientInterface
getCollectionIdentifiers in interface C3POClientInterface
public String submitCollectionProfileJob(String identifier,
List<String> properties)
C3POClientInterface
submitCollectionProfileJob in interface C3POClientInterfaceidentifier - the collection identifierproperties - the properties that are of interest
public InputStream pollJobResult(String uuid)
C3POClientInterface
pollJobResult in interface C3POClientInterfaceuuid - the job id.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||