Class DefaultXmlChangesService

  • All Implemented Interfaces:
    E2EChangesXmlService

    public class DefaultXmlChangesService
    extends java.lang.Object
    implements E2EChangesXmlService
    Read dynamic configuration changes from a stored media file into XML file
    • Constructor Detail

      • DefaultXmlChangesService

        public DefaultXmlChangesService()
    • Method Detail

      • getMedia

        public MediaModel getMedia​(java.lang.String code)
        Description copied from interface: E2EChangesXmlService
        fetch media containing dynamic configuration
        Specified by:
        getMedia in interface E2EChangesXmlService
        Parameters:
        code - - code identifying configuration file stored as media in database
        Returns:
      • setMediaService

        public void setMediaService​(MediaService mediaService)
        Parameters:
        mediaService - the mediaService to set
      • setCode

        public void setCode​(java.lang.String code)
        Parameters:
        code - the code to set
      • setNameFile

        public void setNameFile​(java.lang.String nameFile)
        Parameters:
        nameFile - the nameFile to set
      • getNameFile

        public java.lang.String getNameFile()
        Specified by:
        getNameFile in interface E2EChangesXmlService
        Returns:
        name of destination file to be read by diagnostic agent basing on CCDB template