com.microfocus.awm.model

## Class JobStateChangedEvent

- java.lang.Object
- - com.microfocus.awm.model.JobStateChangedEvent

-     public class JobStateChangedEvent
      extends java.lang.Object

  Event that is created when the state of an `ITaurusJob` changes.
  Author:
    Micro Focus

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JobStateChangedEvent(ITaurusJob pJob, EJobState pOldState, EJobState pNewState)` Creates a job state changed event.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ITaurusJob` | `getJob()` Gets the job that has changed.
    `EJobState` | `getNewState()` Gets the changed job's new state.
    `EJobState` | `getOldState()` Gets the changed job's previous state.

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

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

- - ### Constructor Detail

    - #### JobStateChangedEvent

          public JobStateChangedEvent(ITaurusJob pJob,
                                      EJobState pOldState,
                                      EJobState pNewState)

      Creates a job state changed event.
      Parameters:
        `pJob` - the changed job
        `pOldState` - the old job state
        `pNewState` - the new job state

  - ### Method Detail

    - #### getJob

          public ITaurusJob getJob()

      Gets the job that has changed.
      Returns:
        the changed job

    - #### getNewState

          public EJobState getNewState()

      Gets the changed job's new state.
      Returns:
        the new job state

    - #### getOldState

          public EJobState getOldState()

      Gets the changed job's previous state.
      Returns:
        the old job state

Copyright © 2015 Micro Focus GmbH. All rights reserved.