|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface EntryDependencies
Represent the dependencies between entries. Currently supporting only parent/child relationship.
Nested Class Summary | |
---|---|
enum |
EntryDependencies.DependencyType
|
Method Summary | |
---|---|
java.util.Set
|
findChildren(java.lang.String key)
@return the childen of the entry if there are any, empty collection otherwise |
java.lang.String
|
findParent(java.lang.String key)
@return the parent of the entry if there is any, |
EntryDependencies.DependencyType
|
getDependencyType(java.lang.String key)
Represent the dependencies between entries. |
java.util.Set
|
getEntriesWithChildren()
|
java.util.Set
|
getEntriesWithDependency()
@return all the entries that have a dependency
( |
java.util.Set
|
getEntriesWithDependency(java.util.Set entriesWithDependency)
@param entriesWithDependency the set to use for output |
java.util.Set
|
getEntriesWithParents()
|
Method Detail |
---|
public java.util.Set findChildren(java.lang.String key)
public java.lang.String findParent(java.lang.String key)
null
otherwise
public EntryDependencies.DependencyType getDependencyType(java.lang.String key)
public java.util.Set getEntriesWithChildren()
public java.util.Set getEntriesWithDependency()
getEntriesWithParent() + getEntriesWithChildren()
)
public java.util.Set getEntriesWithDependency(java.util.Set entriesWithDependency)
entriesWithDependency
- the set to use for outputgetEntriesWithParent() + getEntriesWithChildren()
)
(stored in entriesWithDependency
)
public java.util.Set getEntriesWithParents()
Groovy Documentation