Record Class AppConfiguration
java.lang.Object
java.lang.Record
gov.nasa.jpl.aerie.merlin.server.config.AppConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionAppConfiguration(int httpPort, boolean enableJavalinDevLogging, Path merlinFileStore, Store store, Instant untruePlanStart, URI hasuraGraphqlURI, String hasuraGraphQlAdminSecret, boolean enableContinuousValidationThread, int validationThreadPollingPeriod) Creates an instance of aAppConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theenableContinuousValidationThreadrecord component.booleanReturns the value of theenableJavalinDevLoggingrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thehasuraGraphQlAdminSecretrecord component.Returns the value of thehasuraGraphqlURIrecord component.inthttpPort()Returns the value of thehttpPortrecord component.Returns the value of themerlinFileStorerecord component.store()Returns the value of thestorerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuntruePlanStartrecord component.intReturns the value of thevalidationThreadPollingPeriodrecord component.
-
Constructor Details
-
AppConfiguration
public AppConfiguration(int httpPort, boolean enableJavalinDevLogging, Path merlinFileStore, Store store, Instant untruePlanStart, URI hasuraGraphqlURI, String hasuraGraphQlAdminSecret, boolean enableContinuousValidationThread, int validationThreadPollingPeriod) Creates an instance of aAppConfigurationrecord class.- Parameters:
httpPort- the value for thehttpPortrecord componentenableJavalinDevLogging- the value for theenableJavalinDevLoggingrecord componentmerlinFileStore- the value for themerlinFileStorerecord componentstore- the value for thestorerecord componentuntruePlanStart- the value for theuntruePlanStartrecord componenthasuraGraphqlURI- the value for thehasuraGraphqlURIrecord componenthasuraGraphQlAdminSecret- the value for thehasuraGraphQlAdminSecretrecord componentenableContinuousValidationThread- the value for theenableContinuousValidationThreadrecord componentvalidationThreadPollingPeriod- the value for thevalidationThreadPollingPeriodrecord component
-
-
Method Details
-
toString
Returns 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. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
httpPort
public int httpPort()Returns the value of thehttpPortrecord component.- Returns:
- the value of the
httpPortrecord component
-
enableJavalinDevLogging
public boolean enableJavalinDevLogging()Returns the value of theenableJavalinDevLoggingrecord component.- Returns:
- the value of the
enableJavalinDevLoggingrecord component
-
merlinFileStore
Returns the value of themerlinFileStorerecord component.- Returns:
- the value of the
merlinFileStorerecord component
-
store
Returns the value of thestorerecord component.- Returns:
- the value of the
storerecord component
-
untruePlanStart
Returns the value of theuntruePlanStartrecord component.- Returns:
- the value of the
untruePlanStartrecord component
-
hasuraGraphqlURI
Returns the value of thehasuraGraphqlURIrecord component.- Returns:
- the value of the
hasuraGraphqlURIrecord component
-
hasuraGraphQlAdminSecret
Returns the value of thehasuraGraphQlAdminSecretrecord component.- Returns:
- the value of the
hasuraGraphQlAdminSecretrecord component
-
enableContinuousValidationThread
public boolean enableContinuousValidationThread()Returns the value of theenableContinuousValidationThreadrecord component.- Returns:
- the value of the
enableContinuousValidationThreadrecord component
-
validationThreadPollingPeriod
public int validationThreadPollingPeriod()Returns the value of thevalidationThreadPollingPeriodrecord component.- Returns:
- the value of the
validationThreadPollingPeriodrecord component
-