public class MockService
extends java.lang.Object
Constructor and Description |
---|
MockService() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContext()
Get mock service context.
|
int |
getPort()
Get mock service port.
|
java.util.List<ServiceResource> |
getResources()
Get mock service resources.
|
java.lang.String |
getServiceName()
Get mock services name.
|
void |
setContext(java.lang.String context)
Add mock service path inside the ArrayList.
|
void |
setPort(int port)
Add mock service port inside the ArrayList.
|
void |
setResources(java.util.List<ServiceResource> resources)
Set mock service resources array.
|
void |
setServiceName(java.lang.String serviceName)
Add mock service name inside the map.
|
public int getPort()
public java.lang.String getServiceName()
public java.lang.String getContext()
public java.util.List<ServiceResource> getResources()
public void setPort(int port)
port
- service port as in descriptor datapublic void setServiceName(java.lang.String serviceName)
serviceName
- service name as keypublic void setContext(java.lang.String context)
context
- service path as in descriptor datapublic void setResources(java.util.List<ServiceResource> resources)
resources
- resources as in descriptor dataCopyright © 2005-2020 Apache Software Foundation. All Rights Reserved.