public class CronJobHistoryDataQuery
extends DefaultCockpitContext
CronJobHistoryModels.| Constructor and Description |
|---|
CronJobHistoryDataQuery(CronJobHistoryDataQuery query)
Copying constructor.
|
CronJobHistoryDataQuery(java.time.Duration timeRange,
boolean showExecutedByOtherUsers,
boolean showFinishedJobs) |
CronJobHistoryDataQuery(java.time.Duration timeRange,
boolean showExecutedByOtherUsers,
boolean showFinishedJobs,
java.util.Set<java.lang.String> jobTypeCodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addJobTypeCode(java.lang.String typeCode)
adds to list of type codes given type code
|
java.util.Set<java.lang.String> |
getJobTypeCodes() |
java.time.Duration |
getTimeRange() |
boolean |
isShowExecutedByOtherUsers() |
boolean |
isShowFinishedJobs() |
void |
setJobTypeCodes(java.util.Set<java.lang.String> jobTypeCodes) |
public CronJobHistoryDataQuery(java.time.Duration timeRange,
boolean showExecutedByOtherUsers,
boolean showFinishedJobs)
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.public CronJobHistoryDataQuery(java.time.Duration timeRange,
boolean showExecutedByOtherUsers,
boolean showFinishedJobs,
java.util.Set<java.lang.String> jobTypeCodes)
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.public CronJobHistoryDataQuery(CronJobHistoryDataQuery query)
query - query being copied.public java.time.Duration getTimeRange()
public boolean isShowExecutedByOtherUsers()
public boolean isShowFinishedJobs()
public void addJobTypeCode(java.lang.String typeCode)
typeCode - job type code.public java.util.Set<java.lang.String> getJobTypeCodes()
public void setJobTypeCodes(java.util.Set<java.lang.String> jobTypeCodes)
Copyright © 2017 SAP SE. All Rights Reserved.