Class MigrateFromInstallState

    • Constructor Detail

      • MigrateFromInstallState

        public MigrateFromInstallState​(Map keyValuePairs,
                                       ArrayList keysToUse)
                                throws InstallException
        Creates a new InstallState object. One of the following cases may apply:- If no instances are configured corresponding to the given keyValuePairs, then an InstallState object containing the input instance (keyValuePairs) data (supplied map) will be returned. If a configured instance is found associated with keyValuePairs supplied, then an InstallState object containing the corresponding instance data and global data is returned. If none of the configured instances correspond to the given keyValuePairs then an InstallState object with just the global data is returned.
        Parameters:
        keyValuePairs - a Map containing key value pairs that should be used to look up for the associated instance.
        keysToUse - A set of keys that should be only used to form a unique key.
        Throws:
        InstallException
    • Method Detail

      • getStateAccess

        public PersistentStateAccess getStateAccess()
        get StateAccess saved.
        Returns:
        PersistentStateAccess saved
      • getInstanceName

        public String getInstanceName()
        Returns the name of the instance associated with this InstallState
        Returns:
        the instance name