Class ServicesDescriptor

java.lang.Object
org.codehaus.mojo.servicedocgen.descriptor.AbstractDescriptor
org.codehaus.mojo.servicedocgen.descriptor.ServicesDescriptor
All Implemented Interfaces:
Descriptor

public class ServicesDescriptor extends AbstractDescriptor
Toplevel Descriptor for all discovered services.
Author:
hohwille
See Also:
  • Constructor Details

    • ServicesDescriptor

      public ServicesDescriptor()
      The constructor.
  • Method Details

    • getInfo

      public InfoDescriptor getInfo()
      Returns:
      the info
    • setInfo

      public void setInfo(InfoDescriptor info)
      Parameters:
      info - is the info to set
    • getHost

      public String getHost()
      Returns:
      the host
    • setHost

      public void setHost(String host)
      Parameters:
      host - is the host to set
    • getPort

      public int getPort()
      Returns:
      the port
    • setPort

      public void setPort(int port)
      Parameters:
      port - is the port to set
    • getBasePath

      public String getBasePath()
      Returns:
      the basePath
    • setBasePath

      public void setBasePath(String basePath)
      Parameters:
      basePath - is the basePath to set
    • getJavadocs

      public List<JavaDocDescriptor> getJavadocs()
      Returns:
      the javadocs
    • setJavadocs

      public void setJavadocs(List<JavaDocDescriptor> javadocs)
      Parameters:
      javadocs - is the javadocs to set
    • getSchemes

      public Set<String> getSchemes()
      Returns:
      the schemes
    • setSchemes

      public void setSchemes(Set<String> schemes)
      Parameters:
      schemes - is the schemes to set
    • getConsumes

      public Set<String> getConsumes()
      Returns:
      the consumes
    • setConsumes

      public void setConsumes(Set<String> consumes)
      Parameters:
      consumes - is the consumes to set
    • getProduces

      public Set<String> getProduces()
      Returns:
      the produces
    • setProduces

      public void setProduces(Set<String> produces)
      Parameters:
      produces - is the produces to set
    • getServices

      public List<ServiceDescriptor> getServices()
      Returns:
      the services
    • setServices

      public void setServices(List<ServiceDescriptor> services)
      Parameters:
      services - is the services to set
    • getErrors

      public List<ErrorDescriptor> getErrors()
      Returns:
      the errors
    • setErrors

      public void setErrors(List<ErrorDescriptor> errors)
      Parameters:
      errors - is the errors to set
    • getExternalDocs

      public ExternalDocumentationDescriptor getExternalDocs()
      Returns:
      the externalDocs
    • setExternalDocs

      public void setExternalDocs(ExternalDocumentationDescriptor externalDocs)
      Parameters:
      externalDocs - is the externalDocs to set
    • getSchemaDefinitionJson

      public String getSchemaDefinitionJson()
      Returns:
      the schema definition as json
    • setSchemaDefinitionJson

      public void setSchemaDefinitionJson(String schemaDefinitionJson)
      Parameters:
      schemaDefinitionJson - is the schema definition as json to set
    • getSchemaDefinitionYaml

      public String getSchemaDefinitionYaml()
      Returns:
      the schema definition as yaml
    • setSchemaDefinitionYaml

      public void setSchemaDefinitionYaml(String schemaDefinitionYaml)
      Parameters:
      schemaDefinitionYaml - is the schema definition as yaml to set
    • createDefault

      public static ServicesDescriptor createDefault()
      Returns:
      a new default instance of ServiceDescriptor.