com.atlassian.bamboo.utils
Class UnixWindowsRunnable

java.lang.Object
  extended by com.atlassian.bamboo.utils.UnixWindowsRunnable
All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Void>

public abstract class UnixWindowsRunnable
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.Void>


Constructor Summary
UnixWindowsRunnable()
           
 
Method Summary
 java.lang.Void call()
           
 void run()
           
protected abstract  void runOnUnix()
           
protected abstract  void runOnWindows()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnixWindowsRunnable

public UnixWindowsRunnable()
Method Detail

run

public void run()
         throws java.lang.Exception
Throws:
java.lang.Exception

call

public java.lang.Void call()
                    throws java.lang.Exception
Specified by:
call in interface java.util.concurrent.Callable<java.lang.Void>
Throws:
java.lang.Exception

runOnUnix

protected abstract void runOnUnix()
                           throws java.lang.Exception
Throws:
java.lang.Exception

runOnWindows

protected abstract void runOnWindows()
                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012 Atlassian. All Rights Reserved.