Package org.optaplanner.persistence.jsonb.api.score.buildin.bendablelong

## Class BendableLongScoreJsonbAdapter

- java.lang.Object
- - org.optaplanner.persistence.jsonb.api.score.AbstractScoreJsonbAdapter<BendableLongScore>
  - - org.optaplanner.persistence.jsonb.api.score.buildin.bendablelong.BendableLongScoreJsonbAdapter

- All Implemented Interfaces:
    `javax.json.bind.adapter.JsonbAdapter<BendableLongScore,​String>`

      public class BendableLongScoreJsonbAdapter
      extends AbstractScoreJsonbAdapter<BendableLongScore>

  JSON-B binding support for a `Score` type.

  For example: use `@JsonbTypeAdapter(HardSoftScoreJsonbAdapter.class)` on a `HardSoftScore score` field and it will be serialized to JSON as `"score":"-999hard/-999soft"`. Or better yet, use `OptaPlannerJsonbConfig` instead.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BendableLongScoreJsonbAdapter()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `BendableLongScore` | `adaptFromJson​(String scoreString)` |

    - ### Methods inherited from class org.optaplanner.persistence.jsonb.api.score.AbstractScoreJsonbAdapter

      `adaptToJson`

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

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

- - ### Constructor Detail

    - #### BendableLongScoreJsonbAdapter

          public BendableLongScoreJsonbAdapter()

  - ### Method Detail

    - #### adaptFromJson

          public BendableLongScore adaptFromJson​(String scoreString)