| 1 | |
package org.webslinger.modules; |
| 2 | |
|
| 3 | |
import java.io.IOException; |
| 4 | |
|
| 5 | |
import org.apache.commons.vfs.FileObject; |
| 6 | |
|
| 7 | |
public interface ModuleState { |
| 8 | |
boolean addLibrary(String name, String url) throws IOException; |
| 9 | |
boolean addModule(String name, String url) throws IOException; |
| 10 | |
boolean removeLibrary(String name) throws IOException; |
| 11 | |
boolean removeModule(String name) throws IOException; |
| 12 | |
boolean enableModule(String name) throws IOException; |
| 13 | |
boolean disableModule(String name) throws IOException; |
| 14 | |
boolean addModuleMount(String name, String src, String dest) throws IOException; |
| 15 | |
boolean removeModuleMount(String name, String dest) throws IOException; |
| 16 | |
} |