Apache CXF API

org.apache.cxf.jaxrs.swagger
Class SwaggerFeature

java.lang.Object
  extended by javax.xml.ws.WebServiceFeature
      extended by org.apache.cxf.feature.AbstractFeature
          extended by org.apache.cxf.jaxrs.swagger.SwaggerFeature
All Implemented Interfaces:
Feature

public class SwaggerFeature
extends AbstractFeature


Field Summary
 
Fields inherited from class javax.xml.ws.WebServiceFeature
enabled
 
Constructor Summary
SwaggerFeature()
           
 
Method Summary
 String getBasePath()
           
 String getContact()
           
 String getDescription()
           
 String getLicense()
           
 String getLicenseUrl()
           
 String getResourcePackage()
           
 String getTitle()
           
 String getVersion()
           
 void initialize(Server server, Bus bus)
           
 boolean isScan()
           
 void setBasePath(String basePath)
           
 void setContact(String contact)
           
 void setDescription(String description)
           
 void setLicense(String license)
           
 void setLicenseUrl(String licenseUrl)
           
 void setResourcePackage(String resourcePackage)
           
 void setScan(boolean scan)
           
 void setTitle(String title)
           
 void setVersion(String version)
           
 
Methods inherited from class org.apache.cxf.feature.AbstractFeature
getActive, getID, initialize, initialize, initialize, initializeProvider
 
Methods inherited from class javax.xml.ws.WebServiceFeature
isEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwaggerFeature

public SwaggerFeature()
Method Detail

initialize

public void initialize(Server server,
                       Bus bus)
Specified by:
initialize in interface Feature
Overrides:
initialize in class AbstractFeature

getResourcePackage

public String getResourcePackage()

setResourcePackage

public void setResourcePackage(String resourcePackage)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getBasePath

public String getBasePath()

setBasePath

public void setBasePath(String basePath)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getContact

public String getContact()

setContact

public void setContact(String contact)

getLicense

public String getLicense()

setLicense

public void setLicense(String license)

getLicenseUrl

public String getLicenseUrl()

setLicenseUrl

public void setLicenseUrl(String licenseUrl)

isScan

public boolean isScan()

setScan

public void setScan(boolean scan)

Apache CXF API

Apache CXF