Class SecurityLevelsWorker

  • All Implemented Interfaces:
    java.lang.Runnable, java.util.concurrent.Future<com.google.common.collect.ImmutableCollection<SecurityLevelConfig>>, java.util.concurrent.RunnableFuture<com.google.common.collect.ImmutableCollection<SecurityLevelConfig>>

    public class SecurityLevelsWorker
    extends javax.swing.SwingWorker<com.google.common.collect.ImmutableCollection<SecurityLevelConfig>,​java.lang.Object>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.SwingWorker

        javax.swing.SwingWorker.StateValue
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.google.common.collect.ImmutableCollection<SecurityLevelConfig> doInBackground()  
      protected void done()  
      • Methods inherited from class javax.swing.SwingWorker

        addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecurityLevelsWorker

        public SecurityLevelsWorker​(@Nonnull
                                    PerspectiveModuleRpc rpc,
                                    @Nonnull
                                    java.util.function.Consumer<com.google.common.collect.ImmutableCollection<SecurityLevelConfig>> consumer)
    • Method Detail

      • doInBackground

        protected com.google.common.collect.ImmutableCollection<SecurityLevelConfig> doInBackground()
        Specified by:
        doInBackground in class javax.swing.SwingWorker<com.google.common.collect.ImmutableCollection<SecurityLevelConfig>,​java.lang.Object>
      • done

        protected void done()
        Overrides:
        done in class javax.swing.SwingWorker<com.google.common.collect.ImmutableCollection<SecurityLevelConfig>,​java.lang.Object>