Package org.springframework.cloud.task.batch.listener.support

# Class JobParameterEvent

java.lang.Object
org.springframework.cloud.task.batch.listener.support.JobParameterEvent

public class JobParameterEvent extends Object
This is a JobParameter DTO created so that a `JobParameter` can be serialized into Json without having to add mixins to an ObjectMapper.

Author:
  Glenn Renfro

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `JobParameterEvent.ParameterType`
  Enumeration representing the type of a JobParameter.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JobParameterEvent()`
  `JobParameterEvent(org.springframework.batch.core.JobParameter jobParameter)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `JobParameterEvent.ParameterType`
  `getType()`
  `Object`
  `getValue()`
  `int`
  `hashCode()`
  `boolean`
  `isIdentifying()`
  `String`
  `toString()`

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

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### JobParameterEvent

    public JobParameterEvent()

  - ### JobParameterEvent

    public JobParameterEvent(org.springframework.batch.core.JobParameter jobParameter)

- ## Method Details

  - ### isIdentifying

    public boolean isIdentifying()

  - ### getValue

    public Object getValue()
    Returns:
      the value contained within this JobParameter.

  - ### getType

    public JobParameterEvent.ParameterType getType()
    Returns:
      a ParameterType representing the type of this parameter.

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`