Package ru.bitel.oss.kernel.job.common.bean

# Class JobTrigger

java.lang.Object
ru.bitel.oss.kernel.job.common.bean.JobTrigger

public class JobTrigger extends Object
Триггер для job'a. По сути момент в будущем, когда необходимо сработать и выполнить какое-то действие.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final short`
  `TYPE_CALENDAR`
  `static final short`
  `TYPE_SIMPLE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JobTrigger()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getData()`
  `long`
  `getFireCount()`
  `Date`
  `getFireTimeNext()`
  `Date`
  `getFireTimePrev()`
  `long`
  `getId()`
  `long`
  `getJobId()`
  `Date`
  `getTimeFrom()`
  `Date`
  `getTimeTo()`
  `short`
  `getType()`
  `long`
  `getVersion()`
  `boolean`
  `isPersistent()`
  `void`
  `setData(String data)`
  `void`
  `setFireCount(long fireCount)`
  `void`
  `setFireTimeNext(Date fireTimeNext)`
  `void`
  `setFireTimePrev(Date fireTimePrev)`
  `void`
  `setId(long id)`
  `void`
  `setJobId(long jobId)`
  `void`
  `setPersistent(boolean persistent)`
  `void`
  `setTimeFrom(Date timeFrom)`
  `void`
  `setTimeTo(Date timeTo)`
  `void`
  `setType(short type)`
  `void`
  `setVersion(long version)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### TYPE_SIMPLE

    public static final short TYPE_SIMPLE
    See Also:
      - Constant Field Values

  - ### TYPE_CALENDAR

    public static final short TYPE_CALENDAR
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### JobTrigger

    public JobTrigger()

- ## Method Details

  - ### getId

    public long getId()

  - ### setId

    public void setId(long id)

  - ### getJobId

    public long getJobId()

  - ### setJobId

    public void setJobId(long jobId)

  - ### getTimeFrom

    public Date getTimeFrom()

  - ### setTimeFrom

    public void setTimeFrom(Date timeFrom)

  - ### getTimeTo

    public Date getTimeTo()

  - ### setTimeTo

    public void setTimeTo(Date timeTo)

  - ### isPersistent

    public boolean isPersistent()

  - ### setPersistent

    public void setPersistent(boolean persistent)

  - ### getType

    public short getType()

  - ### setType

    public void setType(short type)

  - ### getData

    public String getData()

  - ### setData

    public void setData(String data)

  - ### getFireTimePrev

    public Date getFireTimePrev()

  - ### setFireTimePrev

    public void setFireTimePrev(Date fireTimePrev)

  - ### getFireTimeNext

    public Date getFireTimeNext()

  - ### setFireTimeNext

    public void setFireTimeNext(Date fireTimeNext)

  - ### getFireCount

    public long getFireCount()

  - ### setFireCount

    public void setFireCount(long fireCount)

  - ### getVersion

    public long getVersion()

  - ### setVersion

    public void setVersion(long version)