public interface StructureHelper
Modifier and Type | Method and Description |
---|---|
boolean |
isRoot(ArtifactContainer e)
Override if the passed container should be considered as Container.isRoot true.
|
boolean |
isValid(ArtifactContainer e,
java.lang.String path)
Determine if the path passed is supposed to exist.
|
boolean isRoot(ArtifactContainer e)
THIS CANNOT MAKE THE CONTAINER RETURN isRoot=false
if the behavior is required to override root containers to act as non-roots, a new story is required
e
- the container to evaluate.boolean isValid(ArtifactContainer e, java.lang.String path)
When the StructureHelper converts containers to be isRoot true, it must also be responsible for stating that all paths beneath that container should no longer be valid.
e
- the container for the path to evaluatepath
- the path to evaluate in the Container