Class PlainJavaContainer

java.lang.Object
org.faktorips.devtools.abstraction.AWrapper<File>
org.faktorips.devtools.abstraction.plainjava.internal.PlainJavaResource
org.faktorips.devtools.abstraction.plainjava.internal.PlainJavaContainer
All Implemented Interfaces:
Comparable<org.faktorips.devtools.abstraction.AResource>, Iterable<org.faktorips.devtools.abstraction.AResource>, org.faktorips.devtools.abstraction.AAbstraction, org.faktorips.devtools.abstraction.AContainer, org.faktorips.devtools.abstraction.AResource
Direct Known Subclasses:
PlainJavaFolder

public abstract class PlainJavaContainer extends PlainJavaResource implements org.faktorips.devtools.abstraction.AContainer
  • Constructor Details

    • PlainJavaContainer

      public PlainJavaContainer(File directory)
  • Method Details

    • getMembers

      public SortedSet<PlainJavaResource> getMembers()
      Specified by:
      getMembers in interface org.faktorips.devtools.abstraction.AContainer
    • findMember

      public org.faktorips.devtools.abstraction.AResource findMember(String path)
      Specified by:
      findMember in interface org.faktorips.devtools.abstraction.AContainer
    • getFile

      public org.faktorips.devtools.abstraction.AFile getFile(Path path)
      Specified by:
      getFile in interface org.faktorips.devtools.abstraction.AContainer
    • getFolder

      public org.faktorips.devtools.abstraction.AFolder getFolder(Path path)
      Specified by:
      getFolder in interface org.faktorips.devtools.abstraction.AContainer
    • refreshInternal

      protected void refreshInternal()
      Overrides:
      refreshInternal in class PlainJavaResource
    • isSynchronizedInternal

      protected boolean isSynchronizedInternal()
      Overrides:
      isSynchronizedInternal in class PlainJavaResource
    • recursive

      protected void recursive(Consumer<PlainJavaResource> consumer, org.faktorips.devtools.abstraction.AResource.AResourceTreeTraversalDepth depth)
      Description copied from class: PlainJavaResource
      Executes the given Consumer for this resource and, according to the given depth, its children.
      Overrides:
      recursive in class PlainJavaResource
      Parameters:
      depth - is ignored if this resource is not AContainer.