Package org.apache.batchee.jaxrs.common

## Class RestJobInstance

- java.lang.Object
- - org.apache.batchee.jaxrs.common.RestJobInstance

-     public class RestJobInstance
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RestJobInstance()` |
    `RestJobInstance​(String name, long id)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `long` | `getId()` |
    `String` | `getName()` |
    `void` | `setId​(long id)` |
    `void` | `setName​(String name)` |
    `static List<RestJobInstance>` | `wrap​(List<javax.batch.runtime.JobInstance> jobInstances)` |
    `static RestJobInstance` | `wrap​(javax.batch.runtime.JobInstance instance)` |

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

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

- - ### Constructor Detail

    - #### RestJobInstance

          public RestJobInstance()

    - #### RestJobInstance

          public RestJobInstance​(String name,
                                 long id)

  - ### Method Detail

    - #### getId

          public long getId()

    - #### getName

          public String getName()

    - #### setName

          public void setName​(String name)

    - #### setId

          public void setId​(long id)

    - #### wrap

          public static List<RestJobInstance> wrap​(List<javax.batch.runtime.JobInstance> jobInstances)

    - #### wrap

          public static RestJobInstance wrap​(javax.batch.runtime.JobInstance instance)