Class ProjectCreationService


  • public class ProjectCreationService
    extends Object
    • Constructor Detail

      • ProjectCreationService

        public ProjectCreationService​(PrintWriter log,
                                      ApiClientWrapper apiClientWrapper)
                               throws com.fortify.ssc.restclient.ApiException
        Throws:
        com.fortify.ssc.restclient.ApiException
    • Method Detail

      • convertDateToXMLGregorianCalender

        public static XMLGregorianCalendar convertDateToXMLGregorianCalender​(Date date)
      • createProject

        public Long createProject​(ProjectDataEntry projectData)
                           throws IOException,
                                  com.fortify.ssc.restclient.ApiException
        Parameters:
        projectData - - entry contains a application name, application version name, and fpr filename for creating and uploading an application version. Entry also contains a map of application attribute names and values. If a application attribute definition does not already exist for the name, it will be created.
        Throws:
        com.fortify.ssc.restclient.ApiException
        IOException
      • getAppVersionIdIfExists

        public Long getAppVersionIdIfExists​(String appName,
                                            String appVersionName)
                                     throws com.fortify.ssc.restclient.ApiException
        Get the Application Version Id for given appName & appVersionName, if it exists
        Returns:
        Long appVersionId
        Throws:
        com.fortify.ssc.restclient.ApiException