public class AnakiaTask.Context
extends java.lang.Object
| 构造器和说明 |
|---|
Context()
Public constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.jdom.Document |
getContextDocument()
Retrieve the context document object.
|
long |
getLastModified()
Retrieve the time the source file was last modified.
|
java.lang.String |
getName()
Get the name of the context.
|
void |
setFile(java.lang.String file)
Build the context based on a file path.
|
void |
setName(java.lang.String name)
Set the name of the context.
|
public java.lang.String getName()
public void setName(java.lang.String name)
name - java.lang.IllegalArgumentException - if a reserved word is used as a
name, specifically any of "relativePath", "treeWalk", "xpath",
"escape", "date", or "project"public void setFile(java.lang.String file)
file - public long getLastModified()
public org.jdom.Document getContextDocument()