Record Class McpMobileToolchainStatus
java.lang.Object
java.lang.Record
com.shaft.mcp.McpMobileToolchainStatus
public record McpMobileToolchainStatus(String platformName, boolean nodeAvailable, boolean npmAvailable, boolean appiumAvailable, boolean appiumInspectorAvailable, boolean adbAvailable, boolean emulatorAvailable, boolean sdkManagerAvailable, boolean avdManagerAvailable, Path toolRoot, Path androidSdkRoot, Path androidAvdHome, Path appiumRoot, String appiumVersion, String appiumInspectorPluginVersion, List<McpMobileDevice> androidDevices, List<String> cachedAndroidEmulators, List<String> missingDependencies, List<String> warnings)
extends Record
Local mobile toolchain discovery status.
-
Constructor Summary
ConstructorsConstructorDescriptionMcpMobileToolchainStatus(String platformName, boolean nodeAvailable, boolean npmAvailable, boolean appiumAvailable, boolean appiumInspectorAvailable, boolean adbAvailable, boolean emulatorAvailable, boolean sdkManagerAvailable, boolean avdManagerAvailable, Path toolRoot, Path androidSdkRoot, Path androidAvdHome, Path appiumRoot, String appiumVersion, String appiumInspectorPluginVersion, List<McpMobileDevice> androidDevices, List<String> cachedAndroidEmulators, List<String> missingDependencies, List<String> warnings) Creates an immutable toolchain status. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theadbAvailablerecord component.Returns the value of theandroidAvdHomerecord component.Returns the value of theandroidDevicesrecord component.Returns the value of theandroidSdkRootrecord component.booleanReturns the value of theappiumAvailablerecord component.booleanReturns the value of theappiumInspectorAvailablerecord component.Returns the value of theappiumInspectorPluginVersionrecord component.Returns the value of theappiumRootrecord component.Returns the value of theappiumVersionrecord component.booleanReturns the value of theavdManagerAvailablerecord component.Returns the value of thecachedAndroidEmulatorsrecord component.booleanReturns the value of theemulatorAvailablerecord 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 themissingDependenciesrecord component.booleanReturns the value of thenodeAvailablerecord component.booleanReturns the value of thenpmAvailablerecord component.Returns the value of theplatformNamerecord component.booleanReturns the value of thesdkManagerAvailablerecord component.toolRoot()Returns the value of thetoolRootrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpMobileToolchainStatus
public McpMobileToolchainStatus(String platformName, boolean nodeAvailable, boolean npmAvailable, boolean appiumAvailable, boolean appiumInspectorAvailable, boolean adbAvailable, boolean emulatorAvailable, boolean sdkManagerAvailable, boolean avdManagerAvailable, Path toolRoot, Path androidSdkRoot, Path androidAvdHome, Path appiumRoot, String appiumVersion, String appiumInspectorPluginVersion, List<McpMobileDevice> androidDevices, List<String> cachedAndroidEmulators, List<String> missingDependencies, List<String> warnings) Creates an immutable toolchain status.
-
-
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. -
platformName
Returns the value of theplatformNamerecord component.- Returns:
- the value of the
platformNamerecord component
-
nodeAvailable
public boolean nodeAvailable()Returns the value of thenodeAvailablerecord component.- Returns:
- the value of the
nodeAvailablerecord component
-
npmAvailable
public boolean npmAvailable()Returns the value of thenpmAvailablerecord component.- Returns:
- the value of the
npmAvailablerecord component
-
appiumAvailable
public boolean appiumAvailable()Returns the value of theappiumAvailablerecord component.- Returns:
- the value of the
appiumAvailablerecord component
-
appiumInspectorAvailable
public boolean appiumInspectorAvailable()Returns the value of theappiumInspectorAvailablerecord component.- Returns:
- the value of the
appiumInspectorAvailablerecord component
-
adbAvailable
public boolean adbAvailable()Returns the value of theadbAvailablerecord component.- Returns:
- the value of the
adbAvailablerecord component
-
emulatorAvailable
public boolean emulatorAvailable()Returns the value of theemulatorAvailablerecord component.- Returns:
- the value of the
emulatorAvailablerecord component
-
sdkManagerAvailable
public boolean sdkManagerAvailable()Returns the value of thesdkManagerAvailablerecord component.- Returns:
- the value of the
sdkManagerAvailablerecord component
-
avdManagerAvailable
public boolean avdManagerAvailable()Returns the value of theavdManagerAvailablerecord component.- Returns:
- the value of the
avdManagerAvailablerecord component
-
toolRoot
Returns the value of thetoolRootrecord component.- Returns:
- the value of the
toolRootrecord component
-
androidSdkRoot
Returns the value of theandroidSdkRootrecord component.- Returns:
- the value of the
androidSdkRootrecord component
-
androidAvdHome
Returns the value of theandroidAvdHomerecord component.- Returns:
- the value of the
androidAvdHomerecord component
-
appiumRoot
Returns the value of theappiumRootrecord component.- Returns:
- the value of the
appiumRootrecord component
-
appiumVersion
Returns the value of theappiumVersionrecord component.- Returns:
- the value of the
appiumVersionrecord component
-
appiumInspectorPluginVersion
Returns the value of theappiumInspectorPluginVersionrecord component.- Returns:
- the value of the
appiumInspectorPluginVersionrecord component
-
androidDevices
Returns the value of theandroidDevicesrecord component.- Returns:
- the value of the
androidDevicesrecord component
-
cachedAndroidEmulators
-
missingDependencies
-
warnings
-