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

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

public abstract class UnixWindowsCallable<V>
extends Object
implements 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 Exception
Specified by:
call in interface Callable<V>
Throws:
Exception

callOnUnix

protected abstract V callOnUnix()
                         throws Exception
Throws:
Exception

callOnWindows

protected abstract V callOnWindows()
                            throws Exception
Throws:
Exception


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.