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.StringgetComment()The action's comment.booleangetCompareVersion()The version to compare.CompareVersionModegetCompareVersionMode()The component version compare mode.java.lang.StringgetComponentUUID()The UUID of the component to find.java.lang.StringgetCountVariable()The name of the variable to store the count of components found.booleangetHighestVersionOnly()Whether to search for the highest version only.java.lang.StringgetKeyFileLocation()The location of the key file to search.java.lang.StringgetLocationsVariable()The name of the variable to store the locations of the components found.booleangetSearchInUserHome()Get whether to search for InstallAnywhere register in $USERHOME when running as non-root.booleangetSearchKeyFile()Whether to search for a key file.java.lang.StringgetVersion()The component version to compare.java.lang.StringgetVersionsVariable()The name of the variable to store the versions of the components found.voidsetComment(java.lang.String comment)Defines a comment to the action.voidsetCompareVersion(boolean version)The version to compare.voidsetCompareVersionMode(CompareVersionMode compareMode)The component version compare mode.voidsetComponentUUID(java.lang.String uuid)The UUID of the component to find.voidsetCountVariable(java.lang.String countVariable)The name of the variable to store the count of components found.voidsetHighestVersionOnly(boolean highestOnly)Whether to search for the highest version only.voidsetKeyFileLocation(java.lang.String searchLocation)The location of the key file to search.voidsetLocationsVariable(java.lang.String locationsVariable)The name of the variable to store the locations of the components found.voidsetSearchInUserHome(boolean searchInUserHome)Set whether to search for InstallAnywhere register in $USERHOME when running as non-root.voidsetSearchKeyFile(boolean searchKeyFile)Whether to search for a key file.voidsetVersion(java.lang.String version)The component version to compare.voidsetVersionsVariable(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.
-
-