Package org.drools.drlonyaml.cli
Class Yaml2Drl
- java.lang.Object
-
- org.drools.drlonyaml.cli.Yaml2Drl
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
public class Yaml2Drl 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 Yaml2Drl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integercall()static java.lang.Stringyaml2drl(java.lang.String yaml)
-
-
-
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
-
yaml2drl
public static java.lang.String yaml2drl(java.lang.String yaml) throws java.lang.Exception- Throws:
java.lang.Exception
-
-