Class FindComponentInRegistry
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.actions.Action
-
- com.zerog.ia.auto.project.actions.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 Summary
Constructors Constructor Description FindComponentInRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getComment()
The action's comment.boolean
getCompareVersion()
The version to compare.CompareVersionMode
getCompareVersionMode()
The component version compare mode.java.lang.String
getComponentUUID()
The UUID of the component to find.java.lang.String
getCountVariable()
The name of the variable to store the count of components found.boolean
getHighestVersionOnly()
Whether to search for the highest version only.java.lang.String
getKeyFileLocation()
The location of the key file to search.java.lang.String
getLocationsVariable()
The name of the variable to store the locations of the components found.boolean
getSearchInUserHome()
Get whether to search for InstallAnywhere register in $USERHOME when running as non-root.boolean
getSearchKeyFile()
Whether to search for a key file.java.lang.String
getVersion()
The component version to compare.java.lang.String
getVersionsVariable()
The name of the variable to store the versions of the components found.void
setComment(java.lang.String comment)
Defines a comment to the action.void
setCompareVersion(boolean version)
The version to compare.void
setCompareVersionMode(CompareVersionMode compareMode)
The component version compare mode.void
setComponentUUID(java.lang.String uuid)
The UUID of the component to find.void
setCountVariable(java.lang.String countVariable)
The name of the variable to store the count of components found.void
setHighestVersionOnly(boolean highestOnly)
Whether to search for the highest version only.void
setKeyFileLocation(java.lang.String searchLocation)
The location of the key file to search.void
setLocationsVariable(java.lang.String locationsVariable)
The name of the variable to store the locations of the components found.void
setSearchInUserHome(boolean searchInUserHome)
Set whether to search for InstallAnywhere register in $USERHOME when running as non-root.void
setSearchKeyFile(boolean searchKeyFile)
Whether to search for a key file.void
setVersion(java.lang.String version)
The component version to compare.void
setVersionsVariable(java.lang.String versionsVariable)
The name of the variable to store the versions of the components found.-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
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.
-
setCompareVersionMode
public void setCompareVersionMode(CompareVersionMode compareMode)
The component version compare mode.- See Also:
setCompareVersion(boolean)
,setVersion(String)
-
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.
-
-