Package com.zerog.ia.auto.project
Class InstallableObject
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- All Implemented Interfaces:
Referenceable
- Direct Known Subclasses:
Action
,AIXEntry
,Billboard
,ChooseUninstallTypePanel
,Component
,ComponentDependency
,ComponentVersion
,DBHost
,Feature
,InstallPanelAction
,InstallSet
,JEEHost
,OSHost
,OSHostDestinationFolder
,Project
,RAIRSpecification
,RPMSpecification
,Rule
,UninstallCategory
public abstract class InstallableObject extends ProjectObject
The super-class for all the project objects that can be executed by the installer.
A common characteristic of those objects is the capability of evaluating a set of rules before deciding whether it should be executed or not.
-
-
Constructor Summary
Constructors Constructor Description InstallableObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBelongsToUninstallPhase()
identifies whether this item belongs to uninstall sequence or the install sequenceboolean
getRollbackEnabledCancel()
enables rollback of this item on cancel / fatal error in projectboolean
getRollbackEnabledError()
Specifies that this element can trigger rollback on getting a fatal error while executionjava.lang.String
getRuleExpression()
Specifies the rule expression for this actionpanelconsolejava.util.Vector<Rule>
getRules()
TheVector
of rules to be evaluated before the execution.RulesOperation
getRulesLogicalOperation()
Deprecated API - use the ruleExpression instead.java.util.Vector<Tag>
getTagsInInstallPiece()
TheVector
of tags to be associated with the InstallableObject.void
setBelongsToUninstallPhase(boolean BelongsToUninstallPhase)
identifies whether this item belongs to uninstall sequence or the install sequencevoid
setRollbackEnabledCancel(boolean RollbackEnabledCancel)
enables rollback of this item on cancel / fatal error in projectvoid
setRollbackEnabledError(boolean RollbackEnabledError)
Specifies that this element can trigger rollback on getting a fatal error while executionvoid
setRuleExpression(java.lang.String RuleExpression)
Specifies the rule expression for this actionpanelconsolevoid
setRulesLogicalOperation(RulesOperation RulesLogicalOperation)
Deprecated API - use the ruleExpression instead.void
setTagsInInstallPiece(java.util.Vector<Tag> TagsInInstallPiece)
TheVector
of tags to be associated with the InstallableObject.-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
getRules
public java.util.Vector<Rule> getRules()
TheVector
of rules to be evaluated before the execution. The object behavior is only performed if all the rules evaluate to true.
-
getTagsInInstallPiece
public java.util.Vector<Tag> getTagsInInstallPiece()
TheVector
of tags to be associated with the InstallableObject. For a Tag to work properly, a tag associated with InstallableObject must be available in Project
-
setTagsInInstallPiece
public void setTagsInInstallPiece(java.util.Vector<Tag> TagsInInstallPiece)
TheVector
of tags to be associated with the InstallableObject. For a Tag to work properly, a tag associated with InstallableObject must be available in Project
-
getBelongsToUninstallPhase
public boolean getBelongsToUninstallPhase()
identifies whether this item belongs to uninstall sequence or the install sequence
-
setBelongsToUninstallPhase
public void setBelongsToUninstallPhase(boolean BelongsToUninstallPhase)
identifies whether this item belongs to uninstall sequence or the install sequence
-
getRollbackEnabledCancel
public boolean getRollbackEnabledCancel()
enables rollback of this item on cancel / fatal error in project
-
setRollbackEnabledCancel
public void setRollbackEnabledCancel(boolean RollbackEnabledCancel)
enables rollback of this item on cancel / fatal error in project
-
getRollbackEnabledError
public boolean getRollbackEnabledError()
Specifies that this element can trigger rollback on getting a fatal error while execution
-
setRollbackEnabledError
public void setRollbackEnabledError(boolean RollbackEnabledError)
Specifies that this element can trigger rollback on getting a fatal error while execution
-
getRuleExpression
public java.lang.String getRuleExpression()
Specifies the rule expression for this actionpanelconsole
-
setRuleExpression
public void setRuleExpression(java.lang.String RuleExpression)
Specifies the rule expression for this actionpanelconsole
-
getRulesLogicalOperation
public RulesOperation getRulesLogicalOperation()
Deprecated API - use the ruleExpression instead. The logical operation to perform when evaluating the rules. It can be AND or OR. Default to AND.
-
setRulesLogicalOperation
public void setRulesLogicalOperation(RulesOperation RulesLogicalOperation)
Deprecated API - use the ruleExpression instead. The logical operation to perform when evaluating the rules. It can be AND or OR. Default to AND.
-
-