Record Class DevApplicationConfig
java.lang.Object
java.lang.Record
io.fluxzero.devserver.DevApplicationConfig
- Record Components:
application- application selector, such as a module, simple main class, or fully qualified main classapplicationName- optional Fluxzero runtime application name overrideenv- non-secret environment values passed to the applicationsecrets- environment variable names mapped to 1Passwordop://references
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationrecord component.Returns the value of theapplicationNamerecord component.env()Returns the value of theenvrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.secrets()Returns the value of thesecretsrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
DevApplicationConfig
public DevApplicationConfig(String application, String applicationName, Map<String, String> env, Map<String, String> secrets) Creates an instance of aDevApplicationConfigrecord class.- Parameters:
application- the value for theapplicationrecord componentapplicationName- the value for theapplicationNamerecord componentenv- the value for theenvrecord componentsecrets- the value for thesecretsrecord 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). -
application
Returns the value of theapplicationrecord component.- Returns:
- the value of the
applicationrecord component
-
applicationName
Returns the value of theapplicationNamerecord component.- Returns:
- the value of the
applicationNamerecord component
-
env
-
secrets
-