public interface SourceGroupRelativeModifierImplementation
SourceGroupModifierImplementation.canCreateSourceGroup(java.lang.String, java.lang.String)
.
For example, java modular projects contains modules, a module may contain several places where sources are expected - these
form the part hierarchy. When the original SourceGroup is specific enough, the hierarchy argument may be
missing or can be even ignored by the modifier implementation - provided that the newly created folders have the correct
relationship to the original source group.
Similar structure may be used in other types of projects. projectParts
are abstract uninterpreted identifiers, so
the implementation / project may choose any semantics suitable for the project type.Modifier and Type | Method and Description |
---|---|
SourceGroupModifierImplementation |
relativeTo(SourceGroup existingGroup,
String... projectPart)
Returns Modifier, which is bound to a specific location or conceptual part of the project.
|
SourceGroupModifierImplementation relativeTo(SourceGroup existingGroup, String... projectPart)
existingGroup
- existing location or concept within the projectprojectPart
- identifies part of the project. The meaning depends on the "existingGroup"null
, if the specified project part does not exist