Class FileclientRun


  • public abstract class FileclientRun
    extends java.lang.Object
    A 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 void runAsProxyUser()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileclientRun

        public FileclientRun​(java.lang.String user)
                      throws com.mapr.cliframework.base.CLIProcessingException,
                             java.io.IOException
        Constructor
        Parameters:
        user - The user to run runAsProxyUser method as
        Throws:
        com.mapr.cliframework.base.CLIProcessingException
        java.io.IOException
    • Method Detail

      • runAsProxyUser

        public abstract void runAsProxyUser()
                                     throws com.mapr.cliframework.base.CLIProcessingException,
                                            java.io.IOException
        Throws:
        com.mapr.cliframework.base.CLIProcessingException
        java.io.IOException