public class ObjectPluginContextImpl extends Object implements ObjectPluginContext
| Constructor and Description |
|---|
ObjectPluginContextImpl(GenerationContext generationContext,
CreationResult result) |
| Modifier and Type | Method and Description |
|---|---|
Set<CreationResult> |
childClasses(String ramlTypeName) |
TypeName |
createSupportClass(TypeSpec.Builder newSupportType) |
CreationResult |
creationResult() |
CreationResult |
dependentType(org.raml.v2.api.model.v10.datamodel.TypeDeclaration items) |
TypeName |
forProperty(org.raml.v2.api.model.v10.datamodel.TypeDeclaration typeDeclaration) |
public ObjectPluginContextImpl(GenerationContext generationContext, CreationResult result)
public Set<CreationResult> childClasses(String ramlTypeName)
childClasses in interface ObjectPluginContextpublic CreationResult creationResult()
creationResult in interface ObjectPluginContextpublic CreationResult dependentType(org.raml.v2.api.model.v10.datamodel.TypeDeclaration items)
dependentType in interface ObjectPluginContextpublic TypeName forProperty(org.raml.v2.api.model.v10.datamodel.TypeDeclaration typeDeclaration)
forProperty in interface ObjectPluginContextpublic TypeName createSupportClass(TypeSpec.Builder newSupportType)
createSupportClass in interface ObjectPluginContextCopyright © 2019 Mulesoft. All rights reserved.