MinConfigurationTypepublic final class MinConfiguration extends Object implements MinConfigurationType
| Modifier and Type | Class | Description |
|---|---|---|
static class |
MinConfiguration.Builder |
Builds instances of type
MinConfiguration. |
| Modifier and Type | Method | Description |
|---|---|---|
Optional<MinBugTrackerConfiguration> |
bugTracker() |
|
static MinConfiguration.Builder |
builder() |
Creates a builder for
MinConfiguration. |
String |
centralReposPath() |
|
Optional<MinChangesConfiguration> |
changelog() |
|
static MinConfiguration |
copyOf(MinConfigurationType instance) |
Creates an immutable copy of a
MinConfigurationType value. |
Optional<Path> |
documentation() |
|
boolean |
equals(Object another) |
This instance is equal to all instances of
MinConfiguration that have equal attribute values. |
Optional<Path> |
features() |
|
int |
hashCode() |
Computes a hash code from attributes:
projectName, projectGroupName, projectModules, release, centralReposPath, overview, features, documentation, changelog, license, bugTracker, sources. |
Optional<Path> |
license() |
|
static MinConfiguration |
of(String projectName,
String projectGroupName,
io.vavr.collection.Vector<String> projectModules,
String release,
String centralReposPath,
Optional<? extends Path> overview,
Optional<? extends Path> features,
Optional<? extends Path> documentation,
Optional<? extends MinChangesConfiguration> changelog,
Optional<? extends Path> license,
Optional<? extends MinBugTrackerConfiguration> bugTracker,
Optional<? extends MinSourcesConfiguration> sources) |
Construct a new immutable
MinConfiguration instance. |
Optional<Path> |
overview() |
|
String |
projectGroupName() |
|
io.vavr.collection.Vector<String> |
projectModules() |
|
String |
projectName() |
|
String |
release() |
|
Optional<MinSourcesConfiguration> |
sources() |
|
String |
toString() |
Prints the immutable value
MinConfiguration with attribute values. |
MinConfiguration |
withBugTracker(MinBugTrackerConfiguration value) |
Copy the current immutable object by setting a present value for the optional
bugTracker attribute. |
MinConfiguration |
withBugTracker(Optional<? extends MinBugTrackerConfiguration> optional) |
Copy the current immutable object by setting an optional value for the
bugTracker attribute. |
MinConfiguration |
withCentralReposPath(String value) |
Copy the current immutable object by setting a value for the
centralReposPath attribute. |
MinConfiguration |
withChangelog(MinChangesConfiguration value) |
Copy the current immutable object by setting a present value for the optional
changelog attribute. |
MinConfiguration |
withChangelog(Optional<? extends MinChangesConfiguration> optional) |
Copy the current immutable object by setting an optional value for the
changelog attribute. |
MinConfiguration |
withDocumentation(Path value) |
Copy the current immutable object by setting a present value for the optional
documentation attribute. |
MinConfiguration |
withDocumentation(Optional<? extends Path> optional) |
Copy the current immutable object by setting an optional value for the
documentation attribute. |
MinConfiguration |
withFeatures(Path value) |
Copy the current immutable object by setting a present value for the optional
features attribute. |
MinConfiguration |
withFeatures(Optional<? extends Path> optional) |
Copy the current immutable object by setting an optional value for the
features attribute. |
MinConfiguration |
withLicense(Path value) |
Copy the current immutable object by setting a present value for the optional
license attribute. |
MinConfiguration |
withLicense(Optional<? extends Path> optional) |
Copy the current immutable object by setting an optional value for the
license attribute. |
MinConfiguration |
withOverview(Path value) |
Copy the current immutable object by setting a present value for the optional
overview attribute. |
MinConfiguration |
withOverview(Optional<? extends Path> optional) |
Copy the current immutable object by setting an optional value for the
overview attribute. |
MinConfiguration |
withProjectGroupName(String value) |
Copy the current immutable object by setting a value for the
projectGroupName attribute. |
MinConfiguration |
withProjectModules(io.vavr.collection.Vector<String> value) |
|
MinConfiguration |
withProjectName(String value) |
Copy the current immutable object by setting a value for the
projectName attribute. |
MinConfiguration |
withRelease(String value) |
Copy the current immutable object by setting a value for the
release attribute. |
MinConfiguration |
withSources(MinSourcesConfiguration value) |
Copy the current immutable object by setting a present value for the optional
sources attribute. |
MinConfiguration |
withSources(Optional<? extends MinSourcesConfiguration> optional) |
Copy the current immutable object by setting an optional value for the
sources attribute. |
public String projectName()
projectName in interface MinConfigurationTypepublic String projectGroupName()
projectGroupName in interface MinConfigurationTypepublic io.vavr.collection.Vector<String> projectModules()
projectModules in interface MinConfigurationTypepublic String release()
release in interface MinConfigurationTypepublic String centralReposPath()
centralReposPath in interface MinConfigurationTypepublic Optional<Path> overview()
overview in interface MinConfigurationTypepublic Optional<Path> features()
features in interface MinConfigurationTypepublic Optional<Path> documentation()
documentation in interface MinConfigurationTypepublic Optional<MinChangesConfiguration> changelog()
changelog in interface MinConfigurationTypepublic Optional<Path> license()
license in interface MinConfigurationTypepublic Optional<MinBugTrackerConfiguration> bugTracker()
bugTracker in interface MinConfigurationTypepublic Optional<MinSourcesConfiguration> sources()
sources in interface MinConfigurationTypepublic final MinConfiguration withProjectName(String value)
projectName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for projectNamethis objectpublic final MinConfiguration withProjectGroupName(String value)
projectGroupName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for projectGroupNamethis objectpublic MinConfiguration withProjectModules(io.vavr.collection.Vector<String> value)
public final MinConfiguration withRelease(String value)
release attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for releasethis objectpublic final MinConfiguration withCentralReposPath(String value)
centralReposPath attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for centralReposPaththis objectpublic final MinConfiguration withOverview(Path value)
overview attribute.value - The value for overviewthis objectpublic final MinConfiguration withOverview(Optional<? extends Path> optional)
overview attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for overviewthis objectpublic final MinConfiguration withFeatures(Path value)
features attribute.value - The value for featuresthis objectpublic final MinConfiguration withFeatures(Optional<? extends Path> optional)
features attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for featuresthis objectpublic final MinConfiguration withDocumentation(Path value)
documentation attribute.value - The value for documentationthis objectpublic final MinConfiguration withDocumentation(Optional<? extends Path> optional)
documentation attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for documentationthis objectpublic final MinConfiguration withChangelog(MinChangesConfiguration value)
changelog attribute.value - The value for changelogthis objectpublic final MinConfiguration withChangelog(Optional<? extends MinChangesConfiguration> optional)
changelog attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for changelogthis objectpublic final MinConfiguration withLicense(Path value)
license attribute.value - The value for licensethis objectpublic final MinConfiguration withLicense(Optional<? extends Path> optional)
license attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for licensethis objectpublic final MinConfiguration withBugTracker(MinBugTrackerConfiguration value)
bugTracker attribute.value - The value for bugTrackerthis objectpublic final MinConfiguration withBugTracker(Optional<? extends MinBugTrackerConfiguration> optional)
bugTracker attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for bugTrackerthis objectpublic final MinConfiguration withSources(MinSourcesConfiguration value)
sources attribute.value - The value for sourcesthis objectpublic final MinConfiguration withSources(Optional<? extends MinSourcesConfiguration> optional)
sources attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for sourcesthis objectpublic boolean equals(Object another)
MinConfiguration that have equal attribute values.public int hashCode()
projectName, projectGroupName, projectModules, release, centralReposPath, overview, features, documentation, changelog, license, bugTracker, sources.public String toString()
MinConfiguration with attribute values.public static MinConfiguration of(String projectName, String projectGroupName, io.vavr.collection.Vector<String> projectModules, String release, String centralReposPath, Optional<? extends Path> overview, Optional<? extends Path> features, Optional<? extends Path> documentation, Optional<? extends MinChangesConfiguration> changelog, Optional<? extends Path> license, Optional<? extends MinBugTrackerConfiguration> bugTracker, Optional<? extends MinSourcesConfiguration> sources)
MinConfiguration instance.projectName - The value for the projectName attributeprojectGroupName - The value for the projectGroupName attributeprojectModules - The value for the projectModules attributerelease - The value for the release attributecentralReposPath - The value for the centralReposPath attributeoverview - The value for the overview attributefeatures - The value for the features attributedocumentation - The value for the documentation attributechangelog - The value for the changelog attributelicense - The value for the license attributebugTracker - The value for the bugTracker attributesources - The value for the sources attributepublic static MinConfiguration copyOf(MinConfigurationType instance)
MinConfigurationType 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 MinConfiguration.Builder builder()
MinConfiguration.Copyright © 2018 <code@io7m.com> http://io7m.com