public class AnakiaTask.Context extends Object
Constructor and Description |
---|
Context()
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
org.jdom.Document |
getContextDocument()
Retrieve the context document object.
|
long |
getLastModified()
Retrieve the time the source file was last modified.
|
String |
getName()
Get the name of the context.
|
void |
setFile(String file)
Build the context based on a file path.
|
void |
setName(String name)
Set the name of the context.
|
public String getName()
public void setName(String name)
name
- IllegalArgumentException
- if a reserved word is used as a
name, specifically any of "relativePath", "treeWalk", "xpath",
"escape", "date", or "project"public void setFile(String file)
file
- public long getLastModified()
public org.jdom.Document getContextDocument()
Copyright © 2000–2017. All rights reserved.