Class Artifact
- java.lang.Object
-
- org.apache.synapse.unittest.testcase.data.classes.Artifact
-
public class Artifact extends Object
-
-
Constructor Summary
Constructors Constructor Description Artifact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.axiom.om.OMElementgetArtifact()Get artifact.StringgetArtifactNameOrKey()Get artifact name or key.StringgetArtifactType()Get artifact type.StringgetTransportMethod()Get artifact transport method.voidsetArtifact(String artifact)Set test-artifact.voidsetArtifactNameOrKey(String artifactNameOrKey)Set test-artifact name or key.voidsetArtifactType(String artifactType)Set test-artifact type.voidsetTransportMethod(String transportMethod)Set test-artifact transport method.
-
-
-
Method Detail
-
getArtifactType
public String getArtifactType()
Get artifact type.- Returns:
- artifact type in descriptor data
-
getArtifact
public org.apache.axiom.om.OMElement getArtifact()
Get artifact.- Returns:
- artifact in descriptor data
-
getArtifactNameOrKey
public String getArtifactNameOrKey()
Get artifact name or key.- Returns:
- artifact name in descriptor data
-
getTransportMethod
public String getTransportMethod()
Get artifact transport method.- Returns:
- artifact transport method in descriptor data
-
setArtifactType
public void setArtifactType(String artifactType)
Set test-artifact type.- Parameters:
artifactType- type of the artifact in descriptor data
-
setArtifact
public void setArtifact(String artifact) throws XMLStreamException
Set test-artifact.- Parameters:
artifact- receiving artifact in descriptor data- Throws:
XMLStreamException
-
setArtifactNameOrKey
public void setArtifactNameOrKey(String artifactNameOrKey)
Set test-artifact name or key.- Parameters:
artifactNameOrKey- name of the artifact in descriptor data
-
setTransportMethod
public void setTransportMethod(String transportMethod)
Set test-artifact transport method.- Parameters:
transportMethod- transport method of the artifact in descriptor data
-
-