public class SwiftGeneratorConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SwiftGeneratorConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SwiftGeneratorConfig.Builder |
builder() |
boolean |
containsTweak(SwiftGeneratorTweak tweak)
Returns true if the tweak is set, false otherwise.
|
String |
getCodeFlavor()
The template to use for generating source code.
|
String |
getDefaultPackage()
If no namespace was set in the Thrift IDL file, fall back to this package.
|
Iterable<URI> |
getIncludeSearchPaths()
Returns the list of URIs used as prefixes to search for include files.
|
URI |
getInputBase()
Returns the input base URI to load Thrift IDL files.
|
File |
getOutputFolder()
Returns the output folder which will contain the generated sources.
|
String |
getOverridePackage()
If non-null, overrides the java namespace definitions in the IDL files.
|
boolean |
isGenerateIncludedCode()
If true, generate code for all included Thrift IDLs instead of just referring to
them.
|
public static SwiftGeneratorConfig.Builder builder()
public URI getInputBase()
public Iterable<URI> getIncludeSearchPaths()
public File getOutputFolder()
public String getOverridePackage()
public String getDefaultPackage()
public boolean containsTweak(SwiftGeneratorTweak tweak)
public boolean isGenerateIncludedCode()
public String getCodeFlavor()
Copyright © 2012-2016 Facebook, Inc.. All Rights Reserved.