Skip navigation links
Thingworx Platform API
8.5.0
com.thingworx.resources.sourcecontrol

Class SourceControlFunctions

    • Constructor Detail

      • SourceControlFunctions

        public SourceControlFunctions()
    • Method Detail

      • ExportSourceControlledEntities

        @ThingworxExtensionApiMethod(since={6,6})
        public void ExportSourceControlledEntities(java.lang.String repositoryName,
                                                                                             java.lang.String path,
                                                                                             java.lang.String collection,
                                                                                             TagCollection tags,
                                                                                             org.joda.time.DateTime startDate,
                                                                                             org.joda.time.DateTime endDate,
                                                                                             java.lang.String projectName,
                                                                                             java.lang.Boolean includeDependents)
                                                                                      throws java.lang.Exception
        Service Category:
        Exports
        Service Description:
        Export a list of entities for source control.
        Parameters:
        repositoryName - File repository to which to export the content - THINGNAME
        path - Path to which to write the content - STRING
        collection - Collection name you wish to export (optional) - STRING
        tags - Tags (optional) - TAGS
        startDate - Date and time from which to export entities by their last modified date (optional) - DATETIME
        endDate - Date and time to which to export entities by their last modified date (optional) - DATETIME
        projectName - Project name (optional) - PROJECTNAME
        includeDependents - Include dependent projects (optional) - BOOLEAN
        Throws:
        java.lang.Exception - If an error occurs
      • ExportSourceControlledEntitiesToZipFile

        @ThingworxExtensionApiMethod(since={6,6})
        public java.lang.String ExportSourceControlledEntitiesToZipFile(java.lang.String repositoryName,
                                                                                                                  java.lang.String path,
                                                                                                                  java.lang.String name,
                                                                                                                  java.lang.String collection,
                                                                                                                  TagCollection tags,
                                                                                                                  org.joda.time.DateTime startDate,
                                                                                                                  org.joda.time.DateTime endDate,
                                                                                                                  java.lang.String projectName,
                                                                                                                  java.lang.Boolean includeDependents)
                                                                                                           throws java.lang.Exception
        Service Category:
        Exports
        Service Description:
        Export a list of entities for source control.
        Parameters:
        repositoryName - File repository to which to export the content - THINGNAME
        path - Path to which to write the content - STRING
        name - File name to which to write the content - STRING
        collection - Collection name you wish to export (optional) - STRING
        tags - Tags (optional) - TAGS
        startDate - Date and time from which to export entities by their last modified date (optional) - DATETIME
        endDate - Date and time to which to export entities by their last modified date (optional) - DATETIME
        projectName - Project name - PROJECTNAME
        includeDependents - Include dependent projects - BOOLEAN
        Returns:
        result Path to exported entities - HYPERLINK
        Throws:
        java.lang.Exception - If an error occurs