Class LastNDaysFilter

java.lang.Object
com.appiancorp.suiteapi.process.analytics2.BaseFilter
com.appiancorp.suiteapi.process.analytics2.LastNDaysFilter
All Implemented Interfaces:
DeepCloneable, Filter, Serializable, Cloneable

public class LastNDaysFilter extends BaseFilter implements DeepCloneable
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

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object object)
    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
    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 TYPE
      This constant tells the backend what kind of filter this is.
      See Also:
  • Constructor Details

    • LastNDaysFilter

      public LastNDaysFilter()
  • Method Details

    • equals

      public boolean equals(Object object)
      Is this Filter equal to another object?
      Overrides:
      equals in class BaseFilter
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class BaseFilter
    • getFilterType

      public int getFilterType()
      Retrieve the type of this filter.
      Specified by:
      getFilterType in interface Filter
      Specified by:
      getFilterType in class BaseFilter
      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: