Class LastNCompletedFilter

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

public class LastNCompletedFilter extends BaseFilter implements DeepCloneable
This analytics filter will return the last N processes/tasks to have been completed.
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?
    int
    Retrieve the number of completed processes/tasks which will be returned by this filter.
    int
    Retrieve the type of this filter.
    int
    Hash code.
    void
    setCompletedCount(int completedCount_)
    Sets the number of completed processes/tasks which will be returned by 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

    • LastNCompletedFilter

      public LastNCompletedFilter()
  • 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
    • getCompletedCount

      public int getCompletedCount()
      Retrieve the number of completed processes/tasks which will be returned by this filter.
      Returns:
      The number of completed processes/tasks to retrieve
      See Also:
    • setCompletedCount

      public void setCompletedCount(int completedCount_)
      Sets the number of completed processes/tasks which will be returned by this filter.
      Parameters:
      completedCount_ - The number of completed processes/tasks for this filter to return
      See Also: