Package io.digiexpress.eveli.envir.api
Class ImmutableEveliSources
java.lang.Object
io.digiexpress.eveli.envir.api.ImmutableEveliSources
- All Implemented Interfaces:
EveliEnvirClient.EveliSources
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableEveliSources
extends Object
implements EveliEnvirClient.EveliSources
Immutable implementation of
EveliEnvirClient.EveliSources.
Use the builder to create immutable instances:
ImmutableEveliSources.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableEveliSources. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableEveliSources.static ImmutableEveliSourcescopyOf(EveliEnvirClient.EveliSources instance) Creates an immutable copy of aEveliEnvirClient.EveliSourcesvalue.booleanThis instance is equal to all instances ofImmutableEveliSourcesthat have equal attribute values.com.google.common.collect.ImmutableList<io.dialob.api.form.Form>inthashCode()Computes a hash code from attributes:stencil,wrench,dialob.toString()Prints the immutable valueEveliSourceswith attribute values.final ImmutableEveliSourceswithDialob(io.dialob.api.form.Form... elements) Copy the current immutable object with elements that replace the content ofdialob.final ImmutableEveliSourceswithDialob(Iterable<? extends io.dialob.api.form.Form> elements) Copy the current immutable object with elements that replace the content ofdialob.final ImmutableEveliSourcesCopy the current immutable object by setting a value for thestencilattribute.final ImmutableEveliSourceswithWrench(AstTag value) Copy the current immutable object by setting a value for thewrenchattribute.
-
Method Details
-
getStencil
- Specified by:
getStencilin interfaceEveliEnvirClient.EveliSources- Returns:
- The value of the
stencilattribute
-
getWrench
- Specified by:
getWrenchin interfaceEveliEnvirClient.EveliSources- Returns:
- The value of the
wrenchattribute
-
getDialob
public com.google.common.collect.ImmutableList<io.dialob.api.form.Form> getDialob()- Specified by:
getDialobin interfaceEveliEnvirClient.EveliSources- Returns:
- The value of the
dialobattribute
-
withStencil
Copy the current immutable object by setting a value for thestencilattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for stencil- Returns:
- A modified copy of the
thisobject
-
withWrench
Copy the current immutable object by setting a value for thewrenchattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for wrench- Returns:
- A modified copy of the
thisobject
-
withDialob
Copy the current immutable object with elements that replace the content ofdialob.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withDialob
Copy the current immutable object with elements that replace the content ofdialob. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of dialob elements to set- Returns:
- A modified copy of
thisobject
-
equals
This instance is equal to all instances ofImmutableEveliSourcesthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:stencil,wrench,dialob. -
toString
Prints the immutable valueEveliSourceswith attribute values. -
copyOf
Creates an immutable copy of aEveliEnvirClient.EveliSourcesvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable EveliSources instance
-
builder
Creates a builder forImmutableEveliSources.ImmutableEveliSources.builder() .stencil(io.thestencil.client.api.StencilComposer.SiteState) // requiredstencil.wrench(io.resys.hdes.client.api.ast.AstTag) // requiredwrench.addDialob|addAllDialob(io.dialob.api.form.Form) //dialobelements .build();- Returns:
- A new ImmutableEveliSources builder
-