Class SourcesXmlResolver.LogLabelCallable<T>

java.lang.Object
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 Details

    • LogLabelCallable

      public LogLabelCallable(String theLogLabel)
      Parameters:
      theLogLabel -
  • Method Details

    • 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:
    • 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