Class DateEntry
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.monitored.upkeep.DateEntry
-
- All Implemented Interfaces:
RuleEntry
,UpkeepConstants
public class DateEntry extends Object implements RuleEntry
Created by Jeff Gaynor
on 2/16/24 at 9:27 AM
-
-
Field Summary
-
Fields inherited from interface edu.uiuc.ncsa.security.storage.monitored.upkeep.UpkeepConstants
ACTION_ARCHIVE, ACTION_DELETE, ACTION_NONE, ACTION_RETAIN, ACTION_TEST, TYPE_ACCESSED, TYPE_CREATED, TYPE_MODIFIED, WHEN_AFTER, WHEN_BEFORE, WHEN_NEVER
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applies(Identifier id, Long created, Long accessed, Long modified)
boolean
applies(Monitored monitored)
protected void
checkType(String t)
protected void
checkWhen(String w)
DateValue
getDateValue()
String
getType()
String
getWhen()
boolean
hasDateValue()
void
setDateValue(DateValue dateValue)
void
setType(String type)
void
setWhen(String when)
String
toString()
-
-
-
Method Detail
-
applies
public boolean applies(Identifier id, Long created, Long accessed, Long modified)
-
checkWhen
protected void checkWhen(String w)
-
checkType
protected void checkType(String t)
-
hasDateValue
public boolean hasDateValue()
-
getDateValue
public DateValue getDateValue()
-
setDateValue
public void setDateValue(DateValue dateValue)
-
getWhen
public String getWhen()
-
setWhen
public void setWhen(String when)
-
getType
public String getType()
-
setType
public void setType(String type)
-
-