Class SaveConfigurationParameter


  • public final class SaveConfigurationParameter
    extends Object
    Save Tenant Configuration Contract details.
    • Constructor Detail

      • SaveConfigurationParameter

        public SaveConfigurationParameter()
    • Method Detail

      • branch

        public String branch()
        Get the branch property: The name of the Git branch in which to commit the current configuration snapshot.
        Returns:
        the branch value.
      • withBranch

        public SaveConfigurationParameter withBranch​(String branch)
        Set the branch property: The name of the Git branch in which to commit the current configuration snapshot.
        Parameters:
        branch - the branch value to set.
        Returns:
        the SaveConfigurationParameter object itself.
      • force

        public Boolean force()
        Get the force property: The value if true, the current configuration database is committed to the Git repository, even if the Git repository has newer changes that would be overwritten.
        Returns:
        the force value.
      • withForce

        public SaveConfigurationParameter withForce​(Boolean force)
        Set the force property: The value if true, the current configuration database is committed to the Git repository, even if the Git repository has newer changes that would be overwritten.
        Parameters:
        force - the force value to set.
        Returns:
        the SaveConfigurationParameter object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.