org.ow2.jonas.generators.wsgen
Class WsGen

java.lang.Object
  extended by org.ow2.jonas.generators.wsgen.WsGen

public class WsGen
extends Object

Main WsGen Class.

Author:
Guillaume Sauthier

Constructor Summary
WsGen()
          Private Constructor for Utility class WsGen.
 
Method Summary
 String execute(Config config, org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
          Method used by the main method and by external class to retrieve the name of the modified or created file by WsGen.
 String execute(String[] args)
          Method used by the main method and by external class to retrieve the name of the modified or created file by WsGen.
 boolean isInputModified()
           
static void main(String[] args)
          Main method.
static void usage()
          Display the usage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsGen

public WsGen()
Private Constructor for Utility class WsGen.

Method Detail

main

public static void main(String[] args)
                 throws Exception
Main method.

Parameters:
args - Commend line args
Throws:
Exception - When the execute method fails

execute

public String execute(String[] args)
               throws Exception
Method used by the main method and by external class to retrieve the name of the modified or created file by WsGen.

Parameters:
args - command line arguments
Returns:
the modified file name or the input file name if nothing has been changed
Throws:
Exception - When a failure occurs

execute

public String execute(Config config,
                      org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
               throws Exception
Method used by the main method and by external class to retrieve the name of the modified or created file by WsGen.

Parameters:
config - the given config
deployable - the current deployable
Returns:
the modified file name or the input file name if nothing has been changed
Throws:
Exception - When a failure occurs

usage

public static void usage()
Display the usage.


isInputModified

public boolean isInputModified()
Returns:
Returns the inputModified.


Copyright © 2010 OW2 Consortium. All Rights Reserved.