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

    Constructors
    Constructor
    Description
    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)
    Creates an immutable Android emulator proposal.
  • Method Summary

    Modifier and Type
    Method
    Description
    abi()
    Returns the value of the abi record component.
    int
    Returns the value of the apiLevel record component.
    Returns the value of the avdHome record component.
    Returns the value of the avdName record component.
    Returns the value of the commands record component.
    int
    Returns the value of the cores record component.
    Returns the value of the deviceProfile record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the imageTag record component.
    int
    Returns the value of the ramMb record component.
    Returns the value of the sdkPackages record component.
    Returns the value of the sdkRoot record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the warnings record component.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • McpAndroidEmulatorProposal

      public 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)
      Creates an immutable Android emulator proposal.
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • avdName

      public String avdName()
      Returns the value of the avdName record component.
      Returns:
      the value of the avdName record component
    • deviceProfile

      public String deviceProfile()
      Returns the value of the deviceProfile record component.
      Returns:
      the value of the deviceProfile record component
    • apiLevel

      public int apiLevel()
      Returns the value of the apiLevel record component.
      Returns:
      the value of the apiLevel record component
    • imageTag

      public String imageTag()
      Returns the value of the imageTag record component.
      Returns:
      the value of the imageTag record component
    • abi

      public String abi()
      Returns the value of the abi record component.
      Returns:
      the value of the abi record component
    • ramMb

      public int ramMb()
      Returns the value of the ramMb record component.
      Returns:
      the value of the ramMb record component
    • cores

      public int cores()
      Returns the value of the cores record component.
      Returns:
      the value of the cores record component
    • sdkRoot

      public Path sdkRoot()
      Returns the value of the sdkRoot record component.
      Returns:
      the value of the sdkRoot record component
    • avdHome

      public Path avdHome()
      Returns the value of the avdHome record component.
      Returns:
      the value of the avdHome record component
    • sdkPackages

      public List<String> sdkPackages()
      Returns the value of the sdkPackages record component.
      Returns:
      the value of the sdkPackages record component
    • commands

      public List<String> commands()
      Returns the value of the commands record component.
      Returns:
      the value of the commands record component
    • warnings

      public List<String> warnings()
      Returns the value of the warnings record component.
      Returns:
      the value of the warnings record component