Interface ISonargraphBuild


  • public interface ISonargraphBuild
    Service interface for SonargraphBuild application.
    • Method Detail

      • open

        ServiceResponse open​(java.io.File systemDirectory)
        Open the specified software system.
        Parameters:
        systemDirectory - the directory of the software system.
        Returns:
        ServiceResponse containing status info.
      • open

        @Deprecated
        ServiceResponse open​(java.io.File systemDirectory,
                             java.lang.String workspaceProfile)
        Deprecated.
        Open the specified software system.
        Parameters:
        systemDirectory - the directory of the software system.
        workspaceProfile - the workspace profile to be used.
        Returns:
        ServiceResponse containing status info.
      • open

        @Deprecated
        ServiceResponse open​(java.io.File systemDirectory,
                             java.lang.String workspaceProfile,
                             java.io.File qualityModelFile)
        Deprecated.
        Open the specified software system. Only one of 'systemInfo' or 'workspaceProfile' may be specified (or both might be 'null').
        Parameters:
        systemDirectory - the directory of the software system.
        workspaceProfile - the workspace profile to be used - might be 'null'.
        qualityModelFile - the quality model file to be used - might be 'null'.
        Returns:
        ServiceResponse containing status info.
      • open

        ServiceResponse open​(java.io.File systemDirectory,
                             SystemInfo systemInfo,
                             java.lang.String workspaceProfile,
                             java.io.File qualityModelFile)
        Open the specified software system. Only one of 'systemInfo' or 'workspaceProfile' may be specified (or both might be 'null').
        Parameters:
        systemDirectory - the directory of the software system.
        systemInfo - the system info - might be 'null'.
        workspaceProfile - the workspace profile to be used - might be 'null'.
        qualityModelFile - the quality model file to be used - might be 'null'.
        Returns:
        ServiceResponse containing status info.
      • open

        ServiceResponse open​(java.io.File systemDirectory,
                             SystemInfo systemInfo,
                             java.lang.String workspaceProfile,
                             java.io.File qualityModelFile,
                             java.util.Map<java.lang.String,​java.lang.String> instSpecificParameterMap)
        Open the specified software system. Only one of 'systemInfo' or 'workspaceProfile' may be specified (or both might be 'null').
        Parameters:
        systemDirectory - the directory of the software system.
        systemInfo - the system info - might be 'null'.
        workspaceProfile - the workspace profile to be used - might be 'null'.
        qualityModelFile - the quality model file to be used - might be 'null'.
        instSpecificParameterMap - a map containing installation specific parameters (e.g. the active C/C++ compiler definition to be used).
        Returns:
        ServiceResponse containing status info.
      • createSnapshot

        ServiceResponse createSnapshot​(java.io.File snapshotDir,
                                       java.lang.String snapshotFileName)
        Create a snapshot for the opened and refreshed software system.
        Parameters:
        snapshotDir - the target directory for the snapshot.
        snapshotFileName - the filename of the snapshot (optional). If omitted, the system name + a timestamp is used.
        Returns:
        ServiceResponse containing status info.
      • setVirtualModel

        ServiceResponse setVirtualModel​(java.lang.String virtualModelName)
        Sets the specified virtual model
        Parameters:
        virtualModelName - the name of the virtual model
        Returns:
        ServiceResponse containing status info.
      • createDynamicSystem

        ServiceResponseWithOutcome<java.io.File> createDynamicSystem​(SystemInfo system,
                                                                     java.io.File qualityModelFile)
        Creates a new software system
        Parameters:
        system - the system
        qualityModelFile - optional, if specified the content of the quality model is copied into the system's file structure
        Returns:
        response object containing the system directory as outcome