public interface ForgeEnvironment
| Modifier and Type | Method and Description |
|---|---|
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.
|
String getRuntimeVersion()
DirectoryResource getPluginDirectory()
boolean isOnline()
void setProperty(String name, Object value)
Map<String,Object> getProperties()
void removeProperty(String funcName)
DirectoryResource getConfigDirectory()
FileResource<?> getUserConfiguration()
DirectoryResource getForgeHome()
boolean isEmbedded()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.