org.overlord.sramp.shell.commands.core
Class UpdateMetaDataCommand

java.lang.Object
  extended by org.overlord.sramp.shell.api.AbstractShellCommand
      extended by org.overlord.sramp.shell.commands.core.UpdateMetaDataCommand
All Implemented Interfaces:
ShellCommand

public class UpdateMetaDataCommand
extends AbstractShellCommand

Updates an artifact's meta-data in the s-ramp repository. This requires an active artifact to exist in the context, which was presumably modified in some way (updated core meta-data, properties, relationships, etc).

Author:
eric.wittmann@redhat.com

Constructor Summary
UpdateMetaDataCommand()
          Constructor.
 
Method Summary
 void execute()
           
 void printHelp()
           
 void printUsage()
           
 
Methods inherited from class org.overlord.sramp.shell.api.AbstractShellCommand
getArguments, getContext, optionalArgument, optionalArgument, print, requiredArgument, setArguments, setContext, setOutput, tabCompletion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateMetaDataCommand

public UpdateMetaDataCommand()
Constructor.

Method Detail

printUsage

public void printUsage()
See Also:
shell.ShellCommand

printHelp

public void printHelp()
See Also:
shell.ShellCommand

execute

public void execute()
             throws Exception
Throws:
Exception
See Also:
shell.ShellCommand


Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.