Record Class GitFlowPlanner.Plan
java.lang.Object
java.lang.Record
io.github.jbastgen.stemma.gitflow.GitFlowPlanner.Plan
- Record Components:
steps- what will happen, in orderproblems- what must be fixed first; empty when the set-up can runnotes- things worth knowing that do not block (for example branches that no longer match a changed prefix)
- Enclosing class:
GitFlowPlanner
-
Constructor Summary
Constructors -
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.notes()Returns the value of thenotesrecord component.booleanok()Whether the set-up can run: nothing in the choices needs to be fixed.problems()Returns the value of theproblemsrecord component.steps()Returns the value of thestepsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
ok
public boolean ok()Whether the set-up can run: nothing in the choices needs to be fixed. -
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. All components in this record class are compared withObjects::equals(Object,Object). -
steps
Returns the value of thestepsrecord component.- Returns:
- the value of the
stepsrecord component
-
problems
Returns the value of theproblemsrecord component.- Returns:
- the value of the
problemsrecord component
-
notes
Returns the value of thenotesrecord component.- Returns:
- the value of the
notesrecord component
-