@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableCamelCapability extends Object implements CamelCapability
CamelCapability.
Use the builder to create immutable instances:
new CamelCapability.Builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCamelCapability.Builder
Builds instances of type
ImmutableCamelCapability. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCamelCapability |
copyOf(CamelCapability instance)
Creates an immutable copy of a
CamelCapability value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCamelCapability that have equal attribute values. |
com.google.common.collect.ImmutableSet<Artifact> |
getDependencies() |
int |
hashCode()
Returns a constant hash code value.
|
String |
toString()
Prints the immutable value
CamelCapability. |
ImmutableCamelCapability |
withDependencies(Artifact... elements)
Copy the current immutable object with elements that replace the content of
dependencies. |
ImmutableCamelCapability |
withDependencies(Iterable<? extends Artifact> elements)
Copy the current immutable object with elements that replace the content of
dependencies. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforArtifactpublic com.google.common.collect.ImmutableSet<Artifact> getDependencies()
getDependencies in interface CamelCapabilitydependencies attributepublic final ImmutableCamelCapability withDependencies(Artifact... elements)
dependencies.elements - The elements to setthis objectpublic final ImmutableCamelCapability withDependencies(Iterable<? extends Artifact> elements)
dependencies.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of dependencies elements to setthis objectpublic boolean equals(Object another)
ImmutableCamelCapability that have equal attribute values.public int hashCode()
public String toString()
CamelCapability.public static ImmutableCamelCapability copyOf(CamelCapability instance)
CamelCapability 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 copyCopyright © 2020 The Apache Software Foundation. All rights reserved.