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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.faktorips.devtools.abstraction.AResource
org.faktorips.devtools.abstraction.AResource.AResourceTreeTraversalDepth, org.faktorips.devtools.abstraction.AResource.AResourceType -
Field Summary
Fields inherited from interface org.faktorips.devtools.abstraction.AResource
COMPARING_BY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.faktorips.devtools.abstraction.AResourcefindMember(String path) org.faktorips.devtools.abstraction.AFileorg.faktorips.devtools.abstraction.AFolderprotected booleanprotected voidrecursive(Consumer<PlainJavaResource> consumer, org.faktorips.devtools.abstraction.AResource.AResourceTreeTraversalDepth depth) Executes the givenConsumerfor this resource and, according to the given depth, its children.protected voidMethods inherited from class org.faktorips.devtools.abstraction.plainjava.internal.PlainJavaResource
copy, createMarker, delete, deleteMarker, deleteMarkers, exists, findMarkers, getLocalTimeStamp, getLocation, getModificationStamp, getName, getParent, getProject, getProjectRelativePath, getWorkspace, getWorkspaceRelativePath, isAccessible, isDerived, isSynchronized, move, recursive, refreshLocal, setDerived, touchMethods inherited from class org.faktorips.devtools.abstraction.AWrapper
equals, hashCode, toString, unwrapMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.faktorips.devtools.abstraction.AAbstraction
unwrapMethods inherited from interface org.faktorips.devtools.abstraction.AContainer
iteratorMethods inherited from interface org.faktorips.devtools.abstraction.AResource
compareTo, copy, createMarker, delete, deleteMarkers, exists, findMarkers, getLocalTimeStamp, getLocation, getModificationStamp, getName, getParent, getProject, getProjectRelativePath, getType, getWorkspace, getWorkspaceRelativePath, isAccessible, isDerived, isSynchronized, move, refreshLocal, setDerived, touchMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PlainJavaContainer
-
-
Method Details
-
getMembers
- Specified by:
getMembersin interfaceorg.faktorips.devtools.abstraction.AContainer
-
findMember
- Specified by:
findMemberin interfaceorg.faktorips.devtools.abstraction.AContainer
-
getFile
- Specified by:
getFilein interfaceorg.faktorips.devtools.abstraction.AContainer
-
getFolder
- Specified by:
getFolderin interfaceorg.faktorips.devtools.abstraction.AContainer
-
refreshInternal
protected void refreshInternal()- Overrides:
refreshInternalin classPlainJavaResource
-
isSynchronizedInternal
protected boolean isSynchronizedInternal()- Overrides:
isSynchronizedInternalin classPlainJavaResource
-
recursive
protected void recursive(Consumer<PlainJavaResource> consumer, org.faktorips.devtools.abstraction.AResource.AResourceTreeTraversalDepth depth) Description copied from class:PlainJavaResourceExecutes the givenConsumerfor this resource and, according to the given depth, its children.- Overrides:
recursivein classPlainJavaResource- Parameters:
depth- is ignored if this resource is notAContainer.
-