|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.types.DataType org.apache.avalon.tools.model.Magic
The Magic class is the application root of the magic system.
Field Summary | |
static String |
CACHE_KEY
Immutable key to the magic main cache directory. |
static String |
DOCS_KEY
Immutable key to the magic docs cache directory. |
static String |
GUMP_SIGNATURE_KEY
Immutable key to the gump signature identifier used when magic is executed under control of the gump integration plartform. |
static String |
HOSTS_KEY
Immutable key to a property declaring a set of repository hosts. |
static String |
KEY
Immutable key to the magic home. |
static String |
PROXY_HOST_KEY
Immutable key to the magic proxy hostname value. |
static String |
PROXY_PASSWORD_KEY
Immutable key to the magic proxy password value. |
static String |
PROXY_PORT_KEY
Immutable key to the magic proxy port value. |
static String |
PROXY_USERNAME_KEY
Immutable key to the magic proxy username value. |
static String |
TEMPLATES_KEY
Immutable key to the magic template directory. |
Fields inherited from class org.apache.tools.ant.types.DataType |
checked, description, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Method Summary | |
Repository |
getDocsRepository()
Return the magic doc repository cache directory. |
String |
getGumpSignature()
Return the gump signature. |
Home |
getHome(org.apache.tools.ant.Project project,
String value)
Return the magic home. |
Repository |
getRepository()
Return the magic artifact repository cache directory. |
static Magic |
getSystem(org.apache.tools.ant.Project project)
Utility operation to return the magic system assigned to the project. |
File |
getSystemDirectory()
Return the magic system directory. |
protected void |
loadProperties(org.apache.tools.ant.Project project,
File file)
Utility method to load properties form a file. |
Methods inherited from class org.apache.tools.ant.types.DataType |
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String KEY
public static final String GUMP_SIGNATURE_KEY
public static final String HOSTS_KEY
public static final String CACHE_KEY
public static final String DOCS_KEY
public static final String TEMPLATES_KEY
public static final String PROXY_HOST_KEY
public static final String PROXY_PORT_KEY
public static final String PROXY_USERNAME_KEY
public static final String PROXY_PASSWORD_KEY
Method Detail |
public static Magic getSystem(org.apache.tools.ant.Project project)
project
- the ant project
public File getSystemDirectory()
public Repository getRepository()
public Repository getDocsRepository()
public String getGumpSignature()
public Home getHome(org.apache.tools.ant.Project project, String value)
project
- the current projectvalue
- a value used to resolve the home index if needed
protected void loadProperties(org.apache.tools.ant.Project project, File file) throws org.apache.tools.ant.BuildException
project
- the project into which properties shall be loadedfile
- the file from which properties will be loaded
org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |