Package io.apicurio.registry.cli
Class CUJsonCommand<T>
- java.lang.Object
-
- io.apicurio.registry.cli.AbstractCommand
-
- io.apicurio.registry.cli.GroupCommand
-
- io.apicurio.registry.cli.ArtifactCommand
-
- io.apicurio.registry.cli.CUCommand
-
- io.apicurio.registry.cli.CUJsonCommand<T>
-
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
UpdateMetadataCommand
,UpdateStateCommand
public abstract class CUJsonCommand<T> extends CUCommand
- Author:
- Ales Justin
-
-
Field Summary
-
Fields inherited from class io.apicurio.registry.cli.AbstractCommand
log, mapper
-
-
Constructor Summary
Constructors Constructor Description CUJsonCommand(Class<T> jsonType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
run(InputStream data)
-
Methods inherited from class io.apicurio.registry.cli.AbstractCommand
getClient, println
-
-
-
-
Method Detail
-
run
protected Object run(InputStream data) throws IOException
- Specified by:
run
in classCUCommand
- Throws:
IOException
-
-