org.objectweb.dsrg.sofa.cushion
Class RepositoryDumpAction
java.lang.Object
org.objectweb.dsrg.sofa.cushion.RepositoryDumpAction
- All Implemented Interfaces:
- ActionInterface
public class RepositoryDumpAction
- extends java.lang.Object
- implements ActionInterface
Repository dump action. Stores the contents of the whole repository into one
file. It's meant to ease subsequent model-to-model transformations by
canceling the dependency on the repository.
- Author:
- Tomas Bures
Method Summary |
int |
perform(java.lang.String[] argv,
java.io.PrintStream out)
Perform repository dump. |
void |
printHelp(java.lang.StringBuffer msg)
Prints help. |
void |
printUsage(java.lang.StringBuffer msg)
Prints usage. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryDumpAction
public RepositoryDumpAction()
perform
public int perform(java.lang.String[] argv,
java.io.PrintStream out)
- Perform repository dump.
- Specified by:
perform
in interface ActionInterface
- Parameters:
argv
- Arguments.out
- Output stream.
printHelp
public void printHelp(java.lang.StringBuffer msg)
- Prints help.
- Specified by:
printHelp
in interface ActionInterface
- Parameters:
msg
- buffer to which help message is printed- See Also:
ActionInterface.printHelp(StringBuffer)
printUsage
public void printUsage(java.lang.StringBuffer msg)
- Prints usage.
- Specified by:
printUsage
in interface ActionInterface
- Parameters:
msg
- buffer to which help message is printed- See Also:
ActionInterface.printUsage(StringBuffer)