public class ExtensionDependencyManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ExtensionDependencyManager.DependencySet |
Constructor and Description |
---|
ExtensionDependencyManager() |
Modifier and Type | Method and Description |
---|---|
void |
add(ExtensionDependency dep) |
ExtensionDependency[] |
allDependenciesOf(ExtensionDependency dep) |
boolean |
canBeActivated(stencyl.sw.editors.game.advanced.EngineExtension ext) |
boolean |
canBeActivated(ExtensionWrapper ext) |
void |
clear(ExtensionDependency.Type type) |
void |
disable(ExtensionDependencySupplier depSup) |
void |
enable(ExtensionDependencySupplier depSup) |
ExtensionDependencyManager.DependencySet |
getDependenciesRecursive(ExtensionDependency[] deps) |
ExtensionDependencyManager.DependencySet |
getDependenciesRecursive(ExtensionDependency[] deps,
stencyl.sw.ext.net.ExtensionRepository repo) |
ExtensionDependencyManager.DependencySet |
getDependent(ExtensionDependency baseDep) |
java.util.List<java.lang.String> |
getMissingDependencyWarnings(ExtensionDependency[] deps) |
void |
load() |
boolean |
meetsDependenciesRecursive(ExtensionDependency[] deps) |
boolean |
meetsSingleDependency(ExtensionDependency other) |
public void load()
public void add(ExtensionDependency dep)
public void clear(ExtensionDependency.Type type)
public java.util.List<java.lang.String> getMissingDependencyWarnings(ExtensionDependency[] deps)
public boolean canBeActivated(ExtensionWrapper ext)
public boolean canBeActivated(stencyl.sw.editors.game.advanced.EngineExtension ext)
public boolean meetsDependenciesRecursive(ExtensionDependency[] deps)
public ExtensionDependencyManager.DependencySet getDependenciesRecursive(ExtensionDependency[] deps, stencyl.sw.ext.net.ExtensionRepository repo)
public ExtensionDependencyManager.DependencySet getDependenciesRecursive(ExtensionDependency[] deps)
public ExtensionDependencyManager.DependencySet getDependent(ExtensionDependency baseDep)
public boolean meetsSingleDependency(ExtensionDependency other)
public ExtensionDependency[] allDependenciesOf(ExtensionDependency dep)
public void enable(ExtensionDependencySupplier depSup)
public void disable(ExtensionDependencySupplier depSup)