Package com.mapr.cli.common
Class FileclientRun
- java.lang.Object
-
- com.mapr.cli.common.FileclientRun
-
public abstract class FileclientRun extends java.lang.ObjectA util class to be used for anything FileClient related At the moment only has a handler for impersonation to use, instantiate the class and override the runAsProxyUser method. The method overridden in runAsProxyUser will be called using impersonation
-
-
Constructor Summary
Constructors Constructor Description FileclientRun(java.lang.String user)Constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidrunAsProxyUser()
-
-
-
Constructor Detail
-
FileclientRun
public FileclientRun(java.lang.String user) throws com.mapr.cliframework.base.CLIProcessingException, java.io.IOExceptionConstructor- Parameters:
user- The user to run runAsProxyUser method as- Throws:
com.mapr.cliframework.base.CLIProcessingExceptionjava.io.IOException
-
-