Package org.drools.drlonyaml.cli
Class Drl2Yaml
- java.lang.Object
-
- org.drools.drlonyaml.cli.Drl2Yaml
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
public class Drl2Yaml extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Integer>Note: beyond different annotations, Parameters and Options are managed per subcommand, in order to have them listed after the specific subcommand on the CLI.
-
-
Constructor Summary
Constructors Constructor Description Drl2Yaml()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integercall()static java.lang.Stringdrl2yaml(java.lang.String drl)
-
-
-
Method Detail
-
call
public java.lang.Integer call() throws java.lang.Exception- Specified by:
callin interfacejava.util.concurrent.Callable<java.lang.Integer>- Throws:
java.lang.Exception
-
drl2yaml
public static java.lang.String drl2yaml(java.lang.String drl) throws java.lang.Exception- Throws:
java.lang.Exception
-
-