Package com.zerog.ia.auto.project.rules
Class CheckFileModificationTimestampRule
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.rules.Rule
-
- com.zerog.ia.auto.project.rules.CheckFileModificationTimestampRule
-
- All Implemented Interfaces:
Referenceable
public final class CheckFileModificationTimestampRule extends Rule
This rule allows developers to compare the timestamp of an existing target file in order to make an overwrite decision.
-
-
Constructor Summary
Constructors Constructor Description CheckFileModificationTimestampRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckFileModificationTimestampComparisonType
getComparison()
long
getTimestamp()
To get the timestamp to compare against.void
setComparison(CheckFileModificationTimestampComparisonType _value)
void
setTimestamp(long value)
To set the timestamp to compare against.-
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
-
setComparison
public void setComparison(CheckFileModificationTimestampComparisonType _value)
-
getComparison
public CheckFileModificationTimestampComparisonType getComparison()
-
setTimestamp
public void setTimestamp(long value)
To set the timestamp to compare against.
-
getTimestamp
public long getTimestamp()
To get the timestamp to compare against.
-
-