primaryExecutable
Initializes the optional value
primaryExecutable to primaryExecutable.- Parameters:
primaryExecutable- The value for primaryExecutable- Returns:
thisbuilder for chained invocation
ImmutableToolInfo.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
addAllPathElements(Iterable<String> elements) pathElements list.addPathElements(String element) pathElements list.addPathElements(String... elements) pathElements list.build()ImmutableToolInfo.environmentVariables(Map<String,? extends String> entries) environmentVariables map.ToolInfo instance.pathElements(Iterable<String> elements) pathElements list.primaryExecutable(String primaryExecutable) primaryExecutable to primaryExecutable.primaryExecutable(Optional<String> primaryExecutable) primaryExecutable to primaryExecutable.putAllEnvironmentVariables(Map<String,? extends String> entries) environmentVariables map.putAllUnhandledProjectResources(Map<String,? extends String> entries) unhandledProjectResources map.putEnvironmentVariables(String key,
String value) environmentVariables map.putEnvironmentVariables(Map.Entry<String,? extends String> entry) environmentVariables map.putUnhandledProjectResources(String key,
String value) unhandledProjectResources map.putUnhandledProjectResources(Map.Entry<String,? extends String> entry) unhandledProjectResources map.unhandledProjectResources(Map<String,? extends String> entries) unhandledProjectResources map.ToolInfo instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationprimaryExecutable to primaryExecutable.primaryExecutable - The value for primaryExecutablethis builder for chained invocationprimaryExecutable to primaryExecutable.primaryExecutable - The value for primaryExecutablethis builder for use in a chained invocationenvironmentVariables map.key - The key in the environmentVariables mapvalue - The associated value in the environmentVariables mapthis builder for use in a chained invocationenvironmentVariables map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationenvironmentVariables map. Nulls are not permittedentries - The entries that will be added to the environmentVariables mapthis builder for use in a chained invocationenvironmentVariables map. Nulls are not permittedentries - The entries that will be added to the environmentVariables mapthis builder for use in a chained invocationpathElements list.element - A pathElements elementthis builder for use in a chained invocationpathElements list.elements - An array of pathElements elementsthis builder for use in a chained invocationpathElements list.elements - An iterable of pathElements elementsthis builder for use in a chained invocationpathElements list.elements - An iterable of pathElements elementsthis builder for use in a chained invocationunhandledProjectResources map.key - The key in the unhandledProjectResources mapvalue - The associated value in the unhandledProjectResources mapthis builder for use in a chained invocationunhandledProjectResources map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationunhandledProjectResources map. Nulls are not permittedentries - The entries that will be added to the unhandledProjectResources mapthis builder for use in a chained invocationunhandledProjectResources map. Nulls are not permittedentries - The entries that will be added to the unhandledProjectResources mapthis builder for use in a chained invocationImmutableToolInfo.IllegalStateException - if any required attributes are missing