Package io.micronaut.maven.jib
Record Class JibConfiguration.ContainerConfiguration
java.lang.Object
java.lang.Record
io.micronaut.maven.jib.JibConfiguration.ContainerConfiguration
- Record Components:
- workingDirectory- The working directory.
- ports- The ports.
- args- The arguments.
- labels- The labels.
- Enclosing class:
- JibConfiguration
public static record JibConfiguration.ContainerConfiguration(Optional<String> workingDirectory, Set<String> ports, List<String> args, Set<String> labels)
extends Record
Represents the container configuration.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionargs()Returns the value of theargsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.labels()Returns the value of thelabelsrecord component.ports()Returns the value of theportsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworkingDirectoryrecord component.
- 
Constructor Details- 
ContainerConfigurationpublic ContainerConfiguration(Optional<String> workingDirectory, Set<String> ports, List<String> args, Set<String> labels) Creates an instance of aContainerConfigurationrecord class.- Parameters:
- workingDirectory- the value for the- workingDirectoryrecord component
- ports- the value for the- portsrecord component
- args- the value for the- argsrecord component
- labels- the value for the- labelsrecord component
 
 
- 
- 
Method Details- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodeReturns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
workingDirectoryReturns the value of theworkingDirectoryrecord component.- Returns:
- the value of the workingDirectoryrecord component
 
- 
portsReturns the value of theportsrecord component.- Returns:
- the value of the portsrecord component
 
- 
argsReturns the value of theargsrecord component.- Returns:
- the value of the argsrecord component
 
- 
labelsReturns the value of thelabelsrecord component.- Returns:
- the value of the labelsrecord component
 
 
-