Class MSDeploy

    • Constructor Detail

      • MSDeploy

        public MSDeploy()
    • Method Detail

      • packageUri

        public String packageUri()
        Get package URI.
        Returns:
        the packageUri value
      • withPackageUri

        public MSDeploy withPackageUri​(String packageUri)
        Set package URI.
        Parameters:
        packageUri - the packageUri value to set
        Returns:
        the MSDeploy object itself.
      • connectionString

        public String connectionString()
        Get sQL Connection String.
        Returns:
        the connectionString value
      • withConnectionString

        public MSDeploy withConnectionString​(String connectionString)
        Set sQL Connection String.
        Parameters:
        connectionString - the connectionString value to set
        Returns:
        the MSDeploy object itself.
      • dbType

        public String dbType()
        Get database Type.
        Returns:
        the dbType value
      • withDbType

        public MSDeploy withDbType​(String dbType)
        Set database Type.
        Parameters:
        dbType - the dbType value to set
        Returns:
        the MSDeploy object itself.
      • setParametersXmlFileUri

        public String setParametersXmlFileUri()
        Get uRI of MSDeploy Parameters file. Must not be set if SetParameters is used.
        Returns:
        the setParametersXmlFileUri value
      • withSetParametersXmlFileUri

        public MSDeploy withSetParametersXmlFileUri​(String setParametersXmlFileUri)
        Set uRI of MSDeploy Parameters file. Must not be set if SetParameters is used.
        Parameters:
        setParametersXmlFileUri - the setParametersXmlFileUri value to set
        Returns:
        the MSDeploy object itself.
      • setParameters

        public Map<String,​String> setParameters()
        Get mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.
        Returns:
        the setParameters value
      • withSetParameters

        public MSDeploy withSetParameters​(Map<String,​String> setParameters)
        Set mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.
        Parameters:
        setParameters - the setParameters value to set
        Returns:
        the MSDeploy object itself.
      • skipAppData

        public Boolean skipAppData()
        Get controls whether the MSDeploy operation skips the App_Data directory. If set to <code>true</code>, the existing App_Data directory on the destination will not be deleted, and any App_Data directory in the source will be ignored. Setting is <code>false</code> by default.
        Returns:
        the skipAppData value
      • withSkipAppData

        public MSDeploy withSkipAppData​(Boolean skipAppData)
        Set controls whether the MSDeploy operation skips the App_Data directory. If set to <code>true</code>, the existing App_Data directory on the destination will not be deleted, and any App_Data directory in the source will be ignored. Setting is <code>false</code> by default.
        Parameters:
        skipAppData - the skipAppData value to set
        Returns:
        the MSDeploy object itself.
      • appOffline

        public Boolean appOffline()
        Get sets the AppOffline rule while the MSDeploy operation executes. Setting is <code>false</code> by default.
        Returns:
        the appOffline value
      • withAppOffline

        public MSDeploy withAppOffline​(Boolean appOffline)
        Set sets the AppOffline rule while the MSDeploy operation executes. Setting is <code>false</code> by default.
        Parameters:
        appOffline - the appOffline value to set
        Returns:
        the MSDeploy object itself.
      • addOnPackages

        public List<MSDeployCore> addOnPackages()
        Get list of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.
        Returns:
        the addOnPackages value
      • withAddOnPackages

        public MSDeploy withAddOnPackages​(List<MSDeployCore> addOnPackages)
        Set list of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.
        Parameters:
        addOnPackages - the addOnPackages value to set
        Returns:
        the MSDeploy object itself.