|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ForgeEnvironment
| Method Summary | |
|---|---|
DirectoryResource |
getConfigDirectory()
Get the configuration directory. |
DirectoryResource |
getForgeHome()
Get the Forge Home directory. |
DirectoryResource |
getPluginDirectory()
Return the directory Forge is using to store and load third-party plugins. |
Map<String,Object> |
getProperties()
Get a map of all configuration properties for the current Forge execution. |
Object |
getProperty(String name)
Get a named property for the current Forge execution |
String |
getRuntimeVersion()
Return the current Forge version as a String. |
FileResource<?> |
getUserConfiguration()
Get the current User's configuration file. |
boolean |
isEmbedded()
Returns true if Forge is running in embedded mode (inside JBoss Tools for example) |
boolean |
isOnline()
Return true if Forge is currently operating with the assumption that an Internet connection is available. |
void |
removeProperty(String funcName)
Get a named property for the current Forge execution |
void |
setProperty(String name,
Object value)
Set a configuration property for the current Forge execution. |
| Method Detail |
|---|
String getRuntimeVersion()
DirectoryResource getPluginDirectory()
boolean isOnline()
void setProperty(String name,
Object value)
Map<String,Object> getProperties()
Object getProperty(String name)
void removeProperty(String funcName)
DirectoryResource getConfigDirectory()
FileResource<?> getUserConfiguration()
DirectoryResource getForgeHome()
boolean isEmbedded()
|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||