public class GetDependenciesTask extends SessionedTask<java.util.Set<Ref>>
If the ref is a resource, it returns the direct dependencies for that resource. If the ref is a location (project, folder), it returns the direct dependencies external to that location tree. The dependencies are collected from all resources from within that location tree.
Constructor and Description |
---|
GetDependenciesTask(Ref root)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<Ref> |
_execute()
Subclasses implement this method
|
static java.util.Set<Ref> |
getDependencies(ConfigService configService, Ref root) |
static java.util.Set<Ref> |
getDependencies(ConfigService configService, java.lang.String session, Ref root) |
static java.util.Set<Ref> |
getDependencies(ConfigService configService, java.lang.String session, Ref root, boolean sanitize) |
assertExists, assertLocation, assertNONResource, assertNotExists, assertNotLocationData, assertNotNull, assertNotNullElement, assertResource, assertSimple, call, doExecute, doExecute, doExecute, doExecute, expand, getConfigContext, getConfigMBean, getConfigService, getDescription, getSession, isLocation, isReadOnlyTransaction, requiresSystemTransaction
public GetDependenciesTask(Ref root)
public static java.util.Set<Ref> getDependencies(ConfigService configService, Ref root) throws NotFoundException
NotFoundException
public static java.util.Set<Ref> getDependencies(ConfigService configService, java.lang.String session, Ref root) throws NotFoundException
NotFoundException
public static java.util.Set<Ref> getDependencies(ConfigService configService, java.lang.String session, Ref root, boolean sanitize) throws NotFoundException
NotFoundException
protected java.util.Set<Ref> _execute() throws NotFoundException
SessionedTask
_execute
in class SessionedTask<java.util.Set<Ref>>
NotFoundException