edu.internet2.middleware.grouper.subj
Class SourcesXmlResolver.LogLabelCallable<T>

java.lang.Object
  extended by edu.internet2.middleware.grouper.subj.SourcesXmlResolver.LogLabelCallable<T>
Type Parameters:
T -
All Implemented Interfaces:
Callable<T>
Enclosing class:
SourcesXmlResolver

public abstract static class SourcesXmlResolver.LogLabelCallable<T>
extends Object
implements Callable<T>

TODO merge this with GrouperCallable


Constructor Summary
SourcesXmlResolver.LogLabelCallable(String theLogLabel)
           
 
Method Summary
 T call()
           
abstract  T callLogic()
          Computes a result, or throws an exception if unable to do so.
 String getLogLabel()
           
 void setLogLabel(String logLabel)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourcesXmlResolver.LogLabelCallable

public SourcesXmlResolver.LogLabelCallable(String theLogLabel)
Parameters:
theLogLabel -
Method Detail

getLogLabel

public String getLogLabel()
Returns:
the logLabel

call

public final T call()
             throws Exception
Specified by:
call in interface Callable<T>
Throws:
Exception
See Also:
Callable.call()

callLogic

public abstract T callLogic()
                     throws Exception
Computes a result, or throws an exception if unable to do so.

Returns:
computed result
Throws:
Exception - if unable to compute a result

setLogLabel

public void setLogLabel(String logLabel)
Parameters:
logLabel - the logLabel to set