Class ServiceDescriptor

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

public class ServiceDescriptor extends AbstractDescriptor
Descriptor of a service.
Author:
hohwille
See Also:
  • Constructor Details

    • ServiceDescriptor

      public ServiceDescriptor()
  • Method Details

    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - is the id to set
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - is the name to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - is the description to set
    • getBasePath

      public String getBasePath()
      Returns:
      the basePath
    • setBasePath

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

      public List<OperationDescriptor> getOperations()
      Returns:
      the paths
    • getOperationsGroupedByHttpMethod

      public Map<String, List<OperationDescriptor>> getOperationsGroupedByHttpMethod()
      Returns:
      a Map mapping from HTTP-method to OperationDescriptor.
    • setOperations

      public void setOperations(List<OperationDescriptor> paths)
      Parameters:
      paths - is the paths 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
    • getJavaType

      public JType getJavaType()
      Returns:
      the javaType
    • setJavaType

      public void setJavaType(JType javaType)
      Parameters:
      javaType - is the javaType to set