Class PlanKeyRestKeyAdapter

java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<RestKey,PlanKey>
com.atlassian.bamboo.rest.model.adapters.PlanKeyRestKeyAdapter

public class PlanKeyRestKeyAdapter extends jakarta.xml.bind.annotation.adapters.XmlAdapter<RestKey,PlanKey>
Used to convert a PlanKey into a RestKey. This differs from the PlanKeyAdapter as it produces a raw string. In this case we need the outputted json to mimic the object so we actually need "myObject.key.key" to get the string out as opposed to "myObject.key" which the PlanKeyAdapter provides.
  • Constructor Details

    • PlanKeyRestKeyAdapter

      public PlanKeyRestKeyAdapter()
  • Method Details