Class SaveModelTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.eclipse.m2m.atl.core.ant.tasks.AbstractAtlTask
org.eclipse.m2m.atl.core.ant.tasks.SaveModelTask
- All Implemented Interfaces:
Cloneable
Model saving task.
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected File
protected boolean
protected String
Fields inherited from class org.eclipse.m2m.atl.core.ant.tasks.AbstractAtlTask
DEFAULT_LAUNCHER, DEFAULT_MODEL_HANDLER, LAUNCHER_PROPERTY, OPTION_MODEL_HANDLER, OPTION_MODEL_NAME, OPTION_MODEL_PATH, OPTION_NEW_MODEL, RESULT_REFERENCE
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addConfiguredExtractor
(Extractor extractor) Adds an extractor.void
execute()
boolean
void
setDerived
(boolean isDerived) void
setFactory
(String factory) void
void
void
Methods inherited from class org.eclipse.m2m.atl.core.ant.tasks.AbstractAtlTask
error, error, getDefaultModelFactory, getLauncher, getLauncherName, init, newModel, newModel, newReferenceModel
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
setSavedFilesToDerived
protected boolean setSavedFilesToDerived -
model
-
path
-
uri
-
factory
-
-
Constructor Details
-
SaveModelTask
public SaveModelTask()
-
-
Method Details
-
isDerived
public boolean isDerived() -
setDerived
public void setDerived(boolean isDerived) -
setModel
-
setPath
-
setUri
-
getFactory
-
addConfiguredExtractor
Adds an extractor.- Parameters:
extractor
- the given extractor
-
setFactory
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
execute
in classAbstractAtlTask
- Throws:
org.apache.tools.ant.BuildException
- See Also:
-