Class FindComponentInRegistry

  • All Implemented Interfaces:
    DBHostable, GeneralAction, JEEHostable, OSHostable, Referenceable

    public final class FindComponentInRegistry
    extends Action
    implements GeneralAction
    Looks for a component on a system through the cross-platform registry, as well as discover existing component versions, their location, and if there are multiple instances of a particular component on the destination system.
    • Constructor Detail

      • FindComponentInRegistry

        public FindComponentInRegistry()
    • Method Detail

      • setComponentUUID

        public void setComponentUUID​(java.lang.String uuid)
        The UUID of the component to find.
      • getComponentUUID

        public java.lang.String getComponentUUID()
        The UUID of the component to find.
      • setHighestVersionOnly

        public void setHighestVersionOnly​(boolean highestOnly)
        Whether to search for the highest version only.
      • getHighestVersionOnly

        public boolean getHighestVersionOnly()
        Whether to search for the highest version only.
      • setCompareVersion

        public void setCompareVersion​(boolean version)
        The version to compare.
        See Also:
        setCompareVersion(boolean), #setCompareVersionMode(int)
      • getCompareVersion

        public boolean getCompareVersion()
        The version to compare.
      • setCountVariable

        public void setCountVariable​(java.lang.String countVariable)
        The name of the variable to store the count of components found. (default: $REG_COMPONENT_COUNT$)
      • getCountVariable

        public java.lang.String getCountVariable()
        The name of the variable to store the count of components found.
      • setKeyFileLocation

        public void setKeyFileLocation​(java.lang.String searchLocation)
        The location of the key file to search.
        See Also:
        setSearchKeyFile(boolean)
      • getKeyFileLocation

        public java.lang.String getKeyFileLocation()
        The location of the key file to search.
      • setSearchKeyFile

        public void setSearchKeyFile​(boolean searchKeyFile)
        Whether to search for a key file.
        See Also:
        setSearchKeyFile(boolean)
      • getSearchKeyFile

        public boolean getSearchKeyFile()
        Whether to search for a key file.
      • setVersionsVariable

        public void setVersionsVariable​(java.lang.String versionsVariable)
        The name of the variable to store the versions of the components found. (default: $REG_COMPONENT_VERSIONS$)
      • getVersionsVariable

        public java.lang.String getVersionsVariable()
        The name of the variable to store the versions of the components found.
      • setLocationsVariable

        public void setLocationsVariable​(java.lang.String locationsVariable)
        The name of the variable to store the locations of the components found. (default: $REG_COMPONENT_LOCATIONS$)
      • getLocationsVariable

        public java.lang.String getLocationsVariable()
        The name of the variable to store the locations of the components found.
      • getCompareVersionMode

        public CompareVersionMode getCompareVersionMode()
        The component version compare mode.
      • setVersion

        public void setVersion​(java.lang.String version)
        The component version to compare.
        See Also:
        #setCompareVersionMode(int), setCompareVersion(boolean)
      • getVersion

        public java.lang.String getVersion()
        The component version to compare.
      • setComment

        public void setComment​(java.lang.String comment)
        Defines a comment to the action.
      • getComment

        public java.lang.String getComment()
        The action's comment.
      • getSearchInUserHome

        public boolean getSearchInUserHome()
        Get whether to search for InstallAnywhere register in $USERHOME when running as non-root.
      • setSearchInUserHome

        public void setSearchInUserHome​(boolean searchInUserHome)
        Set whether to search for InstallAnywhere register in $USERHOME when running as non-root.