Record Class LocalDeployPreflight.PreflightOutcome
java.lang.Object
java.lang.Record
com.cloudforgeci.api.deploy.LocalDeployPreflight.PreflightOutcome
- Enclosing class:
LocalDeployPreflight
public static record LocalDeployPreflight.PreflightOutcome(PreflightResult result, PreflightMode mode, boolean ran)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPreflightOutcome(PreflightResult result, PreflightMode mode) PreflightOutcome(PreflightResult result, PreflightMode mode, boolean ran) Creates an instance of aPreflightOutcomerecord 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.mode()Returns the value of themoderecord component.booleanran()Returns the value of theranrecord component.result()Returns the value of theresultrecord component.skipped()voidfinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PreflightOutcome
-
PreflightOutcome
Creates an instance of aPreflightOutcomerecord class.- Parameters:
result- the value for theresultrecord componentmode- the value for themoderecord componentran- the value for theranrecord component
-
-
Method Details
-
skipped
-
warningMessages
-
throwIfBlocked
- Throws:
IOException
-
formattedWarnings
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
ran
public boolean ran()Returns the value of theranrecord component.- Returns:
- the value of the
ranrecord component
-