|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.openanzo.jastor.ant.JastorTask
public class JastorTask
| Constructor Summary | |
|---|---|
JastorTask()
|
|
| Method Summary | |
|---|---|
void |
addBaseTypes(BaseTypesElement baseTypeElement)
Add a BaseTypesElement to this task |
void |
addCustomThing(CustomThingElement thing)
Add a custom thing to this task |
void |
addOntology(OntologyElement ont)
Add an ontologyElement to this task |
void |
addPrefix(PrefixElement tmp)
Add a prefix element to this task |
void |
addTemplate(TemplateElement tmp)
Add template to this task |
void |
execute()
|
BaseTypesElement |
getBaseTypes()
Get the base types for this task |
CustomThingElement |
getCustomThing()
Get the custom thing for this task |
java.io.File |
getDestdir()
Get the destination directory for this task |
java.util.List<OntologyElement> |
getOntologies()
Get the OntologyElements for this task |
boolean |
isAddAllRDFTypesInHierarchy()
Get if all RDF types should be added to a classes hierarchy |
boolean |
isGenerateCacheInFactory()
Return true if a cache should be created in the factory |
boolean |
isGenerateListeners()
Return true if listeners should be generated for the jastor objects |
boolean |
isGeneratePropertyCache()
Return true if there should be property caches for the jastor objects |
boolean |
isGenerateStandardCode()
Get if task should generate standard code |
boolean |
isGenerateVocublaryOnly()
Return true if the jastor objects should only be vocabulary files |
boolean |
isThingExtendsResource()
Get if Thing should extend Resource |
boolean |
isUseEntireURIForIdentifiers()
Get if this task should use the entire URI for identifiers |
boolean |
isUsePackageNamesForRestrictedRanges()
Get if this task should use package names for restricted ranges |
boolean |
isUseStrictTypeChecking()
Get if this task should use strict type checking |
boolean |
isUseTypedLiterals()
Get if task should use typed literals |
void |
setAddAllRDFTypesInHierarchy(boolean addAllRDFTypesInHierarchy)
Set if all RDF types should be added to a classes hierarchy |
void |
setDestdir(java.io.File destdir)
Set the destination directory for this task |
void |
setGenerateCacheInFactory(boolean generateCacheInFactory)
Set if a cache should be created in the factory |
void |
setGenerateListeners(boolean generateListeners)
Set if listeners should be generated for the jastor objects |
void |
setGeneratePropertyCache(boolean generatePropertyCache)
Set if there should be property caches |
void |
setGenerateStandardCode(boolean generateStandardCode)
Set if task should generate standard code |
void |
setGenerateVocublaryOnly(boolean generateVocublaryOnly)
Set if the jastor objects should only be vocabulary files |
void |
setOntologies(java.util.List<OntologyElement> ontologies)
Set the OntologyElements for this task |
void |
setThingExtendsResource(boolean thingExtendsResource)
Set if Thing should extend Resource |
void |
setUseEntireURIForIdentifiers(boolean useEntireURIForIdentifiers)
Set if this task should use the entire URI for identifiers |
void |
setUsePackageNamesForRestrictedRanges(boolean usePackageNamesForRestrictedRanges)
Set if this task should use package names for restricted ranges |
void |
setUseStrictTypeChecking(boolean useStrictTypeChecking)
Set if this task should use strict type checking |
void |
setUseTypedLiterals(boolean useTypedLiterals)
Set if task should use typed literals |
| Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JastorTask()
| Method Detail |
|---|
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic java.io.File getDestdir()
public void setDestdir(java.io.File destdir)
destdir - the destination directory for this taskpublic boolean isGenerateCacheInFactory()
public void setGenerateCacheInFactory(boolean generateCacheInFactory)
generateCacheInFactory - set if a cache should be created in the factorypublic boolean isGenerateListeners()
public void setGenerateListeners(boolean generateListeners)
generateListeners - set if listeners should be generated for the jastor objectspublic boolean isGeneratePropertyCache()
public void setGeneratePropertyCache(boolean generatePropertyCache)
generatePropertyCache - set if there should be property cachespublic boolean isGenerateVocublaryOnly()
public void setGenerateVocublaryOnly(boolean generateVocublaryOnly)
generateVocublaryOnly - set the jastor objects should only be vocabulary filespublic java.util.List<OntologyElement> getOntologies()
public void setOntologies(java.util.List<OntologyElement> ontologies)
ontologies - OntologyElements for this task
public CustomThingElement getCustomThing()
throws JastorException
JastorException
public BaseTypesElement getBaseTypes()
throws JastorException
JastorExceptionpublic boolean isUseEntireURIForIdentifiers()
public void setUseEntireURIForIdentifiers(boolean useEntireURIForIdentifiers)
useEntireURIForIdentifiers - set if this task should use the entire URI for identifierspublic boolean isUsePackageNamesForRestrictedRanges()
public void setUsePackageNamesForRestrictedRanges(boolean usePackageNamesForRestrictedRanges)
usePackageNamesForRestrictedRanges - set if this task should use package names for restricted rangespublic boolean isUseStrictTypeChecking()
public void setUseStrictTypeChecking(boolean useStrictTypeChecking)
useStrictTypeChecking - set if this task should use strict type checkingpublic boolean isThingExtendsResource()
public void setThingExtendsResource(boolean thingExtendsResource)
thingExtendsResource - public boolean isGenerateStandardCode()
public void setGenerateStandardCode(boolean generateStandardCode)
generateStandardCode - set if task should generate standard codepublic boolean isUseTypedLiterals()
public void setUseTypedLiterals(boolean useTypedLiterals)
useTypedLiterals - set if task should use typed literalspublic boolean isAddAllRDFTypesInHierarchy()
public void setAddAllRDFTypesInHierarchy(boolean addAllRDFTypesInHierarchy)
addAllRDFTypesInHierarchy - set if all RDF types should be added to a classes hierarchypublic void addOntology(OntologyElement ont)
ont - an ontologyElement to this taskpublic void addCustomThing(CustomThingElement thing)
thing - a custom thing to this taskpublic void addTemplate(TemplateElement tmp)
tmp - template to add to this taskpublic void addPrefix(PrefixElement tmp)
tmp - a prefix element to this taskpublic void addBaseTypes(BaseTypesElement baseTypeElement)
baseTypeElement - baseTypeElement to add to this task
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||