Class MsixPackageApplications


  • public final class MsixPackageApplications
    extends Object
    Schema for MSIX Package Application properties.
    • Constructor Detail

      • MsixPackageApplications

        public MsixPackageApplications()
    • Method Detail

      • appId

        public String appId()
        Get the appId property: Package Application Id, found in appxmanifest.xml.
        Returns:
        the appId value.
      • withAppId

        public MsixPackageApplications withAppId​(String appId)
        Set the appId property: Package Application Id, found in appxmanifest.xml.
        Parameters:
        appId - the appId value to set.
        Returns:
        the MsixPackageApplications object itself.
      • description

        public String description()
        Get the description property: Description of Package Application.
        Returns:
        the description value.
      • withDescription

        public MsixPackageApplications withDescription​(String description)
        Set the description property: Description of Package Application.
        Parameters:
        description - the description value to set.
        Returns:
        the MsixPackageApplications object itself.
      • appUserModelId

        public String appUserModelId()
        Get the appUserModelId property: Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.
        Returns:
        the appUserModelId value.
      • withAppUserModelId

        public MsixPackageApplications withAppUserModelId​(String appUserModelId)
        Set the appUserModelId property: Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.
        Parameters:
        appUserModelId - the appUserModelId value to set.
        Returns:
        the MsixPackageApplications object itself.
      • friendlyName

        public String friendlyName()
        Get the friendlyName property: User friendly name.
        Returns:
        the friendlyName value.
      • withFriendlyName

        public MsixPackageApplications withFriendlyName​(String friendlyName)
        Set the friendlyName property: User friendly name.
        Parameters:
        friendlyName - the friendlyName value to set.
        Returns:
        the MsixPackageApplications object itself.
      • iconImageName

        public String iconImageName()
        Get the iconImageName property: User friendly name.
        Returns:
        the iconImageName value.
      • withIconImageName

        public MsixPackageApplications withIconImageName​(String iconImageName)
        Set the iconImageName property: User friendly name.
        Parameters:
        iconImageName - the iconImageName value to set.
        Returns:
        the MsixPackageApplications object itself.
      • rawIcon

        public byte[] rawIcon()
        Get the rawIcon property: the icon a 64 bit string as a byte array.
        Returns:
        the rawIcon value.
      • withRawIcon

        public MsixPackageApplications withRawIcon​(byte[] rawIcon)
        Set the rawIcon property: the icon a 64 bit string as a byte array.
        Parameters:
        rawIcon - the rawIcon value to set.
        Returns:
        the MsixPackageApplications object itself.
      • rawPng

        public byte[] rawPng()
        Get the rawPng property: the icon a 64 bit string as a byte array.
        Returns:
        the rawPng value.
      • withRawPng

        public MsixPackageApplications withRawPng​(byte[] rawPng)
        Set the rawPng property: the icon a 64 bit string as a byte array.
        Parameters:
        rawPng - the rawPng value to set.
        Returns:
        the MsixPackageApplications object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.