Record Class McpShaftProjectUpgradeResult
java.lang.Object
java.lang.Record
com.shaft.mcp.McpShaftProjectUpgradeResult
- Record Components:
schemaVersion- result schema versionprojectRoot- upgraded project rootreportPath- optional upgrader report pathdryRun- whether the upgrader was run in dry-run modeexitCode- upgrader process exit codestdout- captured standard outputstderr- captured standard errortimedOut- whether the process exceeded the timeoutcommand- executed command
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommand()Returns the value of thecommandrecord component.booleandryRun()Returns the value of thedryRunrecord component.final booleanIndicates whether some other object is "equal to" this one.intexitCode()Returns the value of theexitCoderecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theprojectRootrecord component.Returns the value of thereportPathrecord component.Returns the value of theschemaVersionrecord component.stderr()Returns the value of thestderrrecord component.stdout()Returns the value of thestdoutrecord component.booleantimedOut()Returns the value of thetimedOutrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CURRENT_SCHEMA_VERSION
-
-
Constructor Details
-
McpShaftProjectUpgradeResult
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
schemaVersion
Returns the value of theschemaVersionrecord component.- Returns:
- the value of the
schemaVersionrecord component
-
projectRoot
Returns the value of theprojectRootrecord component.- Returns:
- the value of the
projectRootrecord component
-
reportPath
Returns the value of thereportPathrecord component.- Returns:
- the value of the
reportPathrecord component
-
dryRun
-
exitCode
-
stdout
-
stderr
-
timedOut
-
command
-