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 String
getArtifact()
Get registry resource source/artifact.String
getMediaType()
Get registry resource media type.String
getRegistryPath()
Get registry resource media type.String
getRegistryResourceName()
Get registry resource name.void
setArtifact(String registrySource)
Add registry resource source/artifact inside the map.void
setMediaType(String mediaType)
Add registry resource media-type inside the map.void
setRegistryPath(String registryPath)
Add registry resource path inside the map.void
setRegistryResourceName(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
-
-