Class StoolCallable

  • All Implemented Interfaces:
    java.util.concurrent.Callable<net.oneandone.sushi.launcher.Failure>

    public class StoolCallable
    extends java.lang.Object
    implements java.util.concurrent.Callable<net.oneandone.sushi.launcher.Failure>
    • Constructor Summary

      Constructors 
      Constructor Description
      StoolCallable​(net.oneandone.sushi.fs.file.FileNode stool, net.oneandone.sushi.fs.file.FileNode home, java.lang.String command, java.lang.String[] arguments, net.oneandone.stool.stage.Stage stage, java.lang.String id, net.oneandone.sushi.fs.file.FileNode logDir, java.lang.String runAs)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      net.oneandone.sushi.launcher.Failure call()  
      static StoolCallable create​(net.oneandone.sushi.fs.file.FileNode stool, net.oneandone.sushi.fs.file.FileNode home, java.lang.String id, net.oneandone.sushi.fs.file.FileNode logs, net.oneandone.stool.stage.Stage stage, java.lang.String unauthenticatedUser, java.lang.String command, java.lang.String... arguments)  
      • Methods inherited from class java.lang.Object

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

      • StoolCallable

        public StoolCallable​(net.oneandone.sushi.fs.file.FileNode stool,
                             net.oneandone.sushi.fs.file.FileNode home,
                             java.lang.String command,
                             java.lang.String[] arguments,
                             net.oneandone.stool.stage.Stage stage,
                             java.lang.String id,
                             net.oneandone.sushi.fs.file.FileNode logDir,
                             java.lang.String runAs)
    • Method Detail

      • create

        public static StoolCallable create​(net.oneandone.sushi.fs.file.FileNode stool,
                                           net.oneandone.sushi.fs.file.FileNode home,
                                           java.lang.String id,
                                           net.oneandone.sushi.fs.file.FileNode logs,
                                           net.oneandone.stool.stage.Stage stage,
                                           java.lang.String unauthenticatedUser,
                                           java.lang.String command,
                                           java.lang.String... arguments)
      • call

        public net.oneandone.sushi.launcher.Failure call()
                                                  throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<net.oneandone.sushi.launcher.Failure>
        Throws:
        java.lang.Exception