Class ProjectDataUtils.DomainFolderIterator

  • All Implemented Interfaces:
    java.util.Iterator<DomainFolder>
    Enclosing class:
    ProjectDataUtils

    public static class ProjectDataUtils.DomainFolderIterator
    extends java.lang.Object
    implements java.util.Iterator<DomainFolder>
    A not-thread-safe DomainFolder iterator that recursively walks a project's data and returns each DomainFolder that is found.
    • Constructor Detail

      • DomainFolderIterator

        public DomainFolderIterator​(Project project)
        Recursively traverse a Project starting in its root folder.
        Parameters:
        project -
      • DomainFolderIterator

        public DomainFolderIterator​(DomainFolder startFolder)
        Recursively traverse the DomainFolderss under a specific DomainFolder.
        Parameters:
        startFolder -
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<DomainFolder>