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
-
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
ContainerConfiguration
public ContainerConfiguration(Optional<String> workingDirectory, Set<String> ports, List<String> args, Set<String> labels) Creates an instance of aContainerConfigurationrecord class.- Parameters:
workingDirectory- the value for theworkingDirectoryrecord componentports- the value for theportsrecord componentargs- the value for theargsrecord componentlabels- the value for thelabelsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates 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). -
workingDirectory
Returns the value of theworkingDirectoryrecord component.- Returns:
- the value of the
workingDirectoryrecord component
-
ports
-
args
-
labels
-