Class SubResources


  • public final class SubResources
    extends Object
    Sub-resources of a resource are declared here.
    • Method Detail

      • get

        public Resource get​(String name)
        Gets the Resource for a given sub-resource name.
        Parameters:
        name - Sub-resource name
        Returns:
        Resource or null if does-not-exist.
      • getNames

        public Set<String> getNames()
        Returns all sub-resource names.
        Returns:
        The names.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • subresources

        public static SubResources.Builder subresources()
        Create a new Builder for sub-resources.
        Returns:
        Builder