public interface ProvenanceReporter
Modifier and Type | Method and Description |
---|---|
void |
addProvenanceItem(ProvenanceItem provenanceItem)
Add a
ProvenanceItem to the connector |
InvocationContext |
getInvocationContext()
Get the
InvocationContext that this reporter should be using if
it needs to dereference any data |
List<ProvenanceItem> |
getProvenanceCollection()
Get all the
ProvenanceItem s that the connector currently knows
about |
ReferenceService |
getReferenceService()
Get the
ReferenceService in use by this connector |
String |
getSessionID()
What is the unique identifier used by this connector
|
void |
setInvocationContext(InvocationContext invocationContext)
Set the
InvocationContext that this reporter should be using |
void |
setReferenceService(ReferenceService referenceService)
Tell the connector what
ReferenceService it should use when
trying to dereference data items inside ProvenanceItem s |
void |
setSessionID(String sessionID)
A unique identifier for this run of provenance, should correspond to the
initial
WorkflowProvenanceItem idenifier that gets sent through |
void addProvenanceItem(ProvenanceItem provenanceItem)
ProvenanceItem
to the connectorprovenanceItem
- invocationContext
- void setReferenceService(ReferenceService referenceService)
ReferenceService
it should use when
trying to dereference data items inside ProvenanceItem
sreferenceService
- ReferenceService getReferenceService()
ReferenceService
in use by this connectorList<ProvenanceItem> getProvenanceCollection()
ProvenanceItem
s that the connector currently knows
aboutvoid setInvocationContext(InvocationContext invocationContext)
InvocationContext
that this reporter should be usinginvocationContext
- InvocationContext getInvocationContext()
InvocationContext
that this reporter should be using if
it needs to dereference any datavoid setSessionID(String sessionID)
WorkflowProvenanceItem
idenifier that gets sent throughidentifier
- String getSessionID()
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.