You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
367 B
15 lines
367 B
package dto; |
|
|
|
import org.json.JSONException; |
|
import org.json.JSONObject; |
|
|
|
public class PncObjPayload { |
|
|
|
public static PncObj constructScanPayload(JSONObject jsonObj) throws JSONException { |
|
return new PncObj( |
|
jsonObj.getString("build_system_type"), |
|
jsonObj.getString("build_id")); |
|
} |
|
|
|
private PncObjPayload() {} |
|
}
|
|
|