|
||||||||||
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.jomc.ant.JomcTask
org.jomc.ant.JomcModelTask
org.jomc.ant.JomcToolTask
org.jomc.ant.ClassFileProcessorTask
org.jomc.ant.CommitClassesTask
public final class CommitClassesTask
Task for committing model objects to class files.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
CommitClassesTask()
Creates a new CommitClassesTask instance. |
Method Summary | |
---|---|
CommitClassesTask |
clone()
Creates and returns a copy of this object. |
TransformerResourceType |
createModelObjectStylesheetResource()
Creates a new modelObjectStylesheetResource element instance. |
File |
getClassesDirectory()
Gets the directory holding the class files to commit model objects to. |
List<TransformerResourceType> |
getModelObjectStylesheetResources()
Gets the XSLT documents to use for transforming model objects. |
void |
preExecuteTask()
Called by the execute method prior to the executeTask method. |
void |
processClassFiles()
Commits model objects to class files. |
void |
setClassesDirectory(File value)
Sets the directory holding the class files to commit model objects to. |
Methods inherited from class org.jomc.ant.ClassFileProcessorTask |
---|
configureClassFileProcessor, executeTask, getClassFileProcessorClass, isClassProcessingEnabled, newClassFileProcessor, setClassFileProcessorClass, setClassProcessingEnabled |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommitClassesTask()
CommitClassesTask
instance.
Method Detail |
---|
public File getClassesDirectory()
null
.setClassesDirectory(java.io.File)
public void setClassesDirectory(File value)
value
- The new directory holding the class files to commit model objects to or null
.getClassesDirectory()
public List<TransformerResourceType> getModelObjectStylesheetResources()
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make
to the returned list will be present inside the object. This is why there is no set
method for the
model object stylesheet resources property.
createModelObjectStylesheetResource()
public TransformerResourceType createModelObjectStylesheetResource()
modelObjectStylesheetResource
element instance.
modelObjectStylesheetResource
element instance.getModelObjectStylesheetResources()
public void preExecuteTask() throws org.apache.tools.ant.BuildException
execute
method prior to the executeTask
method.
preExecuteTask
in class JomcToolTask
org.apache.tools.ant.BuildException
- if execution fails.JomcTask.execute()
public void processClassFiles() throws org.apache.tools.ant.BuildException
processClassFiles
in class ClassFileProcessorTask
org.apache.tools.ant.BuildException
- if committing model objects fails.ClassFileProcessorTask.executeTask()
public CommitClassesTask clone()
clone
in class ClassFileProcessorTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |