@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","IOptions"}) @Immutable public final class Options extends Object implements IOptions
| Modifier and Type | Class and Description |
|---|---|
static interface |
Options.BaseGenerationPackageBuildStage |
static class |
Options.Builder
Builds instances of type
Options. |
static interface |
Options.BuildFinal |
static interface |
Options.CodeGeneratorBuildStage |
static interface |
Options.SpecificationGeneratorBuildStage |
| Modifier and Type | Method and Description |
|---|---|
String |
baseGenerationPackage() |
static Options.BaseGenerationPackageBuildStage |
builder()
Creates a builder for
Options. |
ICodeGeneratorOptions |
codeGenerator() |
static Options |
copyOf(IOptions instance)
Creates an immutable copy of a
IOptions value. |
boolean |
equals(Object another)
This instance is equal to all instances of
Options that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
baseGenerationPackage, specificationGenerator, codeGenerator. |
ISpecificationGeneratorOptions |
specificationGenerator() |
String |
toString()
Prints the immutable value
Options with attribute values. |
Options |
withBaseGenerationPackage(String value)
Copy the current immutable object by setting a value for the
baseGenerationPackage attribute. |
Options |
withCodeGenerator(ICodeGeneratorOptions value)
Copy the current immutable object by setting a value for the
codeGenerator attribute. |
Options |
withSpecificationGenerator(ISpecificationGeneratorOptions value)
Copy the current immutable object by setting a value for the
specificationGenerator attribute. |
public String baseGenerationPackage()
baseGenerationPackage in interface IOptionspublic ISpecificationGeneratorOptions specificationGenerator()
specificationGenerator in interface IOptionspublic ICodeGeneratorOptions codeGenerator()
codeGenerator in interface IOptionspublic final Options withBaseGenerationPackage(String value)
baseGenerationPackage attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for baseGenerationPackagethis objectpublic final Options withSpecificationGenerator(ISpecificationGeneratorOptions value)
specificationGenerator attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for specificationGeneratorthis objectpublic final Options withCodeGenerator(ICodeGeneratorOptions value)
codeGenerator attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for codeGeneratorthis objectpublic boolean equals(@Nullable Object another)
Options that have equal attribute values.public int hashCode()
baseGenerationPackage, specificationGenerator, codeGenerator.public String toString()
Options with attribute values.public static Options copyOf(IOptions instance)
IOptions value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static Options.BaseGenerationPackageBuildStage builder()
Options.Copyright © 2017 Cosium. All rights reserved.