|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of DirectoryResource in org.jboss.forge |
|---|
| Methods in org.jboss.forge that return DirectoryResource | |
|---|---|
DirectoryResource |
ForgeEnvironment.getConfigDirectory()
Get the configuration directory. |
DirectoryResource |
ForgeEnvironment.getForgeHome()
Get the Forge Home directory. |
DirectoryResource |
ForgeEnvironment.getPluginDirectory()
Return the directory Forge is using to store and load third-party plugins. |
| Uses of DirectoryResource in org.jboss.forge.project |
|---|
| Methods in org.jboss.forge.project that return DirectoryResource | |
|---|---|
DirectoryResource |
Project.getProjectRoot()
Get the File representing the root directory of this Project |
| Uses of DirectoryResource in org.jboss.forge.project.facets |
|---|
| Methods in org.jboss.forge.project.facets that return DirectoryResource | |
|---|---|
DirectoryResource |
JavaSourceFacet.getBasePackageResource()
Return the base Java Package for this project, returned as a directory File |
DirectoryResource |
ResourceFacet.getResourceFolder()
Get the DirectoryResource representing the folder this Project uses to store package-able,
non-source documents (such as configuration files.) |
DirectoryResource |
JavaSourceFacet.getSourceFolder()
Get the DirectoryResource this Project uses to store package-able source documents (such as .java
files.) |
DirectoryResource |
ResourceFacet.getTestResourceFolder()
Get the DirectoryResource representing the folder this Project uses to store test-scoped
non-source documents (such as configuration files.) Files in this directory will never be packaged or deployed
except when running Unit Tests. |
DirectoryResource |
JavaSourceFacet.getTestSourceFolder()
Get the DirectoryResource this Project uses to store test-scoped source documents (such as .java
files.) Files in this directory will never be packaged or deployed except when running Unit Tests. |
DirectoryResource |
WebResourceFacet.getWebRootDirectory()
Get the default Web Root directory (this is the DirectoryResource containing resources to be deployed to
the web-root URL when the application is published. |
| Methods in org.jboss.forge.project.facets that return types with arguments of type DirectoryResource | |
|---|---|
List<DirectoryResource> |
ResourceFacet.getResourceFolders()
Get a list of DirectoryResources representing the directories this project uses to contain Project
non-source documents (such as configuration files.) |
List<DirectoryResource> |
JavaSourceFacet.getSourceFolders()
Get a list of DirectoryResources this project uses to contain Project source documents (such as
.java files.) |
List<DirectoryResource> |
WebResourceFacet.getWebRootDirectories()
Get a list containing all possible Web Root DirectoryResources for the current project. |
| Uses of DirectoryResource in org.jboss.forge.project.locator |
|---|
| Methods in org.jboss.forge.project.locator with parameters of type DirectoryResource | |
|---|---|
boolean |
ProjectLocator.containsProject(DirectoryResource dir)
Return true if the given DirectoryResource contains a project. |
Project |
ProjectLocator.createProject(DirectoryResource dir)
Attempt to locate a project root directory in the given folder. |
| Uses of DirectoryResource in org.jboss.forge.project.services |
|---|
| Methods in org.jboss.forge.project.services that return DirectoryResource | |
|---|---|
DirectoryResource |
ProjectFactory.findProjectRootRecusively(DirectoryResource currentDirectory)
|
DirectoryResource |
ProjectFactory.locateRecursively(DirectoryResource startingDirectory,
ProjectLocator locator)
|
| Methods in org.jboss.forge.project.services with parameters of type DirectoryResource | |
|---|---|
void |
ProjectAssociationProvider.associate(Project project,
DirectoryResource parent)
Create a parent-child association between the given Project and the given parent directory. |
boolean |
ProjectAssociationProvider.canAssociate(Project project,
DirectoryResource parent)
Return true if this provide is capable of creating a parent-child association between the given Project and the given parent directory. |
boolean |
ProjectFactory.containsProject(DirectoryResource dir)
An exception-safe method of determining whether a directory contains a project. |
Project |
ProjectFactory.createProject(DirectoryResource root,
Class<? extends Facet>... facetTypes)
|
Project |
ProjectFactory.findProject(DirectoryResource dir)
|
Project |
ProjectFactory.findProjectRecursively(DirectoryResource startingPath)
|
DirectoryResource |
ProjectFactory.findProjectRootRecusively(DirectoryResource currentDirectory)
|
DirectoryResource |
ProjectFactory.locateRecursively(DirectoryResource startingDirectory,
ProjectLocator locator)
|
| Uses of DirectoryResource in org.jboss.forge.resources |
|---|
| Methods in org.jboss.forge.resources that return DirectoryResource | |
|---|---|
DirectoryResource |
DirectoryResource.createFrom(File file)
|
DirectoryResource |
DirectoryResource.createTempResource()
|
DirectoryResource |
DirectoryResource.getChildDirectory(String name)
Obtain a reference to the child DirectoryResource. |
DirectoryResource |
DirectoryResource.getOrCreateChildDirectory(String name)
|
| Uses of DirectoryResource in org.jboss.forge.shell |
|---|
| Methods in org.jboss.forge.shell that return DirectoryResource | |
|---|---|
DirectoryResource |
Shell.getConfigDir()
Return the file-system directory currently in use as the configuration directory. |
DirectoryResource |
Shell.getCurrentDirectory()
Return the current working directory resource of the shell. |
| Uses of DirectoryResource in org.jboss.forge.shell.util |
|---|
| Methods in org.jboss.forge.shell.util that return DirectoryResource | |
|---|---|
static DirectoryResource |
ResourceUtil.getContextDirectory(Resource<?> r)
|
| Methods in org.jboss.forge.shell.util with parameters of type DirectoryResource | |
|---|---|
static int |
NativeSystemCall.execFromPath(String command,
String[] parms,
ShellPrintWriter out,
DirectoryResource path)
Execute a native system command as if it were run from the given path. |
|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||