Class ConfigurationFilesCache.ConfigurationFileCacheHint

  • All Implemented Interfaces:
    CacheHint
    Direct Known Subclasses:
    ClientSideLayoutCacheHint
    Enclosing class:
    ConfigurationFilesCache

    public static class ConfigurationFilesCache.ConfigurationFileCacheHint
    extends SimpleHint
    This is the CacheHint for the ConfigurationFilesCache. Extends SimpleHint by providing the file path and configuration file class information. Both parameters are required.
    Since:
    MicroStrategy Web 9.0.0
    • Constructor Detail

      • ConfigurationFileCacheHint

        public ConfigurationFileCacheHint​(java.lang.String filePath,
                                          java.lang.Class configClass)
        Default constructor. Notice that both parameters need to be not null, otherwise an IllegalArgumentException is thrown.
      • ConfigurationFileCacheHint

        public ConfigurationFileCacheHint()
    • Method Detail

      • calculateHint

        protected void calculateHint()
      • getConfigurationFileClass

        public java.lang.Class getConfigurationFileClass()
        Returns the class that will be used to load and parse the configuration file.
      • setConfigurationFileClass

        protected void setConfigurationFileClass​(java.lang.Class configClass)
      • getPath

        public java.lang.String getPath()
        Returns the path for the configuration file.
      • setPath

        protected void setPath​(java.lang.String filePath)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class SimpleHint
        Since:
        MicroStrategy Web 9.0.1
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class SimpleHint
        Since:
        MicroStrategy Web 9.0.1