com.smartbear.swagger4j.impl
Class ResourceListingImpl

java.lang.Object
  extended by com.smartbear.swagger4j.impl.ResourceListingImpl
All Implemented Interfaces:
ResourceListing

public class ResourceListingImpl
extends Object
implements ResourceListing

Default implementation of the ResourceListing interface

See Also:
ResourceListing

Nested Class Summary
 class ResourceListingImpl.ResourceListingApiImpl
           
 
Nested classes/interfaces inherited from interface com.smartbear.swagger4j.ResourceListing
ResourceListing.ResourceListingApi
 
Method Summary
 ResourceListing.ResourceListingApi addApi(ApiDeclaration apiDeclaration, String path)
           
 List<ResourceListing.ResourceListingApi> getApis()
           
 String getApiVersion()
           
 String getBasePath()
           
 String getSwaggerVersion()
           
 void removeApi(ResourceListing.ResourceListingApi api)
           
 void setApiVersion(String apiVersion)
           
 void setBasePath(String basePath)
           
 void setSwaggerVersion(String swaggerVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getApiVersion

public String getApiVersion()
Specified by:
getApiVersion in interface ResourceListing

setApiVersion

public void setApiVersion(String apiVersion)
Specified by:
setApiVersion in interface ResourceListing

getSwaggerVersion

public String getSwaggerVersion()
Specified by:
getSwaggerVersion in interface ResourceListing

setSwaggerVersion

public void setSwaggerVersion(String swaggerVersion)
Specified by:
setSwaggerVersion in interface ResourceListing

getBasePath

public String getBasePath()
Specified by:
getBasePath in interface ResourceListing

setBasePath

public void setBasePath(String basePath)
Specified by:
setBasePath in interface ResourceListing

getApis

public List<ResourceListing.ResourceListingApi> getApis()
Specified by:
getApis in interface ResourceListing

removeApi

public void removeApi(ResourceListing.ResourceListingApi api)
Specified by:
removeApi in interface ResourceListing

addApi

public ResourceListing.ResourceListingApi addApi(ApiDeclaration apiDeclaration,
                                                 String path)
Specified by:
addApi in interface ResourceListing


Copyright © 2013. All Rights Reserved.