Package com.axway.apim.api.model
Class APISpecIncludeExcludeFilter
- java.lang.Object
-
- com.axway.apim.api.model.APISpecIncludeExcludeFilter
-
public class APISpecIncludeExcludeFilter extends Object
-
-
Constructor Summary
Constructors Constructor Description APISpecIncludeExcludeFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddModel(String[] models)This method is used for tests onlyvoidaddPath(String[] pathAndVerbs)This method is used for tests onlyvoidaddTag(String[] tags)This method is used for tests onlybooleanfilter(String path, String httpMethod, List<String> tags, boolean useWildcard, boolean pathAndTags)List<String>getHttpMethods(String path, boolean includeWildcard)List<String>getModels()List<String>getPaths()List<String>getTags()voidsetModels(List<String> models)voidsetPaths(List<String> paths)voidsetTags(List<String> tags)
-
-
-
Method Detail
-
filter
public boolean filter(String path, String httpMethod, List<String> tags, boolean useWildcard, boolean pathAndTags)
-
addPath
public void addPath(String[] pathAndVerbs)
This method is used for tests only- Parameters:
pathAndVerbs- an array of path and verbs to include or exclude
-
addTag
public void addTag(String[] tags)
This method is used for tests only- Parameters:
tags- a list of tags to include or exclude
-
addModel
public void addModel(String[] models)
This method is used for tests only- Parameters:
models- a list of models to include or exclude
-
-