Record Class WorkerAppConfiguration
java.lang.Object
java.lang.Record
gov.nasa.jpl.aerie.scheduler.worker.WorkerAppConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionWorkerAppConfiguration(gov.nasa.jpl.aerie.scheduler.server.config.Store store, URI merlinGraphqlURI, Path merlinFileStore, gov.nasa.jpl.aerie.scheduler.server.config.PlanOutputMode outputMode, String hasuraGraphQlAdminSecret, int maxCachedSimulationEngines) Creates an instance of aWorkerAppConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.intReturns the value of themaxCachedSimulationEnginesrecord component.Returns the value of themerlinFileStorerecord component.Returns the value of themerlinGraphqlURIrecord component.gov.nasa.jpl.aerie.scheduler.server.config.PlanOutputModeReturns the value of theoutputModerecord component.gov.nasa.jpl.aerie.scheduler.server.config.Storestore()Returns the value of thestorerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WorkerAppConfiguration
public WorkerAppConfiguration(gov.nasa.jpl.aerie.scheduler.server.config.Store store, URI merlinGraphqlURI, Path merlinFileStore, gov.nasa.jpl.aerie.scheduler.server.config.PlanOutputMode outputMode, String hasuraGraphQlAdminSecret, int maxCachedSimulationEngines) Creates an instance of aWorkerAppConfigurationrecord class.- Parameters:
store- the value for thestorerecord componentmerlinGraphqlURI- the value for themerlinGraphqlURIrecord componentmerlinFileStore- the value for themerlinFileStorerecord componentoutputMode- the value for theoutputModerecord componenthasuraGraphQlAdminSecret- the value for thehasuraGraphQlAdminSecretrecord componentmaxCachedSimulationEngines- the value for themaxCachedSimulationEnginesrecord 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 '=='. -
store
public gov.nasa.jpl.aerie.scheduler.server.config.Store store()Returns the value of thestorerecord component.- Returns:
- the value of the
storerecord component
-
merlinGraphqlURI
Returns the value of themerlinGraphqlURIrecord component.- Returns:
- the value of the
merlinGraphqlURIrecord component
-
merlinFileStore
Returns the value of themerlinFileStorerecord component.- Returns:
- the value of the
merlinFileStorerecord component
-
outputMode
public gov.nasa.jpl.aerie.scheduler.server.config.PlanOutputMode outputMode()Returns the value of theoutputModerecord component.- Returns:
- the value of the
outputModerecord component
-
hasuraGraphQlAdminSecret
Returns the value of thehasuraGraphQlAdminSecretrecord component.- Returns:
- the value of the
hasuraGraphQlAdminSecretrecord component
-
maxCachedSimulationEngines
public int maxCachedSimulationEngines()Returns the value of themaxCachedSimulationEnginesrecord component.- Returns:
- the value of the
maxCachedSimulationEnginesrecord component
-