| java.lang.Object org.griphyn.cPlanner.provenance.pasoa.pps.Pasoa
Pasoa | public class Pasoa implements PPS(Code) | | Implements the PPS interface for recording documentation from a Pegasus refinement.
|
Constructor Summary | |
public | Pasoa() On initialisation, create a ClientLib object for communication with a
store, set the store URL and create a namespace-aware DOM document parser. | public | Pasoa(String storeURL) On initialisation, create a ClientLib object for communication with a
store, set the store URL and create a namespace-aware DOM document parser. |
Method Summary | |
public static Element | addressToElement(String address) Conventionally, we use WS-Addressing to identify the endpoints of an
interaction between actors, and this method constructs an XML (DOM) fragment
in the WS-Addressing schema for a particular URL. | public String | beginWorkflowRefinementStep(Refiner workflow, String refinementStepName, boolean firstStep) | public void | clusteringOf(String clusteredJob, List jobs) | public Element | createDataAccessor(String jobID) Individual jobs in a workflow are identified by an XML document fragment,
called a data accessor, and this method constructs the fragment for a given
job ID. | public InteractionKey | createInteractionKey(String refinementID, String refinementAddress, boolean preRefinement) Creates an interaction key to identify an interaction between two actors. | public InteractionPAssertion | createInteractionPAssertion(String workflow) Creates an interaction p-assertion asserting that a given partially
refined workflow was exchanged between actors. | public RelationshipPAssertion | createRelationship(int count, String effectJobID, String effectParameter, String relationType, InteractionKey causeKey, String causeJobID, String causeParameter) Creates a relationship p-assertion between nodes in two partially refined workflows. | public void | endWorkflowRefinementStep(Refiner workflow) | public void | isIdenticalTo(String afterNode, String beforeNode) | public void | isPartitionOf(String afterNode, List beforeNode) | public void | record(PAssertion passertion, InteractionKey interactionKey, boolean isSender, String asserterURL) | public void | recordInteraction(InteractionPAssertion passertion, InteractionKey interactionKey, String refinerType, boolean refinementInput) | public void | recordInteraction(String workflow, InteractionKey interactionKey, String refinerType, boolean refinementInput) | public RelationshipPAssertion | recordRelationship(int count, String effectJobID, String effectParameter, String relationType, InteractionKey causeKey, String causeJobID, String causeParameter, String asserterURL) | public void | registrationIntroducedFor(String registrationNode, String dataStagingNode) | public void | siteSelectionFor(String afterNode, String beforeNode) | public void | stagingIntroducedFor(List stagingNodes, String appNode) | public Element | toElement(String xmlAsString) |
_clusterParameter | final public static String _clusterParameter(Code) | | |
_clusteredRelation | final public static String _clusteredRelation(Code) | | |
_identicalParameter | final public static String _identicalParameter(Code) | | |
_identicalRelation | final public static String _identicalRelation(Code) | | The identicalTo relationship relates a workflow node before and after a
refinement that has not changed during that refinement
|
_inClusterParameter | final public static String _inClusterParameter(Code) | | |
_registrationOfParameter | final public static String _registrationOfParameter(Code) | | |
_registrationParameter | final public static String _registrationParameter(Code) | | |
_registrationRelation | final public static String _registrationRelation(Code) | | |
_siteSelectionInputParameter | final public static String _siteSelectionInputParameter(Code) | | The job before site selection plays the 'preselection' role.
|
_siteSelectionOutputParameter | final public static String _siteSelectionOutputParameter(Code) | | The job after site selection plays the 'postselection' role.
|
_siteSelectionRelation | final public static String _siteSelectionRelation(Code) | | The site seleciotn relationship relates a job that has had its site selected
to that same job before site selection.
|
_stagedForParameter | final public static String _stagedForParameter(Code) | | |
_stagingParameter | final public static String _stagingParameter(Code) | | |
_stagingRelation | final public static String _stagingRelation(Code) | | |
Pasoa | public Pasoa() throws Exception(Code) | | On initialisation, create a ClientLib object for communication with a
store, set the store URL and create a namespace-aware DOM document parser.
|
Pasoa | public Pasoa(String storeURL) throws Exception(Code) | | On initialisation, create a ClientLib object for communication with a
store, set the store URL and create a namespace-aware DOM document parser.
|
addressToElement | public static Element addressToElement(String address)(Code) | | Conventionally, we use WS-Addressing to identify the endpoints of an
interaction between actors, and this method constructs an XML (DOM) fragment
in the WS-Addressing schema for a particular URL.
Parameters: address - The URL of the endpoint An XML (DOM) fragment in WS-Addressing endpoint schema containing the address |
createDataAccessor | public Element createDataAccessor(String jobID) throws IOException, SAXException(Code) | | Individual jobs in a workflow are identified by an XML document fragment,
called a data accessor, and this method constructs the fragment for a given
job ID.
Parameters: causeJobID - The job ID An XML (DOM) fragment representing a reference to that job in an XML workflow representation |
createInteractionKey | public InteractionKey createInteractionKey(String refinementID, String refinementAddress, boolean preRefinement)(Code) | | Creates an interaction key to identify an interaction between two actors.
|
createInteractionPAssertion | public InteractionPAssertion createInteractionPAssertion(String workflow) throws IOException, SAXException(Code) | | Creates an interaction p-assertion asserting that a given partially
refined workflow was exchanged between actors.
Parameters: workflow - The (XML) content of the partially refined workflow A JavaBean representation of an interaction p-assertion containing the workflow |
createRelationship | public RelationshipPAssertion createRelationship(int count, String effectJobID, String effectParameter, String relationType, InteractionKey causeKey, String causeJobID, String causeParameter) throws IOException, SAXException(Code) | | Creates a relationship p-assertion between nodes in two partially refined workflows.
Parameters: count - The index of this relationship p-assertion in the interaction (to support the requirement that each p-assertion has a unique ID) Parameters: effectJobID - The job ID of the subject (effect) of the relationship Parameters: effectParameter - The role played by the subject of the relationship Parameters: relationType - The type of the relationship Parameters: causeKey - The interaction key of the object of the relationship Parameters: causeJobID - The job ID of the object (cause) of the relationship Parameters: causeParameter - The role played by the object of the relationship A RelationshipPAssertion JavaBean representing the relationship p-assertion with the given arguments |
record | public void record(PAssertion passertion, InteractionKey interactionKey, boolean isSender, String asserterURL) throws Exception(Code) | | |
recordInteraction | public void recordInteraction(InteractionPAssertion passertion, InteractionKey interactionKey, String refinerType, boolean refinementInput) throws Exception(Code) | | |
recordInteraction | public void recordInteraction(String workflow, InteractionKey interactionKey, String refinerType, boolean refinementInput) throws Exception(Code) | | |
|
|