Class i5OSFindComponentInRAIR
- 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.i5os.i5OSFindComponentInRAIR
-
- All Implemented Interfaces:
DBHostable
,GeneralAction
,JEEHostable
,OSHostable
,Referenceable
public final class i5OSFindComponentInRAIR extends Action implements GeneralAction
Queries RAIR to find components in registry by their Product Name, Component Name, Component Version, and Feature Name (the first feature of the component). This action then sets two variables to record the results of the query ($RAIR_COMPONENT_COUNT$ and $RAIR_INSTANCE_VALUES$, by default).
-
-
Constructor Summary
Constructors Constructor Description i5OSFindComponentInRAIR()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getComment()
Returns the text the installer shows when this action runs.boolean
getCompareComponentName()
Returns whether or not to query by the Component Name.boolean
getCompareComponentVersion()
Returns whether or not to query by the Component Version.boolean
getCompareFeatureName()
Returns whether or not to query by the Component Feature Name.boolean
getCompareProductName()
Returns whether or not to query by the Product Name.CompareVersionMode
getCompareVersionMode()
Returns the Component Version comparison mode.java.lang.String
getComponentName()
Returns the Component Name to query.java.lang.String
getComponentVersion()
Returns the Component Version to query.java.lang.String
getCountVariable()
Returns the InstallAnywhere variable that records the number of components that match the comparison criteria.java.lang.String
getFeatureName()
Returns the Feature Name to query.java.lang.String
getInstancesVariable()
Returns the InstallAnywhere variable that records the locations of the components that match the comparison criteria.java.lang.String
getProductName()
Returns the Product Name to query.void
setComment(java.lang.String comment)
Defines the text the installer shows when this action runs.void
setCompareComponentName(boolean compareComponentName)
Defines whether or not to query by the Component Name.void
setCompareComponentVersion(boolean compareComponentVersion)
Defines whether or not to query by the Component Version.void
setCompareFeatureName(boolean compareFeatureName)
Defines whether or not to query by the Component Feature Name.void
setCompareProductName(boolean compareProductName)
Defines whether or not to query by the Product Name.void
setCompareVersionMode(CompareVersionMode compareVersionMode)
Defines the Component Version comparison mode.void
setComponentName(java.lang.String componentName)
Defines the Component Name to query.void
setComponentVersion(java.lang.String componentVersion)
Defines the Component Version to query.void
setCountVariable(java.lang.String countVariable)
Defines the InstallAnywhere variable that records the number of components that match the comparison criteria.void
setFeatureName(java.lang.String featureName)
Defines the Feature Name to query.void
setInstancesVariable(java.lang.String instancesVariable)
Defines the InstallAnywhere variable that records the locations of the components that match the comparison criteria.void
setProductName(java.lang.String productName)
Defines the Product Name to query.-
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
-
getComment
public java.lang.String getComment()
Returns the text the installer shows when this action runs.
-
setComment
public void setComment(java.lang.String comment)
Defines the text the installer shows when this action runs.
-
getCompareComponentName
public boolean getCompareComponentName()
Returns whether or not to query by the Component Name.
-
setCompareComponentName
public void setCompareComponentName(boolean compareComponentName)
Defines whether or not to query by the Component Name.
-
getCompareComponentVersion
public boolean getCompareComponentVersion()
Returns whether or not to query by the Component Version.
-
setCompareComponentVersion
public void setCompareComponentVersion(boolean compareComponentVersion)
Defines whether or not to query by the Component Version.
-
getCompareFeatureName
public boolean getCompareFeatureName()
Returns whether or not to query by the Component Feature Name.
-
setCompareFeatureName
public void setCompareFeatureName(boolean compareFeatureName)
Defines whether or not to query by the Component Feature Name.
-
getCompareProductName
public boolean getCompareProductName()
Returns whether or not to query by the Product Name.
-
setCompareProductName
public void setCompareProductName(boolean compareProductName)
Defines whether or not to query by the Product Name.
-
getCompareVersionMode
public CompareVersionMode getCompareVersionMode()
Returns the Component Version comparison mode.
-
setCompareVersionMode
public void setCompareVersionMode(CompareVersionMode compareVersionMode)
Defines the Component Version comparison mode.
-
getComponentName
public java.lang.String getComponentName()
Returns the Component Name to query.
-
setComponentName
public void setComponentName(java.lang.String componentName)
Defines the Component Name to query.
-
getComponentVersion
public java.lang.String getComponentVersion()
Returns the Component Version to query.
-
setComponentVersion
public void setComponentVersion(java.lang.String componentVersion)
Defines the Component Version to query.
-
getCountVariable
public java.lang.String getCountVariable()
Returns the InstallAnywhere variable that records the number of components that match the comparison criteria. Default: $RAIR_COMPONENT_COUNT$.
-
setCountVariable
public void setCountVariable(java.lang.String countVariable)
Defines the InstallAnywhere variable that records the number of components that match the comparison criteria. Default: $RAIR_COMPONENT_COUNT$.
-
getFeatureName
public java.lang.String getFeatureName()
Returns the Feature Name to query.
-
setFeatureName
public void setFeatureName(java.lang.String featureName)
Defines the Feature Name to query.
-
getInstancesVariable
public java.lang.String getInstancesVariable()
Returns the InstallAnywhere variable that records the locations of the components that match the comparison criteria. The instances result contains a comma-separated list of all the instance values (locations) of all the components registered. Default: $RAIR_INSTANCE_VALUES$.
-
setInstancesVariable
public void setInstancesVariable(java.lang.String instancesVariable)
Defines the InstallAnywhere variable that records the locations of the components that match the comparison criteria. The instances result contains a comma-separated list of all the instance values (locations) of all the components registered. Default: $RAIR_INSTANCE_VALUES$.
-
getProductName
public java.lang.String getProductName()
Returns the Product Name to query.
-
setProductName
public void setProductName(java.lang.String productName)
Defines the Product Name to query.
-
-