@OpenApiAll
public class ModuleUsage
extends java.lang.Object
Constructor and Description |
---|
ModuleUsage(IProject owner,
IProject module)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<ModuleUsage> |
createUsages(java.util.Collection<IAttachedProject> modules,
boolean allUsages)
Create usages information for a given modules
|
static java.util.List<ModuleUsage> |
createUsages(java.util.Collection<IAttachedProject> modules,
java.util.Collection<? extends IProject> exceptTheseOwners)
Create all usages information for a given modules excepts if modules is used by given owners
|
static java.util.List<ModuleUsage> |
createUsages(IAttachedProject module,
boolean allUsages)
Create usages information for a given module
|
static java.util.List<ModuleUsage> |
createUsages(IProject owner,
java.util.Collection<IProject> modules)
Create usages information of given modules from given owner.
|
boolean |
equals(java.lang.Object o) |
IProject |
getOwner() |
IProject |
getUsed() |
int |
hashCode() |
boolean |
isValid() |
public IProject getOwner()
public IProject getUsed()
public boolean isValid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static java.util.List<ModuleUsage> createUsages(IAttachedProject module, boolean allUsages)
module
- moduleallUsages
- create just one (first) usage information or create info about all usagespublic static java.util.List<ModuleUsage> createUsages(IProject owner, java.util.Collection<IProject> modules)
owner
- modules ownermodules
- attached modules to ownerpublic static java.util.List<ModuleUsage> createUsages(java.util.Collection<IAttachedProject> modules, boolean allUsages)
modules
- moduleallUsages
- create just one (first) usage information for every given module or create info about all usagespublic static java.util.List<ModuleUsage> createUsages(java.util.Collection<IAttachedProject> modules, java.util.Collection<? extends IProject> exceptTheseOwners)
modules
- modulesexceptTheseOwners
- skip usages from these owners