Class AbstractJobEntityImpl

    • Field Detail

      • duedate

        protected java.util.Date duedate
      • executionId

        protected java.lang.String executionId
      • processInstanceId

        protected java.lang.String processInstanceId
      • processDefinitionId

        protected java.lang.String processDefinitionId
      • isExclusive

        protected boolean isExclusive
      • retries

        protected int retries
      • maxIterations

        protected int maxIterations
      • repeat

        protected java.lang.String repeat
      • endDate

        protected java.util.Date endDate
      • jobHandlerType

        protected java.lang.String jobHandlerType
      • jobHandlerConfiguration

        protected java.lang.String jobHandlerConfiguration
      • exceptionByteArrayRef

        protected ByteArrayRef exceptionByteArrayRef
      • exceptionMessage

        protected java.lang.String exceptionMessage
      • tenantId

        protected java.lang.String tenantId
      • jobType

        protected java.lang.String jobType
    • Constructor Detail

      • AbstractJobEntityImpl

        public AbstractJobEntityImpl()
    • Method Detail

      • getPersistentState

        public java.lang.Object getPersistentState()
        Description copied from interface: Entity
        Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.
        Specified by:
        getPersistentState in interface Entity
      • getDuedate

        public java.util.Date getDuedate()
        Description copied from interface: Job
        Returns the date on which this job is supposed to be processed.
        Specified by:
        getDuedate in interface Job
      • getExecutionId

        public java.lang.String getExecutionId()
        Description copied from interface: Job
        Returns the specific execution on which the job was created.
        Specified by:
        getExecutionId in interface Job
      • getRetries

        public int getRetries()
        Description copied from interface: Job
        Returns the number of retries this job has left. Whenever the jobexecutor fails to execute the job, this value is decremented. When it hits zero, the job is supposed to be dead and not retried again (ie a manual retry is required then).
        Specified by:
        getRetries in interface Job
      • getProcessInstanceId

        public java.lang.String getProcessInstanceId()
        Description copied from interface: Job
        Returns the id of the process instance which execution created the job.
        Specified by:
        getProcessInstanceId in interface Job
      • getProcessDefinitionId

        public java.lang.String getProcessDefinitionId()
        Description copied from interface: Job
        Returns the specific process definition on which the job was created
        Specified by:
        getProcessDefinitionId in interface Job
      • getJobType

        public java.lang.String getJobType()
        Description copied from interface: Job
        Get the job type for this job.
        Specified by:
        getJobType in interface AbstractJobEntity
        Specified by:
        getJobType in interface Job
      • getTenantId

        public java.lang.String getTenantId()
        Description copied from interface: Job
        Get the tenant identifier for this job.
        Specified by:
        getTenantId in interface Job
      • getExceptionMessage

        public java.lang.String getExceptionMessage()
        Description copied from interface: Job
        Returns the message of the exception that occurred, the last time the job was executed. Returns null when no exception occurred. To get the full exception stacktrace, use ManagementService.getJobExceptionStacktrace(String)
        Specified by:
        getExceptionMessage in interface Job
      • getUtf8Bytes

        protected byte[] getUtf8Bytes​(java.lang.String str)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object