Package com.hybris.backoffice.cronjob
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 Summary
ConstructorsConstructorDescriptionCopying constructor.CronJobHistoryDataQuery(Duration timeRange, boolean showExecutedByOtherUsers, boolean showFinishedJobs) CronJobHistoryDataQuery(Duration timeRange, boolean showExecutedByOtherUsers, boolean showFinishedJobs, Set<String> jobTypeCodes) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddJobTypeCode(String typeCode) Deprecated, for removal: This API element is subject to removal in a future version.since 6.6 - not used anymoreDeprecated, for removal: This API element is subject to removal in a future version.since 6.6 - not used anymorebooleanbooleanvoidsetJobTypeCodes(Set<String> jobTypeCodes) Deprecated, for removal: This API element is subject to removal in a future version.since 6.6 - not used anymoreMethods inherited from class com.hybris.cockpitng.core.context.impl.DefaultCockpitContext
addAllParameters, clearParameters, containsParameter, getParameter, getParameterKeys, getParameters, removeParameter, setParameter, setParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hybris.cockpitng.core.context.CockpitContext
getParameterAsBoolean, getParameterAsInt
-
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
Copying constructor.- Parameters:
query- query being copied.
-
-
Method Details
-
getTimeRange
-
isShowExecutedByOtherUsers
public boolean isShowExecutedByOtherUsers() -
isShowFinishedJobs
public boolean isShowFinishedJobs() -
addJobTypeCode
Deprecated, for removal: This API element is subject to removal in a future version.since 6.6 - not used anymoreadds to list of type codes given type code- Parameters:
typeCode- job type code.
-
getJobTypeCodes
Deprecated, for removal: This API element is subject to removal in a future version.since 6.6 - not used anymore -
setJobTypeCodes
Deprecated, for removal: This API element is subject to removal in a future version.since 6.6 - not used anymore
-