@Generated(value={"Immutables.generator","SMFFilterCommandContextType"}) public final class SMFFilterCommandContext extends Object implements SMFFilterCommandContextType
| Modifier and Type | Class and Description |
|---|---|
static class |
SMFFilterCommandContext.Builder
Builds instances of type
SMFFilterCommandContext. |
| Modifier and Type | Method and Description |
|---|---|
static SMFFilterCommandContext.Builder |
builder()
Creates a builder for
SMFFilterCommandContext. |
static SMFFilterCommandContext |
copyOf(SMFFilterCommandContextType instance)
Creates an immutable copy of a
SMFFilterCommandContextType value. |
Path |
currentPath()
The current path.
|
boolean |
equals(Object another)
This instance is equal to all instances of
SMFFilterCommandContext that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
sourceRoot, currentPath. |
static SMFFilterCommandContext |
of(Path sourceRoot,
Path currentPath)
Construct a new immutable
SMFFilterCommandContext instance. |
Path |
sourceRoot()
The source root directory.
|
String |
toString()
Prints the immutable value
SMFFilterCommandContext with attribute values. |
SMFFilterCommandContext |
withCurrentPath(Path value)
Copy the current immutable object by setting a value for the
currentPath attribute. |
SMFFilterCommandContext |
withSourceRoot(Path value)
Copy the current immutable object by setting a value for the
sourceRoot attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditions, resolvePathpublic Path sourceRoot()
sourceRoot in interface SMFFilterCommandContextTypepublic Path currentPath()
currentPath in interface SMFFilterCommandContextTypeSMFFilterCommandContextType.resolvePath(Path)public final SMFFilterCommandContext withSourceRoot(Path value)
sourceRoot attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for sourceRootthis objectpublic final SMFFilterCommandContext withCurrentPath(Path value)
currentPath attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for currentPaththis objectpublic boolean equals(Object another)
SMFFilterCommandContext that have equal attribute values.public int hashCode()
sourceRoot, currentPath.public String toString()
SMFFilterCommandContext with attribute values.public static SMFFilterCommandContext of(Path sourceRoot, Path currentPath)
SMFFilterCommandContext instance.sourceRoot - The value for the sourceRoot attributecurrentPath - The value for the currentPath attributepublic static SMFFilterCommandContext copyOf(SMFFilterCommandContextType instance)
SMFFilterCommandContextType 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 SMFFilterCommandContext.Builder builder()
SMFFilterCommandContext.Copyright © 2017 <code@io7m.com> http://io7m.com