com.atlassian.bamboo.utils
Class UnixWindowsCallable<V>

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

public abstract class UnixWindowsCallable<V>
extends java.lang.Object
implements java.util.concurrent.Callable<V>


Constructor Summary
UnixWindowsCallable()
           
 
Method Summary
 V call()
           
protected abstract  V callOnUnix()
           
protected abstract  V callOnWindows()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnixWindowsCallable

public UnixWindowsCallable()
Method Detail

call

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

callOnUnix

protected abstract V callOnUnix()
                         throws java.lang.Exception
Throws:
java.lang.Exception

callOnWindows

protected abstract V callOnWindows()
                            throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012 Atlassian. All Rights Reserved.