Package com.bazaarvoice.jolt
Class TransformCliProcessor
java.lang.Object
com.bazaarvoice.jolt.TransformCliProcessor
- All Implemented Interfaces:
JoltCliProcessor
The JoltCliProcessor for Chainr. See https://github.com/bazaarvoice/jolt/blob/master/jolt-core/src/main/java/com/bazaarvoice/jolt/Chainr.java
for documentation on Chainr.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
intializeSubCommand
(net.sourceforge.argparse4j.inf.Subparsers subparsers) Initialize the arg parser for the Transform sub commandboolean
process
(net.sourceforge.argparse4j.inf.Namespace ns) Process the transform sub command
-
Field Details
-
SUPPRESS_OUTPUT
private static final boolean SUPPRESS_OUTPUT- See Also:
-
-
Constructor Details
-
TransformCliProcessor
public TransformCliProcessor()
-
-
Method Details
-
intializeSubCommand
public void intializeSubCommand(net.sourceforge.argparse4j.inf.Subparsers subparsers) Initialize the arg parser for the Transform sub command- Specified by:
intializeSubCommand
in interfaceJoltCliProcessor
- Parameters:
subparsers
- The Subparsers object to attach the new Subparser to
-
process
public boolean process(net.sourceforge.argparse4j.inf.Namespace ns) Process the transform sub command- Specified by:
process
in interfaceJoltCliProcessor
- Parameters:
ns
- Namespace which contains parsed commandline arguments- Returns:
- true if the transform is successful, false if an error occured
-