Class CronJobHistoryDataQuery

  • All Implemented Interfaces:
    com.hybris.cockpitng.core.context.CockpitContext, java.io.Serializable

    public class CronJobHistoryDataQuery
    extends com.hybris.cockpitng.core.context.impl.DefaultCockpitContext
    A pojo which represents a query to retrieve CronJobHistoryModels.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addJobTypeCode​(java.lang.String typeCode)
      Deprecated.
      since 6.6 - not used anymore
      java.util.Set<java.lang.String> getJobTypeCodes()
      Deprecated.
      since 6.6 - not used anymore
      java.time.Duration getTimeRange()  
      boolean isShowExecutedByOtherUsers()  
      boolean isShowFinishedJobs()  
      void setJobTypeCodes​(java.util.Set<java.lang.String> jobTypeCodes)
      Deprecated.
      since 6.6 - not used anymore
      • Methods inherited from class com.hybris.cockpitng.core.context.impl.DefaultCockpitContext

        addAllParameters, clearParameters, containsParameter, getParameter, getParameterKeys, getParameters, removeParameter, setParameter, setParameters
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.hybris.cockpitng.core.context.CockpitContext

        getParameterAsBoolean
    • Constructor Detail

      • CronJobHistoryDataQuery

        public CronJobHistoryDataQuery​(java.time.Duration timeRange,
                                       boolean showExecutedByOtherUsers,
                                       boolean showFinishedJobs)
        Parameters:
        timeRange - time range since current date.
        showExecutedByOtherUsers - defines if cronJobs executed by other users than current session's user should be included.
        showFinishedJobs - defines if finished cronJobs should be included.
      • CronJobHistoryDataQuery

        public CronJobHistoryDataQuery​(java.time.Duration timeRange,
                                       boolean showExecutedByOtherUsers,
                                       boolean showFinishedJobs,
                                       java.util.Set<java.lang.String> jobTypeCodes)
        Parameters:
        timeRange - time range since current date.
        showExecutedByOtherUsers - defines if cronjobs executed by other users than current session's user should be included.
        showFinishedJobs - defines if finished cronJobs should be included.
        jobTypeCodes - type codes of jobs which should be found.
      • CronJobHistoryDataQuery

        public CronJobHistoryDataQuery​(CronJobHistoryDataQuery query)
        Copying constructor.
        Parameters:
        query - query being copied.
    • Method Detail

      • getTimeRange

        public java.time.Duration getTimeRange()
      • isShowExecutedByOtherUsers

        public boolean isShowExecutedByOtherUsers()
      • isShowFinishedJobs

        public boolean isShowFinishedJobs()
      • addJobTypeCode

        @Deprecated
        public void addJobTypeCode​(java.lang.String typeCode)
        Deprecated.
        since 6.6 - not used anymore
        adds to list of type codes given type code
        Parameters:
        typeCode - job type code.
      • getJobTypeCodes

        @Deprecated
        public java.util.Set<java.lang.String> getJobTypeCodes()
        Deprecated.
        since 6.6 - not used anymore
      • setJobTypeCodes

        @Deprecated
        public void setJobTypeCodes​(java.util.Set<java.lang.String> jobTypeCodes)
        Deprecated.
        since 6.6 - not used anymore