Class LastNDaysFilter
java.lang.Object
com.appiancorp.suiteapi.process.analytics2.BaseFilter
com.appiancorp.suiteapi.process.analytics2.LastNDaysFilter
- All Implemented Interfaces:
DeepCloneable
,Filter
,Serializable
,Cloneable
Filter for processes/tasks which have been started in the last N days. The
number of days may be a decimal number so that fractions of days (ie. hours,
minutes, etc.) may be specified.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
This constant tells the backend what kind of filter this is.Fields inherited from class com.appiancorp.suiteapi.process.analytics2.BaseFilter
LOG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Is this Filter equal to another object?double
Retrieve the number of days to be used in this filter.int
Retrieve the type of this filter.int
hashCode()
Hash code.void
setDayCount
(double dayCount_) Sets the number of days to be used in this filter.Methods inherited from class com.appiancorp.suiteapi.process.analytics2.BaseFilter
clone, getApply, setApply
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.appiancorp.suiteapi.common.DeepCloneable
clone
-
Field Details
-
TYPE
public static final int TYPEThis constant tells the backend what kind of filter this is.- See Also:
-
-
Constructor Details
-
LastNDaysFilter
public LastNDaysFilter()
-
-
Method Details
-
equals
Is this Filter equal to another object?- Overrides:
equals
in classBaseFilter
-
hashCode
public int hashCode()Hash code.- Overrides:
hashCode
in classBaseFilter
-
getFilterType
public int getFilterType()Retrieve the type of this filter.- Specified by:
getFilterType
in interfaceFilter
- Specified by:
getFilterType
in classBaseFilter
- Returns:
- The type of this filter
-
getDayCount
public double getDayCount()Retrieve the number of days to be used in this filter.- Returns:
- The number of days to be used in this filter.
- See Also:
-
setDayCount
public void setDayCount(double dayCount_) Sets the number of days to be used in this filter.- Parameters:
dayCount_
- The number of days to be used in this filter.- See Also:
-