|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Stage
Stages are part of a pipeline and perform some specific task on an XRD. The returned XRD of one stage becomes the input XRD of the next.
| Method Summary | |
|---|---|
XRD |
execute(Store store,
XRD xrd,
XRISegment segment,
Authority parentAuthority,
java.lang.String subSegmentName,
Authority authority,
boolean isCreate)
Called as part of executing a pipeline. |
java.util.Properties |
getProperties()
Returns the Properties object that was used to initialize the stage. |
void |
init()
A stage is constructed by the PipelineRegistry by passing a Properties object to its constructor and then calling this init() method. |
| Method Detail |
|---|
void init()
throws java.lang.Exception
java.lang.Exceptionjava.util.Properties getProperties()
XRD execute(Store store,
XRD xrd,
XRISegment segment,
Authority parentAuthority,
java.lang.String subSegmentName,
Authority authority,
boolean isCreate)
throws StageException
store - The store from which the authorities were retrieved.xrd - A XRD as it currently looks like on the pipeline. The stage is free to modify and return it in any way.segment - The XRI segment that resolves to the XRD being processed.parentAuthority - The parent authority, i.e. the authority describing the XRD.subSegmentName - The name of the subsegment that connects the two authorities.authority - The authority, i.e. the authority described by the XRD.isCreate - Whether this stage is execute as part of a CREATE pipeline.
StageException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||