@Service public class MockRuleServiceImpl extends Object implements IMockRuleService
| Modifier and Type | Field and Description |
|---|---|
static Map<String,MockRule> |
mockRuleMap |
| Constructor and Description |
|---|
MockRuleServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
addMockRule(MockRule mockRule) |
Boolean |
deleteMockRule(String requestPath) |
String |
getMockData(String requestPath) |
MockRule |
getMockRule(String requestPath) |
List<MockRule> |
getMockRuleList(String requestPathKeyword) |
Boolean |
updateMockRule(MockRule mockRule) |
public List<MockRule> getMockRuleList(String requestPathKeyword) throws Exception
getMockRuleList in interface IMockRuleServiceExceptionpublic Boolean addMockRule(MockRule mockRule) throws Exception
addMockRule in interface IMockRuleServiceExceptionpublic Boolean updateMockRule(MockRule mockRule) throws Exception
updateMockRule in interface IMockRuleServiceExceptionpublic Boolean deleteMockRule(String requestPath) throws Exception
deleteMockRule in interface IMockRuleServiceExceptionpublic MockRule getMockRule(String requestPath) throws Exception
getMockRule in interface IMockRuleServiceExceptionpublic String getMockData(String requestPath) throws Exception
getMockData in interface IMockRuleServiceExceptionCopyright © 2022. All rights reserved.