Class RegistryResource
- java.lang.Object
-
- org.apache.synapse.unittest.testcase.data.classes.RegistryResource
-
public class RegistryResource extends Object
Class responsible handle Registry resource data.
-
-
Constructor Summary
Constructors Constructor Description RegistryResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetArtifact()Get registry resource source/artifact.StringgetMediaType()Get registry resource media type.StringgetRegistryPath()Get registry resource media type.StringgetRegistryResourceName()Get registry resource name.voidsetArtifact(String registrySource)Add registry resource source/artifact inside the map.voidsetMediaType(String mediaType)Add registry resource media-type inside the map.voidsetRegistryPath(String registryPath)Add registry resource path inside the map.voidsetRegistryResourceName(String registryName)Add registry resource name inside the map.
-
-
-
Method Detail
-
getRegistryResourceName
public String getRegistryResourceName()
Get registry resource name.- Returns:
- registry resource name as in descriptor data
-
setRegistryResourceName
public void setRegistryResourceName(String registryName)
Add registry resource name inside the map.- Parameters:
registryName- resource name as key
-
getArtifact
public String getArtifact()
Get registry resource source/artifact.- Returns:
- registry resource source/artifact as in descriptor data
-
setArtifact
public void setArtifact(String registrySource)
Add registry resource source/artifact inside the map.- Parameters:
registrySource- resource source/artifact as key
-
getMediaType
public String getMediaType()
Get registry resource media type.- Returns:
- registry resource media type as in descriptor data
-
setMediaType
public void setMediaType(String mediaType)
Add registry resource media-type inside the map.- Parameters:
mediaType- resource media-type as key
-
getRegistryPath
public String getRegistryPath()
Get registry resource media type.- Returns:
- registry resource media type as in descriptor data
-
setRegistryPath
public void setRegistryPath(String registryPath)
Add registry resource path inside the map.- Parameters:
registryPath- resource path as key
-
-