Record Class McpAndroidEmulatorProposal
java.lang.Object
java.lang.Record
com.shaft.mcp.McpAndroidEmulatorProposal
public record McpAndroidEmulatorProposal(String avdName, String deviceProfile, int apiLevel, String imageTag, String abi, int ramMb, int cores, Path sdkRoot, Path avdHome, List<String> sdkPackages, List<String> commands, List<String> warnings)
extends Record
User-confirmable Android emulator provisioning proposal.
-
Constructor Summary
ConstructorsConstructorDescriptionMcpAndroidEmulatorProposal(String avdName, String deviceProfile, int apiLevel, String imageTag, String abi, int ramMb, int cores, Path sdkRoot, Path avdHome, List<String> sdkPackages, List<String> commands, List<String> warnings) Creates an immutable Android emulator proposal. -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.intapiLevel()Returns the value of theapiLevelrecord component.avdHome()Returns the value of theavdHomerecord component.avdName()Returns the value of theavdNamerecord component.commands()Returns the value of thecommandsrecord component.intcores()Returns the value of thecoresrecord component.Returns the value of thedeviceProfilerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.imageTag()Returns the value of theimageTagrecord component.intramMb()Returns the value of theramMbrecord component.Returns the value of thesdkPackagesrecord component.sdkRoot()Returns the value of thesdkRootrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpAndroidEmulatorProposal
-
-
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. -
avdName
Returns the value of theavdNamerecord component.- Returns:
- the value of the
avdNamerecord component
-
deviceProfile
Returns the value of thedeviceProfilerecord component.- Returns:
- the value of the
deviceProfilerecord component
-
apiLevel
public int apiLevel()Returns the value of theapiLevelrecord component.- Returns:
- the value of the
apiLevelrecord component
-
imageTag
Returns the value of theimageTagrecord component.- Returns:
- the value of the
imageTagrecord component
-
abi
Returns the value of theabirecord component.- Returns:
- the value of the
abirecord component
-
ramMb
public int ramMb()Returns the value of theramMbrecord component.- Returns:
- the value of the
ramMbrecord component
-
cores
public int cores()Returns the value of thecoresrecord component.- Returns:
- the value of the
coresrecord component
-
sdkRoot
Returns the value of thesdkRootrecord component.- Returns:
- the value of the
sdkRootrecord component
-
avdHome
Returns the value of theavdHomerecord component.- Returns:
- the value of the
avdHomerecord component
-
sdkPackages
-
commands
-
warnings
-