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.
14 lines
397 B
14 lines
397 B
package dto; |
|
|
|
import java.net.URISyntaxException; |
|
import org.json.JSONObject; |
|
|
|
import static constants.HttpHeaders.AUTHORIZATION_STRING; |
|
|
|
public class PncObjPayload { |
|
public static PncObj constructScanPayload(JSONObject pncObj) throws URISyntaxException { |
|
return new PncObj( |
|
pncObj.getString("buildSystemType"), |
|
pncObj.getString("buildId")); |
|
} |
|
}
|
|
|