Class JobQueryImpl

    • Field Detail

      • processInstanceId

        protected String processInstanceId
      • executionId

        protected String executionId
      • processDefinitionId

        protected String processDefinitionId
      • retriesLeft

        protected boolean retriesLeft
      • executable

        protected boolean executable
      • onlyTimers

        protected boolean onlyTimers
      • onlyMessages

        protected boolean onlyMessages
      • duedateHigherThan

        protected Date duedateHigherThan
      • duedateLowerThan

        protected Date duedateLowerThan
      • duedateHigherThanOrEqual

        protected Date duedateHigherThanOrEqual
      • duedateLowerThanOrEqual

        protected Date duedateLowerThanOrEqual
      • withException

        protected boolean withException
      • exceptionMessage

        protected String exceptionMessage
      • tenantId

        protected String tenantId
      • tenantIdLike

        protected String tenantIdLike
      • withoutTenantId

        protected boolean withoutTenantId
      • noRetriesLeft

        protected boolean noRetriesLeft
      • onlyLocked

        protected boolean onlyLocked
      • onlyUnlocked

        protected boolean onlyUnlocked
    • Constructor Detail

      • JobQueryImpl

        public JobQueryImpl()
      • JobQueryImpl

        public JobQueryImpl​(CommandContext commandContext)
    • Method Detail

      • withRetriesLeft

        public JobQuery withRetriesLeft()
      • executable

        public JobQuery executable()
      • duedateHigherThan

        public JobQuery duedateHigherThan​(Date date)
        Description copied from interface: JobQuery
        Only select jobs where the duedate is higher then the given date.
        Specified by:
        duedateHigherThan in interface JobQuery
      • duedateLowerThan

        public JobQuery duedateLowerThan​(Date date)
        Description copied from interface: JobQuery
        Only select jobs where the duedate is lower than the given date.
        Specified by:
        duedateLowerThan in interface JobQuery
      • duedateHigherThen

        public JobQuery duedateHigherThen​(Date date)
      • duedateHigherThenOrEquals

        public JobQuery duedateHigherThenOrEquals​(Date date)
      • duedateLowerThen

        public JobQuery duedateLowerThen​(Date date)
      • duedateLowerThenOrEquals

        public JobQuery duedateLowerThenOrEquals​(Date date)
      • noRetriesLeft

        public JobQuery noRetriesLeft()
      • withException

        public JobQuery withException()
        Description copied from interface: JobQuery
        Only select jobs that failed due to an exception.
        Specified by:
        withException in interface JobQuery
      • exceptionMessage

        public JobQuery exceptionMessage​(String exceptionMessage)
        Description copied from interface: JobQuery
        Only select jobs that failed due to an exception with the given message.
        Specified by:
        exceptionMessage in interface JobQuery
      • jobTenantId

        public JobQuery jobTenantId​(String tenantId)
        Description copied from interface: JobQuery
        Only select jobs that have the given tenant id.
        Specified by:
        jobTenantId in interface JobQuery
      • jobTenantIdLike

        public JobQuery jobTenantIdLike​(String tenantIdLike)
        Description copied from interface: JobQuery
        Only select jobs with a tenant id like the given one.
        Specified by:
        jobTenantIdLike in interface JobQuery
      • locked

        public JobQuery locked()
        Description copied from interface: JobQuery
        Only return jobs that are locked (i.e. they are acquired by an executor).
        Specified by:
        locked in interface JobQuery
      • unlocked

        public JobQuery unlocked()
        Description copied from interface: JobQuery
        Only return jobs that are not locked.
        Specified by:
        unlocked in interface JobQuery
      • getProcessInstanceId

        public String getProcessInstanceId()
      • getExecutionId

        public String getExecutionId()
      • getRetriesLeft

        public boolean getRetriesLeft()
      • getExecutable

        public boolean getExecutable()
      • getNow

        public Date getNow()
      • isWithException

        public boolean isWithException()
      • getExceptionMessage

        public String getExceptionMessage()
      • getTenantId

        public String getTenantId()
      • getTenantIdLike

        public String getTenantIdLike()
      • isWithoutTenantId

        public boolean isWithoutTenantId()
      • getSerialversionuid

        public static long getSerialversionuid()
      • getId

        public String getId()
      • getProcessDefinitionId

        public String getProcessDefinitionId()
      • isOnlyTimers

        public boolean isOnlyTimers()
      • isOnlyMessages

        public boolean isOnlyMessages()
      • getDuedateHigherThan

        public Date getDuedateHigherThan()
      • getDuedateLowerThan

        public Date getDuedateLowerThan()
      • getDuedateHigherThanOrEqual

        public Date getDuedateHigherThanOrEqual()
      • getDuedateLowerThanOrEqual

        public Date getDuedateLowerThanOrEqual()
      • isNoRetriesLeft

        public boolean isNoRetriesLeft()
      • isOnlyLocked

        public boolean isOnlyLocked()
      • isOnlyUnlocked

        public boolean isOnlyUnlocked()