Class CronJobHistoryDataQuery

java.lang.Object
com.hybris.cockpitng.core.context.impl.DefaultCockpitContext
com.hybris.backoffice.cronjob.CronJobHistoryDataQuery
All Implemented Interfaces:
com.hybris.cockpitng.core.context.CockpitContext, Serializable

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

    • CronJobHistoryDataQuery

      public CronJobHistoryDataQuery(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(Duration timeRange, boolean showExecutedByOtherUsers, boolean showFinishedJobs, Set<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 Details

    • getTimeRange

      public Duration getTimeRange()
    • isShowExecutedByOtherUsers

      public boolean isShowExecutedByOtherUsers()
    • isShowFinishedJobs

      public boolean isShowFinishedJobs()
    • addJobTypeCode

      @Deprecated(since="6.6", forRemoval=true) public void addJobTypeCode(String typeCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 6.6 - not used anymore
      adds to list of type codes given type code
      Parameters:
      typeCode - job type code.
    • getJobTypeCodes

      @Deprecated(since="6.6", forRemoval=true) public Set<String> getJobTypeCodes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 6.6 - not used anymore
    • setJobTypeCodes

      @Deprecated(since="6.6", forRemoval=true) public void setJobTypeCodes(Set<String> jobTypeCodes)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 6.6 - not used anymore