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
464 B
15 lines
464 B
package dto; |
|
|
|
// import org.jboss.pnc.api.deliverablesanalyzer.dto.AnalyzePayload; |
|
// import org.jboss.pnc.api.dto.HeartbeatConfig; |
|
// import org.jboss.pnc.api.dto.Request; |
|
|
|
import org.json.JSONObject; |
|
|
|
import java.net.URISyntaxException; |
|
|
|
public class PncObjPayload { |
|
public static PncObj constructScanPayload(JSONObject pncObj) throws URISyntaxException { |
|
return new PncObj(pncObj.getString("buildSystemType"),pncObj.getString("buildId")); |
|
} |
|
} |