package com.l7tech.server.module;

import com.l7tech.gateway.common.module.ServerModuleFile;
import com.l7tech.objectmodel.FindException;
import com.l7tech.util.Either;
import com.l7tech.util.Functions.Nullary;
import java.util.Collection;

class h implements Nullary<Either<FindException, Collection<ServerModuleFile>>> {
   final ServerModuleFileListener this$0;

   h(ServerModuleFileListener var1) {
      this.this$0 = var1;
   }

   public Either<FindException, Collection<ServerModuleFile>> call() {
      try {
         return Either.right(this.this$0.serverModuleFileManager.findAll());
      } catch (FindException var2) {
         return Either.left(var2);
      }
   }
}
