Class CompartmentCache


  • public class CompartmentCache
    extends Object
    Compartment Cache is a localized class to cache the compartment information and provide helper methods to add to the cache.
    • Constructor Detail

      • CompartmentCache

        public CompartmentCache()
        constructor
    • Method Detail

      • add

        public void add​(String inclusionCode,
                        List<String> params)
        add the code and parameters to the given compartment cache.
        Parameters:
        inclusionCode -
        params -
      • getResourceTypesInCompartment

        public List<String> getResourceTypesInCompartment()
        gets the resource types (codes) in the compartment
        Returns:
      • getParametersByResourceTypeInCompartment

        public List<String> getParametersByResourceTypeInCompartment​(String resourceType)
        get parameters by resource type in the compartment cache.
        Parameters:
        resourceType -
        Returns: