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:
java.util.concurrent.Callable<T>
Enclosing class:
SourcesXmlResolver

public abstract static class SourcesXmlResolver.LogLabelCallable<T>
extends java.lang.Object
implements java.util.concurrent.Callable<T>

TODO merge this with GrouperCallable


Constructor Summary
SourcesXmlResolver.LogLabelCallable(java.lang.String theLogLabel)
           
 
Method Summary
 T call()
           
abstract  T callLogic()
          Computes a result, or throws an exception if unable to do so.
 java.lang.String getLogLabel()
           
 void setLogLabel(java.lang.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(java.lang.String theLogLabel)
Parameters:
theLogLabel -
Method Detail

getLogLabel

public java.lang.String getLogLabel()
Returns:
the logLabel

call

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

callLogic

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

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

setLogLabel

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