MetaBoss

com.metaboss.sdlctools.applications.anttasks.convertors
Class MetaBossToMetaBoss

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bycom.metaboss.sdlctools.applications.anttasks.MetaBossTask
              extended bycom.metaboss.sdlctools.applications.anttasks.MetaBossModelToolTask
                  extended bycom.metaboss.sdlctools.applications.anttasks.convertors.MetaBossToMetaBoss

public class MetaBossToMetaBoss
extends MetaBossModelToolTask

Special Ant task used to read MetaBoss model and save it using different storage properties. Essentialy it converts the storage model without modifying the model itself. This task extends abstract MetaBossModelToolTask and therefore suports all of its attributes. In addition it supports the following attributes:

Attribute Name Attribute Description
destinationdir The mandatory path and name of the directory where destination model should be saved to. If this directory exists, it will be emptied.


Constructor Summary
MetaBossToMetaBoss()
          Default constructor
 
Method Summary
 void runTool()
           
 void setDestinationDir(java.io.File pDestinationDir)
          The setter for the "UMLFile" attribute
 
Methods inherited from class com.metaboss.sdlctools.applications.anttasks.MetaBossModelToolTask
addConfiguredEnv, addConfiguredParam, execute, findModelElement, findModelElementsByXPath, getModelDir, getModelElement, getModelName, getModelRootPackage, getRootModelElement, setModeldir, setRef
 
Methods inherited from class com.metaboss.sdlctools.applications.anttasks.MetaBossTask
getLogger, getPath, getPathAsFileSet, init
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaBossToMetaBoss

public MetaBossToMetaBoss()
Default constructor

Method Detail

setDestinationDir

public void setDestinationDir(java.io.File pDestinationDir)
The setter for the "UMLFile" attribute


runTool

public void runTool()
             throws java.lang.Exception
Specified by:
runTool in class MetaBossModelToolTask
Throws:
java.lang.Exception

MetaBoss

Copyright © 2000-2005 Softaris Pty.Ltd. All Rights Reserved.